diff --git a/htdocs/compta/bank/annuel.php b/htdocs/compta/bank/annuel.php index 28ad1b8081d..2f2d5bad823 100644 --- a/htdocs/compta/bank/annuel.php +++ b/htdocs/compta/bank/annuel.php @@ -76,8 +76,6 @@ if (!$year_start) { */ $error = 0; -$form = new Form($db); - // Get account information $object = new Account($db); if ($id > 0 && !preg_match('/,/', $id)) { // if for a particular account and not a list @@ -186,7 +184,7 @@ if (!empty($id)) { print dol_get_fiche_end(); $head = bank_report_prepare_head($object); -print dol_get_fiche_head($head, 'annual', $langs->trans("FinancialAccount"), 0); +print dol_get_fiche_head($head, 'annual', $langs->trans("FinancialAccount"), -1); // Affiche tableau print load_fiche_titre('', $link, ''); @@ -194,16 +192,16 @@ print load_fiche_titre('', $link, ''); print '
'; // You can use div-table-responsive-no-min if you don't need reserved height for your table print ''; -print ''; +print ''; for ($annee = $year_start; $annee <= $year_end; $annee++) { print ''; } print ''; print ''; -print ''; +print ''; for ($annee = $year_start; $annee <= $year_end; $annee++) { - print ''; + print ''; } print ''; @@ -214,7 +212,7 @@ for ($annee = $year_start; $annee <= $year_end; $annee++) { for ($mois = 1; $mois < 13; $mois++) { print ''; - print ""; + print '"; for ($annee = $year_start; $annee <= $year_end; $annee++) { $case = sprintf("%04d-%02d", $annee, $mois); @@ -237,10 +235,10 @@ for ($mois = 1; $mois < 13; $mois++) { } // Total debit-credit -print '"; +print '"; for ($annee = $year_start; $annee <= $year_end; $annee++) { - print ''; - print ''; + print ''; + print ''; } print "\n";
'.$langs->trans("Month").'
'.$langs->trans("Month").''.$annee.'
  '.$langs->trans("Debit").''.$langs->trans("Credit").''.$langs->trans("Debit").''.$langs->trans("Credit").'
".dol_print_date(dol_mktime(1, 1, 1, $mois, 1, 2000), "%B")."'.dol_print_date(dol_mktime(1, 1, 1, $mois, 1, 2000), "%B")."
'.$langs->trans("Total")."
'.$langs->trans("Total")."'. (isset($totsorties[$annee]) ? price($totsorties[$annee]) : '') .''. (isset($totentrees[$annee]) ? price($totentrees[$annee]) : '') .''. (isset($totsorties[$annee]) ? price($totsorties[$annee]) : '') .''. (isset($totentrees[$annee]) ? price($totentrees[$annee]) : '') .'