[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 81/323: task #1531: Historique poste et fich
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 81/323: task #1531: Historique poste et fiche d'après exercice opération Fait aussi pour le bouton historique |
Date: |
Wed, 14 Mar 2018 17:38:27 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit ae33c4d8c46fdfc5060d24503fd473ce2ee2f296
Author: Dany De Bontridder <address@hidden>
Date: Wed Jan 24 19:25:23 2018 +0100
task #1531: Historique poste et fiche d'après exercice opération
Fait aussi pour le bouton historique
---
include/lib/html_input.class.php | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/include/lib/html_input.class.php b/include/lib/html_input.class.php
index a6fbe21..f7a0e1a 100755
--- a/include/lib/html_input.class.php
+++ b/include/lib/html_input.class.php
@@ -322,12 +322,16 @@ class HtmlInput
/**
* display a div with the history of the card
*/
- static function history_card_button($f_id, $p_mesg)
+ static function history_card_button($f_id, $p_mesg,$p_exercice="")
{
static $e=0;
$e++;
- $js=sprintf('onclick="view_history_card(\'%s\',\'%s\')"', $f_id,
- dossier::id());
+ global $g_user;
+ if ( $p_exercice=="") {
+ $p_exercice=$g_user->get_exercice();
+ }
+ $js=sprintf('onclick="view_history_card(\'%s\',\'%s\',\'%s\')"', $f_id,
+ dossier::id(),$p_exercice);
$view_history=HtmlInput::button("hcb"+$e, $p_mesg, $js);
return $view_history;
}
- [Noalyss-commit] [noalyss] 71/323: task #1531: Historique poste et fiche d'après exercice opération, (continued)
- [Noalyss-commit] [noalyss] 71/323: task #1531: Historique poste et fiche d'après exercice opération, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 83/323: Esthétique Recherche action, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 68/323: Task #0001530: Réécriture PRINTJRN Add Financial Ledger Adapt test file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 61/323: Fix some issues with PRINTJRN, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 79/323: before deleting a card , check if it is not used as an attribute in another card, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 04/323: Improve Doxygen documentation, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 60/323: remove deprecated theme, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 56/323: Task #0001527: Effacement du champ code fiche : bouton, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 43/323: Rewriting Change class Own by Noalyss_Parameter_Folder, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 84/323: Doc, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 81/323: task #1531: Historique poste et fiche d'après exercice opération Fait aussi pour le bouton historique,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 85/323: cosmetique, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 82/323: Esthétique Recherche action, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 88/323: comment, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 93/323: Predefined operation fix cosmetic, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 90/323: Icon_Action replace image by fontello, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 89/323: task #0001533: Possibilité d'activer ou désactiver des étiquettes Cache ou montre les tags inactifs dans recherche, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 52/323: Task #1457 & 1281 : operation ouverture séparée, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 74/323: Task #0001530: Réécriture PRINTJRN : export CSV, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 95/323: git bug created by the merge, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 99/323: correct bug created by the merge, Dany De Bontridder, 2018/03/14