2017-09-12 17:46:19 +02:00
|
|
|
<?php
|
2020-09-07 15:04:06 +02:00
|
|
|
/*
|
|
|
|
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
|
|
|
|
* Copyright (C) DevCode s.n.c.
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2017-09-12 17:46:19 +02:00
|
|
|
|
|
|
|
echo '
|
2017-09-21 10:28:35 +02:00
|
|
|
$default_header$
|
2017-09-12 17:46:19 +02:00
|
|
|
|
2018-02-09 15:27:43 +01:00
|
|
|
<div class="row">
|
2017-09-12 17:46:19 +02:00
|
|
|
|
2018-02-09 15:27:43 +01:00
|
|
|
<!-- Dati Ordine -->
|
|
|
|
<div class="col-xs-6">
|
|
|
|
<div class="text-center" style="height:5mm;">
|
|
|
|
<b>$tipo_doc$</b>
|
|
|
|
</div>
|
2017-09-12 17:46:19 +02:00
|
|
|
|
2019-07-12 12:56:46 +02:00
|
|
|
<table class="table">
|
2018-02-09 15:27:43 +01:00
|
|
|
<tr>
|
|
|
|
<td class="border-full text-center">
|
|
|
|
<p class="small-bold">'.tr('Nr. documento', [], ['upper' => true]).'</p>
|
2019-07-10 11:53:35 +02:00
|
|
|
<p>$numero$</p>
|
2018-02-09 15:27:43 +01:00
|
|
|
</td>
|
2017-09-12 17:46:19 +02:00
|
|
|
|
2018-02-09 15:27:43 +01:00
|
|
|
<td class="border-right border-bottom border-top text-center">
|
|
|
|
<p class="small-bold">'.tr('Data documento', [], ['upper' => true]).'</p>
|
|
|
|
<p>$data$</p>
|
|
|
|
</td>
|
2017-09-12 17:46:19 +02:00
|
|
|
|
2019-07-12 12:56:46 +02:00
|
|
|
<td class="border-right border-bottom border-top text-center">
|
2019-11-29 16:02:32 +01:00
|
|
|
<p class="small-bold">'.($documento->direzione == 'entrata' ? tr('Cliente', [], ['upper' => true]) : tr('Fornitore', [], ['upper' => true])).'</p>
|
2019-07-12 12:56:46 +02:00
|
|
|
<p>$c_codice$</p>
|
|
|
|
</td>
|
2018-02-09 15:27:43 +01:00
|
|
|
|
|
|
|
<td class="border-right border-bottom border-top center text-center">
|
|
|
|
<p class="small-bold">'.tr('Foglio', [], ['upper' => true]).'</p>
|
|
|
|
<p>{PAGENO}/{nb}</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2019-11-29 16:02:32 +01:00
|
|
|
|
2019-07-12 12:56:46 +02:00
|
|
|
<tr>
|
|
|
|
<td colspan="4" style="height:10mm;padding-top:2mm;">
|
|
|
|
<p class="small-bold">'.tr('Pagamento', [], ['upper' => true]).'</p>
|
|
|
|
<p>$pagamento$</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2018-02-09 15:27:43 +01:00
|
|
|
</table>
|
|
|
|
</div>
|
2019-11-29 16:02:32 +01:00
|
|
|
|
2018-02-09 15:27:43 +01:00
|
|
|
<!-- Dati Cliente/Fornitore -->
|
2019-07-12 12:56:46 +02:00
|
|
|
<div class="col-xs-6" style="margin-left: 10px">
|
2018-02-09 15:27:43 +01:00
|
|
|
<table class="table" style="width:100%;margin-top:5mm;">
|
|
|
|
<tr>
|
|
|
|
<td class="border-full" style="height:20mm;">
|
|
|
|
<p class="small-bold">'.tr('Spett.le', [], ['upper' => true]).'</p>
|
|
|
|
<p>$c_ragionesociale$</p>
|
2020-06-15 18:02:15 +02:00
|
|
|
<p>$c_indirizzo$<br> $c_citta_full$</p>
|
|
|
|
<p>$c_telefono$ $c_cellulare$</p>
|
2018-02-09 15:27:43 +01:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
2019-11-29 16:02:32 +01:00
|
|
|
|
|
|
|
|
2018-02-09 15:27:43 +01:00
|
|
|
</div>';
|