phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5168 - phpcompta/tags/rel650/include/template


From: phpcompta-dev
Subject: [Phpcompta-dev] r5168 - phpcompta/tags/rel650/include/template
Date: Fri, 14 Dec 2012 19:35:47 +0100 (CET)

Author: danydb
Date: 2012-12-14 19:35:46 +0100 (Fri, 14 Dec 2012)
New Revision: 5168

Modified:
   phpcompta/tags/rel650/include/template/operation_detail_ach.php
Log:
add personal expense

Modified: phpcompta/tags/rel650/include/template/operation_detail_ach.php
===================================================================
--- phpcompta/tags/rel650/include/template/operation_detail_ach.php     
2012-12-08 22:48:30 UTC (rev 5167)
+++ phpcompta/tags/rel650/include/template/operation_detail_ach.php     
2012-12-14 18:35:46 UTC (rev 5168)
@@ -44,6 +44,7 @@
        }
        echo th(_('Prix/Un.'), 'style="text-align:right"');
        echo th(_('Quantité'), 'style="text-align:right"');
+       echo th(_('Personnel'), 'style="text-align:right"');
        echo th(_('Non ded'), 'style="text-align:right"');
 
        if ($g_parameter->MY_TVA_USE == 'Y')
@@ -82,7 +83,8 @@
                $row.=td(nbm($pu), 'class="num"');
                $row.=td(nbm($q['qp_quantite']), 'class="num"');
 
-               $no_ded = bcadd($q['qp_dep_priv'], $q['qp_nd_amount']);
+               $no_ded = $q['qp_nd_amount'];
+               $row.=td(nbm($q['qp_dep_priv']), 'style="text-align:right"');
                $row.=td(nbm($no_ded), ' style="text-align:right"');
                $htva = $q['qp_price'];
 



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]