2017-09-08 17:03:47 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
echo '
|
|
|
|
<!-- Intestazione fornitore -->
|
2017-09-21 10:28:35 +02:00
|
|
|
$default_header$
|
2017-09-08 17:03:47 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
<div class="row">
|
2018-02-09 15:27:43 +01:00
|
|
|
<!-- Dati Ddt -->
|
2017-09-08 17:03:47 +02:00
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="text-center" style="height:5mm;">
|
2018-11-14 18:06:54 +01:00
|
|
|
<b>DDT</b>
|
2017-09-08 17:03:47 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<table class="table">
|
|
|
|
<tr>
|
|
|
|
<td valign="top" class="border-full text-center">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Nr. documento', [], ['upper' => true]).'</p>
|
2019-07-10 11:53:35 +02:00
|
|
|
<p>$numero$</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
</td>
|
|
|
|
|
|
|
|
<td class="border-right border-bottom border-top text-center">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Data documento', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<p>$data$</p>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td class="border-right border-bottom border-top text-center">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Cliente', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<p>$c_codice$</p>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td class="border-right border-bottom border-top center text-center">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Foglio', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<p>{PAGENO}/{nb}</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td colspan=2 class="border-bottom border-left" style="height:11mm;">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Partita IVA', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<small>$c_piva$</small>
|
|
|
|
</td>
|
|
|
|
<td colspan=2 class="border-bottom border-right">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Codice fiscale', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<small>$c_codicefiscale$</small>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td colspan="4" class="border-full" style="height:11mm;">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Pagamento', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<p>$pagamento$</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-5 col-xs-offset-1">
|
|
|
|
<table class="table" style="width:100%;margin-top:5mm;">
|
|
|
|
<tr>
|
2017-09-13 11:15:31 +02:00
|
|
|
<td class="border-full" style="height:20mm;">
|
2017-09-10 14:35:41 +02:00
|
|
|
<p class="small-bold">'.tr('Spett.le', [], ['upper' => true]).'</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<p>$c_ragionesociale$</p>
|
2018-02-09 15:27:43 +01:00
|
|
|
<p>$c_indirizzo$<br>$c_citta_full$</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
</td>
|
2019-07-11 15:05:36 +02:00
|
|
|
</tr>';
|
2017-09-08 17:03:47 +02:00
|
|
|
|
2019-07-11 15:05:36 +02:00
|
|
|
if (!empty($destinazione)) {
|
|
|
|
echo '
|
2017-09-08 17:03:47 +02:00
|
|
|
<tr>
|
|
|
|
<td class="border-full" style="height:16mm;">
|
2019-07-11 15:05:36 +02:00
|
|
|
<p class="small-bold">' . tr('Destinazione diversa', [], ['upper' => true]) . '</p>
|
2017-09-08 17:03:47 +02:00
|
|
|
<small>$c_destinazione$</small>
|
|
|
|
</td>
|
2019-07-11 15:05:36 +02:00
|
|
|
</tr>';
|
|
|
|
}
|
|
|
|
|
|
|
|
echo '
|
2017-09-08 17:03:47 +02:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>';
|