Author: danydb
Date: 2013-10-12 16:28:15 +0200 (Sat, 12 Oct 2013)
New Revision: 5488

Modified:
   phpcompta/trunk/include/template/dashboard.php
Log:
placement dashboard

Modified: phpcompta/trunk/include/template/dashboard.php
===================================================================
--- phpcompta/trunk/include/template/dashboard.php      2013-10-12 14:27:48 UTC 
(rev 5487)
+++ phpcompta/trunk/include/template/dashboard.php      2013-10-12 14:28:15 UTC 
(rev 5488)
@@ -222,38 +222,9 @@
        <?php display_dashboard_operation($customer_now,"Encaissement clients 
aujourd'hui",'customer_now_div'); ?>
        <?php display_dashboard_operation($customer_late,"Clients en 
retard",'customer_late_div'); ?>
 </div>
-<div style="float:right;width: 49%">
-<fieldset>
-<legend><?php echo _('Dernières opérations')?>
-</legend>
-<table style="width: 100%">
-<?php
-for($i=0;$i<count($last_ledger);$i++):
-       $class=($i%2==0)?' class="even" ':' class="odd" ';
-?>
-<tr <?php echo $class ?>>
-       <td><?php echo   smaller_date($last_ledger[$i]['jr_date_fmt'])?>
-       </td>
-       <td>
-               <?php echo $last_ledger[$i]['jrn_def_code']?>
-       </td>
-<td>
-   <?php echo h(mb_substr($last_ledger[$i]['jr_comment'],0,40,'UTF-8'))?>
-</td>
-<td>
-<?php echo HtmlInput::detail_op($last_ledger[$i]['jr_id'], 
$last_ledger[$i]['jr_internal'])?>
-</td>
-<td class="num">
-<?php echo nbm($last_ledger[$i]['jr_montant'])?>
-</td>
 
-</tr>
-<?php endfor;?>
-</ul></table>
-</fieldset>
-</div>
 <!-- Mini rapport -->
-       <div style="float:left;width: 49%">
+       <div style="float:left;width: 47%">
 <?php
 /*
  * Mini Report
@@ -304,7 +275,36 @@
 ?>
 </div>
 
+<div style="float:right;width: 47%">
+<fieldset>
+<legend><?php echo _('Dernières opérations')?>
+</legend>
+<table style="width: 100%">
+<?php
+for($i=0;$i<count($last_ledger);$i++):
+       $class=($i%2==0)?' class="even" ':' class="odd" ';
+?>
+<tr <?php echo $class ?>>
+       <td><?php echo   smaller_date($last_ledger[$i]['jr_date_fmt'])?>
+       </td>
+       <td>
+               <?php echo $last_ledger[$i]['jrn_def_code']?>
+       </td>
+<td>
+   <?php echo h(mb_substr($last_ledger[$i]['jr_comment'],0,40,'UTF-8'))?>
+</td>
+<td>
+<?php echo HtmlInput::detail_op($last_ledger[$i]['jr_id'], 
$last_ledger[$i]['jr_internal'])?>
+</td>
+<td class="num">
+<?php echo nbm($last_ledger[$i]['jr_montant'])?>
+</td>
 
+</tr>
+<?php endfor;?>
+</ul></table>
+</fieldset>
+</div>
 
 
 
@@ -331,6 +331,7 @@
 ?>
 </form>
 </div>
+
 <script type="text/javascript" language="javascript" charset="utf-8">
 function display_detail(div) {
        $(div).style.display="block";



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

_______________________________________________
Phpcompta  est un logiciel libre de comptabilit&#233; en ligne 
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to