Author: danydb
Date: 2014-02-08 14:48:48 +0100 (Sat, 08 Feb 2014)
New Revision: 702
Modified:
trunk/transform/include/intervat_listing_assujetti_step_2.inc.php
Log:
Bug in compute + message periode, input method
Modified: trunk/transform/include/intervat_listing_assujetti_step_2.inc.php
===================================================================
--- trunk/transform/include/intervat_listing_assujetti_step_2.inc.php
2014-02-08 13:42:41 UTC (rev 701)
+++ trunk/transform/include/intervat_listing_assujetti_step_2.inc.php
2014-02-08 13:48:48 UTC (rev 702)
@@ -149,6 +149,7 @@
$cn->rollback();
throw new Exception(_('Ne peut pas ajouter ') .
h($o_data[$i]->c_name) . '-' . h($o_data[$i]->c_vatnumber), 3);
}
+ $input_msg=_('Par fichier');
}
}
//******************************************************************************
@@ -187,8 +188,10 @@
join f_tvanum on (qs_client=f_tvanum.f_id);
";
+ $input_msg=_('Par calcul : date opération');
} elseif ($compute_date == 1) //------ Payment date ----------------
{
+ $input_msg=_('Par calcul : date paiement');
$sql = "
with c as
(select qs_client,
@@ -258,7 +261,7 @@
throw new Exception(_('Ne peut pas ajouter ') . h($o_data[$i]->c_name)
. '-' . h($o_data[$i]->c_vatnumber), 3);
}
}
-
+$input_msg .= " ".sprintf(_('période %s entre [%s] et
[%s]'),$year,$start_date,$end_date);
?>
<h2> <?php echo _('Etape 2/3') ?></h2>
<h3><?php echo _('Mandataire'); ?></h3>
@@ -269,6 +272,9 @@
<?php
$declarant->display();
?>
+<h3>
+ <?php echo $input_msg;?>
+</h3>
<p>
<?php
$a_listing = new Intervat_Client_SQL;
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev