This commit is contained in:
Bacca97 2018-03-22 19:10:29 +01:00
parent 0de8fe29b7
commit a43ad5644b
1 changed files with 37 additions and 15 deletions

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);