[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 149/323: Fix : duplicate id (exercice)
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 149/323: Fix : duplicate id (exercice) |
Date: |
Wed, 14 Mar 2018 17:38:41 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit ed9a886bc2e2065b70ad12a0f0020fd3537a4b29
Author: Dany De Bontridder <address@hidden>
Date: Wed Feb 7 22:34:23 2018 +0100
Fix : duplicate id (exercice)
---
html/js/scripts.js | 7 +++++--
include/ajax/ajax_preference.php | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/html/js/scripts.js b/html/js/scripts.js
index 027e8a4..2bc7159 100644
--- a/html/js/scripts.js
+++ b/html/js/scripts.js
@@ -3479,9 +3479,12 @@ function progress_bar_check(p_idx, p_taskid)
}
}
-
+/**
+ * In the user's setting box, update the period list with the choosen exercice
+ * @param {int} p_dossier
+ */
function updatePeriodePreference(p_dossier)
{
- var exercice=$('exercice').value;
+ var exercice=$('exercice_setting').value;
new
Ajax.Updater('setting_period',"ajax_misc.php",{method:"get",parameters:{
"op":"pref_exercice","gDossier":p_dossier,"exercice":exercice}});
}
\ No newline at end of file
diff --git a/include/ajax/ajax_preference.php b/include/ajax/ajax_preference.php
index f2d1aac..07f62bf 100644
--- a/include/ajax/ajax_preference.php
+++ b/include/ajax/ajax_preference.php
@@ -131,7 +131,7 @@ if (isset($_REQUEST['gDossier']) &&
$_REQUEST['gDossier']<>0)
<?=_("Exercice")?>
</td>
<td>
-
<?=$exercice->select("exercice",$selected_exercice,$js)->input();?>
+
<?=$exercice->select("exercice_setting",$selected_exercice,$js)->input();?>
</td>
</tr>
<tr>
- [Noalyss-commit] [noalyss] 134/323: Bug : cannot update payment, (continued)
- [Noalyss-commit] [noalyss] 134/323: Bug : cannot update payment, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 135/323: CSS : cosmetic menu, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 138/323: CSS : reduce height menu, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 137/323: SQL upgrate : problem with sequence bilan, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 136/323: SQL upgrate : drop trigger before update, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 139/323: Bug : ANC ND VAT not computed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 141/323: Set version, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 144/323: merge rel6919.9, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 140/323: Bug : ANC ND VAT not computed, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 142/323: set version, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 149/323: Fix : duplicate id (exercice),
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 143/323: set version, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 148/323: Fix : ajax_history : history of accounting , exercice was not set, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 150/323: Fix : PRINTJRN export CSV $Jrn used before created, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 153/323: FIX : PRINTJRN, ledger PDF, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 152/323: FIX : PRINTJRN, ledger, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 151/323: CSS : improve classic7, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 156/323: Improve : Exercice suivit par mois puis année, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 147/323: Logo : install / index, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 65/323: Task #0001530: Réécriture PRINTJRN, Base + Sale, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 155/323: Improve : last exercice in first place, Dany De Bontridder, 2018/03/14