2017-09-21 10:18:08 +02:00
< ? php
2020-09-07 15:04:06 +02:00
/*
* OpenSTAManager : il software gestionale open source per l ' assistenza tecnica e la fatturazione
2021-01-20 15:08:51 +01:00
* Copyright ( C ) DevCode s . r . l .
2020-09-07 15:04:06 +02:00
*
* 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-21 10:18:08 +02:00
2020-11-06 10:46:42 +01:00
/*
2017-09-21 10:28:35 +02:00
* Header di default .
* I contenuti di questo file vengono utilizzati per generare l 'header delle stampe nel caso non esista un file header.php all' interno della stampa .
*
* Per modificare l 'header della stampa basta aggiungere un file header.php all' interno della cartella della stampa con i contenuti da mostrare ( vedasi templates / fatture / header . php ) .
*
* La personalizzazione specifica dell 'header deve comunque seguire lo standard della cartella custom: anche se il file header.php non esiste nella stampa originaria, se si vuole personalizzare l' header bisogna crearlo all ' interno della cartella custom .
*/
2017-09-21 10:18:08 +02:00
return '
2024-01-15 15:30:45 +01:00
< div class = " row " style = " '.((!empty( $settings['header-font-size'] )) ? 'font-size:'. $settings['header-font-size'] .'px;' : '').' " >
2017-09-21 10:18:08 +02:00
< div class = " col-xs-6 " >
2018-02-25 11:06:14 +01:00
< img src = " $logo $ " alt = " Logo " border = " 0 " />
2017-09-21 10:18:08 +02:00
</ div >
2018-11-30 11:31:55 +01:00
< div class = " col-xs-6 text-right " >
2017-09-21 10:18:08 +02:00
< p >< b > '.$f_ragionesociale.' </ b ></ p >
2018-02-17 16:08:10 +01:00
< p > '.$f_indirizzo.' </ p >
< p > '.$f_citta_full.' </ p >
2017-09-21 10:18:08 +02:00
< p > '.(!empty($f_piva) ? tr(' P . Iva ').' : '.$f_piva : ' ').' </ p >
< p > '.(!empty($f_codicefiscale) ? tr(' C . F . ').' : '.$f_codicefiscale : ' ').' </ p >
2018-02-23 10:01:48 +01:00
< p > '.(!empty($f_capsoc) ? tr(' Cap . Soc . ').' : '.$f_capsoc : ' ').' </ p >
2017-09-21 10:18:08 +02:00
< p > '.(!empty($f_telefono) ? tr(' Tel ').' : '.$f_telefono : ' ').' </ p >
2018-05-07 19:20:10 +02:00
< p > '.(!empty($f_email) ? tr(' Email ').' : '.$f_email : ' ').' </ p >
2019-01-03 18:54:09 +01:00
< p > '.(!empty($f_pec) ? tr(' PEC ').' : '.$f_pec : ' ').' </ p >
2018-07-26 10:35:48 +02:00
< p > '.(!empty($f_sitoweb) ? tr(' Web ').' : '.$f_sitoweb : ' ').' </ p >
2017-09-21 10:18:08 +02:00
</ div >
</ div > ' ;