Author: danydb
Date: 2011-12-18 20:07:56 +0100 (Sun, 18 Dec 2011)
New Revision: 4621
Modified:
phpcompta/trunk/include/compta_ven.inc.php
Log:
Bug : quand corrige, perd les valeurs donn?\195?\169es pour la date et la pj
Modified: phpcompta/trunk/include/compta_ven.inc.php
===================================================================
--- phpcompta/trunk/include/compta_ven.inc.php 2011-12-18 19:02:47 UTC (rev
4620)
+++ phpcompta/trunk/include/compta_ven.inc.php 2011-12-18 19:07:56 UTC (rev
4621)
@@ -251,7 +251,7 @@
/* if we suggest the pj n# the run the script */
if ( $g_parameter->MY_PJ_SUGGEST=='Y')
{
- echo '<script> update_pj();get_last_date()</script>';
+ if ( ! isset($_POST['e_date'])) echo '<script>
update_pj();get_last_date()</script>';
}
exit();
_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev