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

_______________________________________________
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

Reply via email to