diff --git a/htdocs/compta/caisse/index.php b/htdocs/compta/caisse/index.php index dc651e0825d..34cdbfade94 100644 --- a/htdocs/compta/caisse/index.php +++ b/htdocs/compta/caisse/index.php @@ -51,7 +51,7 @@ $time = mktime(12,0,0,$mois, 1, $annee); $titre_mois = strftime("%B %Y", $time); -print_titre("Caisse $titre_mois"); +print_fiche_titre("Journal de caisse"); $sql = "SELECT f.amount, date_format(f.datep,'%Y-%m') as dm"; $sql .= " FROM llx_paiement as f"; @@ -98,44 +98,6 @@ if ($db->query($sql)) print '
| '; -$year_current = strftime("%Y",time()); - -if ($year_current < (MAIN_START_YEAR + 2)) -{ - $year_start = MAIN_START_YEAR; - $year_end = (MAIN_START_YEAR + 2); -} -else -{ - $year_start = $year_current - 2; - $year_end = $year_current; -} - - -print ' | ||
| ".strftime("%d",mktime(1,1,1,$mois,$jour, $annee))." | "; - - - print ''; - $case = strftime("%Y-%m",mktime(1,1,1,$mois,1,$annee)); - if ($encaiss[$case]>0) - { - print price($encaiss[$case]); - } - print " | "; - - print ''; - $case = strftime("%Y-%m",mktime(1,1,1,$mois,1,$annee)); - if ($decaiss[$case]>0) - { - print price($decaiss[$case]); - } - print " | "; - print '