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 '
| '.$langs->trans("Month").' | '; +print '|||||
| '.$langs->trans("Month").' | '; for ($annee = $year_start; $annee <= $year_end; $annee++) { print ''.$annee.' | '; } print '||||
| '; +print ' | '; for ($annee = $year_start; $annee <= $year_end; $annee++) { - print ' | '.$langs->trans("Debit").' | '.$langs->trans("Credit").' | '; + print ''.$langs->trans("Debit").' | '.$langs->trans("Credit").' | '; } print '
| ".dol_print_date(dol_mktime(1, 1, 1, $mois, 1, 2000), "%B")." | "; + print ''.dol_print_date(dol_mktime(1, 1, 1, $mois, 1, 2000), "%B")." | "; 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 '||||
| '.$langs->trans("Total")." | "; +print '|||||
| '.$langs->trans("Total")." | "; for ($annee = $year_start; $annee <= $year_end; $annee++) { - print ''. (isset($totsorties[$annee]) ? price($totsorties[$annee]) : '') .' | '; - print ''. (isset($totentrees[$annee]) ? price($totentrees[$annee]) : '') .' | '; + print ''. (isset($totsorties[$annee]) ? price($totsorties[$annee]) : '') .' | '; + print ''. (isset($totentrees[$annee]) ? price($totentrees[$annee]) : '') .' | '; } print "|