1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-14 16:36:51 +01:00
This commit is contained in:
Fabio Lovato 2018-03-22 19:12:08 +01:00
commit da21993917

View File

@ -246,26 +246,48 @@ foreach ($v_iva as $key => $value) {
</p>'; </p>';
} }
} }
echo '
if (!empty($records[0]['note'])) { <table class="table">';
echo '
<tr>';
if(abs($records[0]['bollo']) > 0){
echo ' echo '
<br> <td width="85%">';
<p class="small-bold">'.tr('Note', [], ['upper' => true]).':</p> }else{
<p>'.nl2br($records[0]['note']).'</p>'; echo '
<td width="100%">';
}
if (!empty($records[0]['note'])) {
echo '
<p class="small-bold">'.tr('Note', [], ['upper' => true]).':</p>
<p>'.nl2br($records[0]['note']).'</p>';
}
echo '
</td>';
if(abs($records[0]['bollo']) > 0){
echo '
<td width="15%" align="right">';
} }
if (abs($records[0]['bollo']) > 0) { if (abs($records[0]['bollo']) > 0) {
echo ' echo '
<br> <table style="width: 20mm; font-size: 50%; text-align: center" class="table-bordered">
<table style="width: 20mm; font-size: 50%; text-align: center" class="table-bordered">
<tr> <tr>
<td style="height: 20mm;"> <td style="height: 20mm;">
<br><br> <br><br>
'.tr('Spazio per applicazione marca da bollo', [], ['upper' => true]).' '.tr('Spazio per applicazione marca da bollo', [], ['upper' => true]).'
</td> </td>
</tr> </tr>
</table>'; </table>';
} }
if(abs($records[0]['bollo']) > 0){
echo '
</td>';
}
echo '
</tr>';
echo '
</table>';
// Info per il footer // Info per il footer
$imponibile = sum($imponibile); $imponibile = sum($imponibile);