diff --git a/html/access.php b/html/access.php index e72966d71..019b3f593 100644 --- a/html/access.php +++ b/html/access.php @@ -36,7 +36,8 @@ require_once('class_todo_list.php'); require_once("class_itextarea.php"); require_once('class_calendar.php'); require_once('class_acc_ledger.php'); - +require_once('function_javascript.php'); +load_all_script(); $cn=new Database(dossier::id()); $user=new User($cn); $user->Check(); @@ -91,9 +92,6 @@ echo '
'; echo menu_tool('access.php'); echo '
'; echo '
'; -echo JS_TODO; -echo js_include('prototype.js'); -echo js_include('infobulle.js'); /* others report */ $cal=new Calendar(); diff --git a/include/class_acc_ledger.php b/include/class_acc_ledger.php index c7292afe0..5caee9359 100644 --- a/include/class_acc_ledger.php +++ b/include/class_acc_ledger.php @@ -2321,7 +2321,7 @@ function get_last_date() $user=new User($this->db); $filter_ledger=$user->get_ledger_sql('ALL',3); $filter_ledger=str_replace('jrn_def_id','jr_def_id',$filter_ledger); - $sql="select jr_date,to_char(jr_date,'DD.MM.YYYY') as jr_date_fmt,jr_montant, jr_comment,jr_internal from jrn ". + $sql="select jr_id,jr_date,to_char(jr_date,'DD.MM.YYYY') as jr_date_fmt,jr_montant, jr_comment,jr_internal from jrn ". " where $filter_ledger ". " order by jr_date desc limit $p_limit"; $array=$this->db->get_array($sql); diff --git a/include/class_html_input.php b/include/class_html_input.php index bc6b25c28..7ea72ebf9 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -220,5 +220,11 @@ echo $string => {'prop':'1','prop2':'2','prop3':'3'}; $r='XX'; return $r; } - + /** + * return a string containing the html code for calling the modifyOperation + */ + static function detail_op($p_jr_id,$p_mesg) { + return sprintf('%s', + $p_jr_id,dossier::id(),$p_mesg); + } } diff --git a/include/template/dashboard.php b/include/template/dashboard.php index e2dc74b95..a69946708 100644 --- a/include/template/dashboard.php +++ b/include/template/dashboard.php @@ -137,7 +137,7 @@ for($i=0;$i - + diff --git a/release-note b/release-note index 064f420d0..ed7ae915f 100644 --- a/release-note +++ b/release-note @@ -20,6 +20,7 @@ Conséquence : réécriture de code, correction modop, ... commence à 10000, afin de ne pas mélanger les attributs que je créé avec ceux des utilisateurs. A ajouter dans la doc comme exemple pour la gestion d'abonnés dont on peut tirer un CSV par impression -> catégorie -> résume 18. Impression - Rapprochement 19. TODO21 Dans DIV HTML donner le code de la TVA dans les détails VEN et ACH +20. TODO20 DIV HTML dans le tableau de bord TODO18 Rapprochement doivent avoir les journaux + sécurité @@ -47,4 +48,3 @@ et les numériques -TODO20 DIV HTML dans le tableau de bord \ No newline at end of file