task #0000846: Voir les factures à encaisser ou à payer en retard dans le tableau de bord

This commit is contained in:
Dany De Bontridder 2013-05-19 18:59:29 +00:00
parent f4782b7bf7
commit f6e3a31f7d
4 changed files with 269 additions and 33 deletions

View file

@ -22,10 +22,19 @@ $cal->get_preference();
$Operation=new Follow_Up($cn);
$last_operation=$Operation->get_today();
$late_operation=$Operation->get_late();
$Ledger=new Acc_Ledger($cn,0);
$last_ledger=array();
$last_ledger=$Ledger->get_last(20);
// Supplier late and now
$supplier_now=$Ledger->get_supplier_now();
$supplier_late=$Ledger->get_supplier_late();
// Customer late and now
$customer_now=$Ledger->get_customer_now();
$customer_late=$Ledger->get_customer_late();
ob_start();
require_once('template/dashboard.php');
$ret=ob_get_contents();