diff --git a/include/balance_card_ageing.inc.php b/include/balance_card_ageing.inc.php index 218b6d7ba..9a657183e 100644 --- a/include/balance_card_ageing.inc.php +++ b/include/balance_card_ageing.inc.php @@ -25,22 +25,37 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); * @brief Aged Balance for card *@see Balance_Age */ +require_once NOALYSS_INCLUDE.'/class/fiche.class.php'; require_once NOALYSS_INCLUDE.'/class/exercice.class.php'; +require_once NOALYSS_INCLUDE.'/class/periode.class.php'; require_once NOALYSS_INCLUDE.'/class/balance_age.class.php'; $let=( isset ($_GET['p_let']))?'let':'unlet'; +// f_id +$f_id=$http->get('f_id',"number"); + +// Default date +$periode_user=$g_user->get_periode(); +$periode=new Periode($cn,$periode_user); +$default_date=$periode->first_day(); + +// Input date +$idate=new IDate("date_balag"); +$idate->value=$http->get("date_balag","date",$default_date); + $export_csv = '
'; ?> @@ -48,9 +63,9 @@ $export_csv.=''; echo '