[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r248 - trunk/coprop/include/template
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r248 - trunk/coprop/include/template |
Date: |
Wed, 4 Jan 2012 17:47:51 +0100 (CET) |
Author: danydb
Date: 2012-01-04 17:47:50 +0100 (Wed, 04 Jan 2012)
New Revision: 248
Modified:
trunk/coprop/include/template/key_detail.php
Log:
typo presentation modify key
Modified: trunk/coprop/include/template/key_detail.php
===================================================================
--- trunk/coprop/include/template/key_detail.php 2012-01-04 16:42:30 UTC
(rev 247)
+++ trunk/coprop/include/template/key_detail.php 2012-01-04 16:47:50 UTC
(rev 248)
@@ -63,7 +63,7 @@
<?=HtmlInput::hidden('f_id[]',$alot[$i]['f_id'])?>
</td>
<td>
- <?=$a_lot[$i]['desc']?>
+ <?=$alot[$i]['desc']?>
</td>
<td>
<?
@@ -78,17 +78,20 @@
?>
</table>
<p>
-Total tantièmes : <span id="span_tantieme"><?=init_tantieme?></span>
+Total tantièmes : <span id="span_tantieme"><?=round($init_tantieme)?></span>
</p>
+
<p>
+ Différence :
+
<?
+ bcscale(0);
if ( bcsub ($init_tantieme,$tantieme->value) != 0):
?>
<span id="span_diff" style="color:red"><?=bcsub
($init_tantieme,$tantieme->value)?></span>
<?
else:
?>
-Différence
<span id="span_diff" style="color:green"><?=bcsub
($init_tantieme,$tantieme->value)?></span>
<?
endif;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r248 - trunk/coprop/include/template,
phpcompta-dev <=