update with html5 compliant code
This commit is contained in:
parent
7b1fd917eb
commit
13c49d2946
@ -51,7 +51,7 @@ $object->fetch($facid);
|
||||
</font>
|
||||
</center>
|
||||
<br>
|
||||
<p align="left">
|
||||
<p class="left">
|
||||
<?php
|
||||
$substitutionarray=getCommonSubstitutionArray($langs);
|
||||
if (! empty($conf->global->TAKEPOS_HEADER))
|
||||
@ -61,7 +61,7 @@ if (! empty($conf->global->TAKEPOS_HEADER))
|
||||
}
|
||||
?>
|
||||
</p>
|
||||
<p align="right">
|
||||
<p class="right">
|
||||
<?php
|
||||
print $langs->trans('Date')." ".dol_print_date($object->date, 'day').'<br>';
|
||||
if ($mysoc->country_code == 'ES') print "Factura simplificada ";
|
||||
@ -73,10 +73,10 @@ print $object->ref;
|
||||
<table width="100%" style="border-top-style: double;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center"><?php print $langs->trans("Label"); ?></th>
|
||||
<th align="right"><?php print $langs->trans("Qty"); ?></th>
|
||||
<th align="right"><?php print $langs->trans("Price"); ?></th>
|
||||
<th align="right"><?php print $langs->trans("TotalTTC"); ?></th>
|
||||
<th class="center"><?php print $langs->trans("Label"); ?></th>
|
||||
<th class="right"><?php print $langs->trans("Qty"); ?></th>
|
||||
<th class="right"><?php print $langs->trans("Price"); ?></th>
|
||||
<th class="right"><?php print $langs->trans("TotalTTC"); ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -88,9 +88,9 @@ print $object->ref;
|
||||
<td><?php if (!empty($line->product_label)) echo $line->product_label;
|
||||
else echo $line->description;?>
|
||||
</td>
|
||||
<td align="right"><?php echo $line->qty;?></td>
|
||||
<td align="right"><?php echo $line->total_ttc/$line->qty;?></td>
|
||||
<td align="right"><?php echo price($line->total_ttc);?></td>
|
||||
<td class="right"><?php echo $line->qty;?></td>
|
||||
<td class="right"><?php echo $line->total_ttc/$line->qty;?></td>
|
||||
<td class="right"><?php echo price($line->total_ttc);?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
@ -98,16 +98,16 @@ print $object->ref;
|
||||
</tbody>
|
||||
</table>
|
||||
<br>
|
||||
<table align="right">
|
||||
<table class="right">
|
||||
<tr>
|
||||
<th align="right"><?php echo $langs->trans("TotalHT");?></th>
|
||||
<td align="right"><?php echo price($object->total_ht, 1, '', 1, - 1, - 1, $conf->currency)."\n";?></td>
|
||||
<th class="right"><?php echo $langs->trans("TotalHT");?></th>
|
||||
<td class="right"><?php echo price($object->total_ht, 1, '', 1, - 1, - 1, $conf->currency)."\n";?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right"><?php echo $langs->trans("TotalVAT").'</th><td align="right">'.price($object->total_tva, 1, '', 1, - 1, - 1, $conf->currency)."\n";?></td>
|
||||
<th class="right"><?php echo $langs->trans("TotalVAT").'</th><td class="right">'.price($object->total_tva, 1, '', 1, - 1, - 1, $conf->currency)."\n";?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th align="right"><?php echo ''.$langs->trans("TotalTTC").'</th><td align="right">'.price($object->total_ttc, 1, '', 1, - 1, - 1, $conf->currency)."\n";?></td>
|
||||
<th class="right"><?php echo ''.$langs->trans("TotalTTC").'</th><td class="right">'.price($object->total_ttc, 1, '', 1, - 1, - 1, $conf->currency)."\n";?></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="border-top-style: double;">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user