mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix colspan stampa preventivo
This commit is contained in:
parent
713869aafd
commit
7b39b190d8
@ -151,7 +151,7 @@ foreach ($righe as $key => $riga) {
|
|||||||
<tr>';
|
<tr>';
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<td class="text-center" style="vertical-align: middle">
|
<td class="text-center" style="vertical-align: middle" width="25">
|
||||||
'.($key + 1).'
|
'.($key + 1).'
|
||||||
</td>';
|
</td>';
|
||||||
|
|
||||||
@ -258,7 +258,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
|||||||
<b>'.tr('Imponibile', [], ['upper' => true]).':</b>
|
<b>'.tr('Imponibile', [], ['upper' => true]).':</b>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
<th colspan="'.($options['show_only_total'] ? (($has_images) ? 2 : 1) : (($has_images) ? 3 : 2)).'" class="text-right">
|
||||||
<b>'.moneyFormat($show_sconto ? $imponibile : $totale_imponibile, 2).'</b>
|
<b>'.moneyFormat($show_sconto ? $imponibile : $totale_imponibile, 2).'</b>
|
||||||
</th>
|
</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
@ -271,7 +271,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
|||||||
<b>'.tr('Sconto', [], ['upper' => true]).':</b>
|
<b>'.tr('Sconto', [], ['upper' => true]).':</b>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
<th colspan="'.($options['show_only_total'] ? (($has_images) ? 2 : 1) : (($has_images) ? 3 : 2)).'" class="text-right">
|
||||||
<b>'.moneyFormat($sconto, 2).'</b>
|
<b>'.moneyFormat($sconto, 2).'</b>
|
||||||
</th>
|
</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
@ -283,7 +283,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
|||||||
<b>'.tr('Totale imponibile', [], ['upper' => true]).':</b>
|
<b>'.tr('Totale imponibile', [], ['upper' => true]).':</b>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
<th colspan="'.($options['show_only_total'] ? (($has_images) ? 2 : 1) : (($has_images) ? 3 : 2)).'" class="text-right">
|
||||||
<b>'.moneyFormat($totale_imponibile, 2).'</b>
|
<b>'.moneyFormat($totale_imponibile, 2).'</b>
|
||||||
</th>
|
</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
@ -296,7 +296,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
|||||||
<b>'.tr('Totale IVA', [], ['upper' => true]).':</b>
|
<b>'.tr('Totale IVA', [], ['upper' => true]).':</b>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
<th colspan="'.($options['show_only_total'] ? (($has_images) ? 2 : 1) : (($has_images) ? 3 : 2)).'" class="text-right">
|
||||||
<b>'.moneyFormat($totale_iva, 2).'</b>
|
<b>'.moneyFormat($totale_iva, 2).'</b>
|
||||||
</th>
|
</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
@ -307,7 +307,7 @@ if (($options['pricing'] && !isset($options['hide_total'])) || $options['show_on
|
|||||||
<td colspan="'.($options['show_only_total'] ? 2 : 4).'" class="text-right border-top">
|
<td colspan="'.($options['show_only_total'] ? 2 : 4).'" class="text-right border-top">
|
||||||
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
|
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
|
||||||
</td>
|
</td>
|
||||||
<th colspan="'.($options['show_only_total'] ? 1 : 3).'" class="text-right">
|
<th colspan="'.($options['show_only_total'] ? (($has_images) ? 2 : 1) : (($has_images) ? 3 : 2)).'" class="text-right">
|
||||||
<b>'.moneyFormat($totale, 2).'</b>
|
<b>'.moneyFormat($totale, 2).'</b>
|
||||||
</th>
|
</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user