noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/38: Cosmetic : Alignement


From: dwm
Subject: [Noalyss-commit] [noalyss] 01/38: Cosmetic : Alignement
Date: Sun, 18 Feb 2024 07:30:41 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 038847cb3e396fcceaf9b623b482801fe6f155df
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Feb 10 11:13:52 2024 +0100

    Cosmetic : Alignement
---
 include/template/form_ledger_detail.php | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/include/template/form_ledger_detail.php 
b/include/template/form_ledger_detail.php
index 37e192928..c072650ce 100644
--- a/include/template/form_ledger_detail.php
+++ b/include/template/form_ledger_detail.php
@@ -107,16 +107,16 @@ $hidden=($this->has_quantity()==0)?'d-none':'';
 <th style="width:auto"colspan="2">Code <?php echo 
Icon_Action::infobulle(0)?></th>
       <th class="visible_gt800 visible_gt1155"><?php echo 
_('Dénomination')?></th>
 <?php if ($flag_tva =='Y') : ?>
-      <th><?php echo _('prix/unité htva')?><?php echo 
Icon_Action::infobulle(6)?></th>
-      <th class="col_quant <?=$hidden?>"><?php echo _('quantité')?></th>
-      <th class="visible_gt800" ><?php echo _('Total HTVA')?></th>
+      <th  class="text-center" ><?php echo _('prix/unité htva')?><?php echo 
Icon_Action::infobulle(6)?></th>
+      <th class="text-center col_quant <?=$hidden?>"><?php echo 
_('quantité')?></th>
+      <th class="text-center visible_gt800" ><?php echo _('Total HTVA')?></th>
          <th><?php echo _('tva')?></th>
-      <th class="visible_gt800"><?php echo _('tot.tva')?></th>
-      <th><?php echo _('tvac')?></th>
+      <th class="text-center visible_gt800"><?php echo _('tot.tva')?></th>
+      <th class="text-center "><?php echo _('tvac')?></th>
 <?php else: ?>
-         <th><?php echo _('prix/unité ')?><?php echo 
Icon_Action::infobulle(6)?></th>
-      <th class="col_quant <?=$hidden?>"><?php echo _('quantité')?></th>
-      <th><?php echo _('Total ')?></th>
+         <th class="text-center "><?php echo _('prix/unité ')?><?php echo 
Icon_Action::infobulle(6)?></th>
+      <th class="text-center  col_quant <?=$hidden?>"><?php echo 
_('quantité')?></th>
+      <th class="text-center "><?php echo _('Total ')?></th>
 <?php endif;?>
 
 
@@ -131,15 +131,15 @@ echo '<td>'.$item['bt'].$item['card_add'].'</td>';
 ?>
 <td class="visible_gt800 visible_gt1155"><?php echo $item['denom'] ?></td>
 <?php 
-echo td($item['pu']);
-echo td($item['quantity' ],'class="col_quant '. $hidden.'"');
-echo td($item['htva'],' class="visible_gt800" ');
+echo td($item['pu'],'class=" text-center"');
+echo td($item['quantity' ],'class="col_quant '. $hidden.' text-center"');
+echo td($item['htva'],' class="visible_gt800 text-center" ');
 if ($flag_tva=='Y')  {
        echo td($item['tva']);
-       echo td($item['amount_tva'].$item['hidden'],' class="visible_gt800" ');
+       echo td($item['amount_tva'].$item['hidden'],' class="visible_gt800 
text-center" ');
 
 }
-echo td($item['tvac']);
+echo td($item['tvac'],'class="text-center"');
 echo '</tr>';
 }
 



reply via email to

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