From 449b59e69261adbdb78116b4af7b8ce8a5c4bbfd Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 18 Dec 2011 19:02:47 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20=20quand=20corrige=20dans=20journal=20fin?= =?UTF-8?q?ancier,=20la=20date=20et=20les=20soldes=20sont=20recalcul=C3=A9?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/compta_fin.inc.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/compta_fin.inc.php b/include/compta_fin.inc.php index 67352821d..de1c2853e 100644 --- a/include/compta_fin.inc.php +++ b/include/compta_fin.inc.php @@ -142,8 +142,9 @@ echo HtmlInput::button('add_item',_('Ajout article'), ' onClick="ledger_fin_ad echo HtmlInput::submit('save',_('Sauve')); echo HtmlInput::reset(_('Effacer')); -echo create_script(" get_last_date();ajax_saldo('first_sold');"); -exit(); - +if ( ! isset ($_POST['e_date']) ) +{ + echo create_script(" get_last_date();ajax_saldo('first_sold');"); +} exit(); \ No newline at end of file