mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-03-11 16:50:09 +01:00
Aggiunta marca da bollo (#73)
This commit is contained in:
parent
7763dfaa82
commit
686b7ba965
@ -269,7 +269,36 @@ if (!empty($records[0]['ritenutaacconto'])) {
|
|||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
|
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
|
||||||
|
'.Translator::numberToLocale($totale - $records[0]['ritenutaacconto']).' €
|
||||||
|
</td>
|
||||||
|
</tr>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($records[0]['ritenutaacconto']) && empty($records[0]['rivalsainps']) && abs($records[0]['bollo']) > 0) {
|
||||||
|
$first_colspan = 3;
|
||||||
|
$second_colspan = 2;
|
||||||
|
if (empty($sconto)) {
|
||||||
|
$first_colspan = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
echo '
|
||||||
|
<tr>
|
||||||
|
<th class="text-center small" colspan="'.$first_colspan.'">
|
||||||
|
'.tr('Marca da bollo', [], ['upper' => true]).'
|
||||||
|
</th>
|
||||||
|
|
||||||
|
<th class="text-center small" colspan="'.$second_colspan.'">
|
||||||
|
'.tr('Totale documento', [], ['upper' => true]).'
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td class="cell-padded text-center" colspan="'.$first_colspan.'">
|
||||||
|
'.Translator::numberToLocale($records[0]['bollo']).' €
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td class="cell-padded text-center" colspan="'.$second_colspan.'">
|
||||||
'.Translator::numberToLocale($totale - $records[0]['ritenutaacconto']).' €
|
'.Translator::numberToLocale($totale - $records[0]['ritenutaacconto']).' €
|
||||||
</td>
|
</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user