diff --git a/templates/base/footer.php b/templates/base/footer.php index c737fbf61..d93ca44ce 100644 --- a/templates/base/footer.php +++ b/templates/base/footer.php @@ -1,5 +1,14 @@ diff --git a/templates/base/header.php b/templates/base/header.php index a481349d4..a107d958a 100644 --- a/templates/base/header.php +++ b/templates/base/header.php @@ -1,5 +1,14 @@
diff --git a/templates/ddt/header.php b/templates/ddt/header.php index 654cef469..6bf72c539 100644 --- a/templates/ddt/header.php +++ b/templates/ddt/header.php @@ -2,20 +2,7 @@ echo ' -
-
- -
-
-

$f_ragionesociale$

-

$f_indirizzo$ $f_citta_full$

-

'.(!empty($f_piva) ? tr('P.Iva').': ' : '').'$f_piva$

-

'.(!empty($f_codicefiscale) ? tr('C.F.').': ' : '').'$f_codicefiscale$

-

'.(!empty($f_capsoc) ? tr('Cap.Soc.').': ' : '').'$f_capsoc$

-

'.(!empty($f_telefono) ? tr('Tel').': ' : '').'$f_telefono$

-
-
- +$default_header$
diff --git a/templates/fatture/header.php b/templates/fatture/header.php index e192b5008..854fc9ec6 100644 --- a/templates/fatture/header.php +++ b/templates/fatture/header.php @@ -2,20 +2,7 @@ echo ' -
-
- Logo -
-
-

$f_ragionesociale$

-

$f_indirizzo$ $f_citta_full$

-

'.(!empty($f_piva) ? tr('P.Iva').': ' : '').'$f_piva$

-

'.(!empty($f_codicefiscale) ? tr('C.F.').': ' : '').'$f_codicefiscale$

-

'.(!empty($f_capsoc) ? tr('Cap.Soc.').': ' : '').'$f_capsoc$

-

'.(!empty($f_telefono) ? tr('Tel').': ' : '').'$f_telefono$

-
-
- +$default_header$
diff --git a/templates/info.php b/templates/info.php index 21435c9a2..7b26d36a9 100644 --- a/templates/info.php +++ b/templates/info.php @@ -1,5 +1,7 @@ $values) { } // Valori aggiuntivi per la sostituzione -$replaces = [ +$replaces = array_merge($replaces, [ 'docroot' => DOCROOT, 'rootdir' => ROOTDIR, 'footer' => !empty($footer) ? $footer : '', 'dicitura_fissa_fattura' => get_var('Dicitura fissa fattura'), 'default_header' => include DOCROOT.'/templates/base/header.php', 'default_footer' => include DOCROOT.'/templates/base/footer.php', -]; +]); diff --git a/templates/ordini/header.php b/templates/ordini/header.php index 804dfc06a..559c580f7 100644 --- a/templates/ordini/header.php +++ b/templates/ordini/header.php @@ -1,20 +1,7 @@ -
- Logo -
-
-

$f_ragionesociale$

-

$f_indirizzo$ $f_citta_full$

-

'.(!empty($f_piva) ? tr('P.Iva').': ' : '').'$f_piva$

-

'.(!empty($f_codicefiscale) ? tr('C.F.').': ' : '').'$f_codicefiscale$

-

'.(!empty($f_capsoc) ? tr('Cap.Soc.').': ' : '').'$f_capsoc$

-

'.(!empty($f_telefono) ? tr('Tel').': ' : '').'$f_telefono$

-
-
- +$default_header$