Author: danydb
Date: 2012-09-24 22:07:04 +0200 (Mon, 24 Sep 2012)
New Revision: 411
Modified:
trunk/rapport_avance/include/class_formulaire_param_detail.php
Log:
sauve type de total
Modified: trunk/rapport_avance/include/class_formulaire_param_detail.php
===================================================================
--- trunk/rapport_avance/include/class_formulaire_param_detail.php
2012-09-22 17:49:12 UTC (rev 410)
+++ trunk/rapport_avance/include/class_formulaire_param_detail.php
2012-09-24 20:07:04 UTC (rev 411)
@@ -83,7 +83,10 @@
function display_row()
{
- printf("Poste comptable %s avec le code tva %s (%s) dans le
journal %s", $this->tmp_val, $this->tva_id, $this->tva_id, $this->jrn_def_type);
+ global $cn;
+ $type_total=$cn->get_value("select tt_label from
rapport_advanced.total_type where tt_id=$1",array($this->tt_id));
+ printf("Poste comptable %s avec le code tva %s (%s) dans le
journal %s [ %s ]",
+ $this->tmp_val, $this->tva_id, $this->tva_id,
$this->jrn_def_type,$type_total);
}
static function new_row()
---
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