openstamanager/templates/ddt/header.php

90 lines
3.2 KiB
PHP
Raw Normal View History

2017-09-08 17:03:47 +02:00
<?php
echo '
<!-- Intestazione fornitore -->
<div class="row">
<div class="col-xs-6">
<img src="'.__DIR__.'/logo_azienda.jpg"/>
</div>
<div class="col-xs-6 text-right">
<p><b>$f_ragionesociale$</b></p>
2017-09-08 18:19:39 +02:00
<p>$f_indirizzo$ $f_citta_full$</p>
<p>'.(!empty($f_piva) ? tr('P.Iva').': ' : '').'$f_piva$</p>
<p>'.(!empty($f_codicefiscale) ? tr('C.F.').': ' : '').'$f_codicefiscale$</p>
<p>'.(!empty($f_capsoc) ? tr('Cap.Soc.').': ' : '').'$f_capsoc$</p>
<p>'.(!empty($f_telefono) ? tr('Tel').': ' : '').'$f_telefono$</p>
2017-09-08 17:03:47 +02:00
</div>
</div>
<br>
<div class="row">
<!-- Dati Fattura -->
<div class="col-xs-6">
<div class="text-center" style="height:5mm;">
<b>$tipo_doc$</b>
</div>
<table class="table">
<tr>
<td valign="top" class="border-full text-center">
<p class="small-bold">'.tr('Nr. documento', [], ['upper' => true]).'</p>
2017-09-08 17:03:47 +02:00
<p>$numero_doc$</p>
</td>
<td class="border-right border-bottom border-top text-center">
<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">
<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">
<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;">
<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">
<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;">
<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>
<td class="border-full" style="height:16mm;">
<p class="small-bold">'.tr('Spett.le', [], ['upper' => true]).'</p>
2017-09-08 17:03:47 +02:00
<p>$c_ragionesociale$</p>
<p>$c_indirizzo$ $c_citta_full$</p>
2017-09-08 17:03:47 +02:00
</td>
</tr>
<tr>
<td class="border-full" style="height:16mm;">
<p class="small-bold">'.tr('Destinazione diversa', [], ['upper' => true]).'</p>
2017-09-08 17:03:47 +02:00
<small>$c_destinazione$</small>
</td>
</tr>
</table>
</div>
</div>';