@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | } |
| 144 | 144 | |
| 145 | 145 | |
| 146 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 146 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 147 | 147 | /** |
| 148 | 148 | * Return next free value |
| 149 | 149 | * |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | */ |
| 154 | 154 | public function commande_get_num($objsoc, $objforref) |
| 155 | 155 | { |
| 156 | - // phpcs:enable |
|
| 156 | + // phpcs:enable |
|
| 157 | 157 | return $this->getNextValue($objsoc, $objforref); |
| 158 | 158 | } |
| 159 | 159 | } |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | |
| 167 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 167 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 168 | 168 | /** |
| 169 | 169 | * Return next free value |
| 170 | 170 | * |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | */ |
| 175 | 175 | public function payment_get_num($objsoc, $objforref) |
| 176 | 176 | { |
| 177 | - // phpcs:enable |
|
| 177 | + // phpcs:enable |
|
| 178 | 178 | return $this->getNextValue($objsoc, $objforref); |
| 179 | 179 | } |
| 180 | 180 | } |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | abstract class ModelePDFSuppliersPayments extends CommonDocGenerator |
| 28 | 28 | { |
| 29 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 29 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 30 | 30 | /** |
| 31 | 31 | * Return list of active generation models |
| 32 | 32 | * |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | */ |
| 37 | 37 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 38 | 38 | { |
| 39 | - // phpcs:enable |
|
| 39 | + // phpcs:enable |
|
| 40 | 40 | $type = 'supplier_payment'; |
| 41 | 41 | $list = array(); |
| 42 | 42 | |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | } |
| 145 | 145 | |
| 146 | 146 | |
| 147 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 147 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 148 | 148 | /** |
| 149 | 149 | * Function to build pdf onto disk |
| 150 | 150 | * |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | */ |
| 159 | 159 | public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 160 | 160 | { |
| 161 | - // phpcs:enable |
|
| 161 | + // phpcs:enable |
|
| 162 | 162 | global $user, $langs, $conf, $mysoc, $hookmanager; |
| 163 | 163 | |
| 164 | 164 | if (!is_object($outputlangs)) { |
@@ -481,8 +481,8 @@ discard block |
||
| 481 | 481 | } |
| 482 | 482 | } |
| 483 | 483 | |
| 484 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 485 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 484 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 485 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 486 | 486 | /** |
| 487 | 487 | * Show total to pay |
| 488 | 488 | * |
@@ -494,7 +494,7 @@ discard block |
||
| 494 | 494 | */ |
| 495 | 495 | protected function _tableau_cheque(&$pdf, $object, $posy, $outputlangs) |
| 496 | 496 | { |
| 497 | - // phpcs:enable |
|
| 497 | + // phpcs:enable |
|
| 498 | 498 | global $conf, $mysoc; |
| 499 | 499 | |
| 500 | 500 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
@@ -544,7 +544,7 @@ discard block |
||
| 544 | 544 | return $posy; |
| 545 | 545 | } |
| 546 | 546 | |
| 547 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 547 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 548 | 548 | /** |
| 549 | 549 | * Show table for lines |
| 550 | 550 | * |
@@ -591,7 +591,7 @@ discard block |
||
| 591 | 591 | //$this->printRect($pdf,$this->marge_gauche, $tab_top, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $tab_height, $hidetop, $hidebottom); // Rect takes a length in 3rd parameter and 4th parameter |
| 592 | 592 | } |
| 593 | 593 | |
| 594 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 594 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 595 | 595 | /** |
| 596 | 596 | * Show top header of page. |
| 597 | 597 | * |
@@ -807,7 +807,7 @@ discard block |
||
| 807 | 807 | return 0; |
| 808 | 808 | } |
| 809 | 809 | |
| 810 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 810 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 811 | 811 | /** |
| 812 | 812 | * Show footer of page. Need this->emetteur object |
| 813 | 813 | * |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | $this->db = $db; |
| 96 | 96 | $this->name = "standard"; |
| 97 | 97 | $this->description = $langs->trans('DocumentModelStandardPDF'); |
| 98 | - $this->update_main_doc_field = 0; // Save the name of generated file as the main doc when generating a doc with this template |
|
| 98 | + $this->update_main_doc_field = 0; // Save the name of generated file as the main doc when generating a doc with this template |
|
| 99 | 99 | |
| 100 | 100 | // Page size for A4 format |
| 101 | 101 | $this->type = 'pdf'; |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | */ |
| 38 | 38 | abstract class ModelePDFFicheinter extends CommonDocGenerator |
| 39 | 39 | { |
| 40 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 40 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 41 | 41 | /** |
| 42 | 42 | * Return list of active generation modules |
| 43 | 43 | * |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | */ |
| 48 | 48 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 49 | 49 | { |
| 50 | - // phpcs:enable |
|
| 50 | + // phpcs:enable |
|
| 51 | 51 | $type = 'ficheinter'; |
| 52 | 52 | $list = array(); |
| 53 | 53 | |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | function fichinter_create($db, $object, $modele, $outputlangs, $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 85 | 85 | { |
| 86 | - // phpcs:enable |
|
| 86 | + // phpcs:enable |
|
| 87 | 87 | global $conf, $langs; |
| 88 | 88 | $langs->load("ficheinter"); |
| 89 | 89 | |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | $this->posxdesc = $this->marge_gauche + 1; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 120 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 121 | 121 | /** |
| 122 | 122 | * Function to build pdf onto disk |
| 123 | 123 | * |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | */ |
| 132 | 132 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 133 | 133 | { |
| 134 | - // phpcs:enable |
|
| 134 | + // phpcs:enable |
|
| 135 | 135 | global $user, $langs, $conf, $mysoc, $db, $hookmanager; |
| 136 | 136 | |
| 137 | 137 | if (!is_object($outputlangs)) { |
@@ -441,7 +441,7 @@ discard block |
||
| 441 | 441 | } |
| 442 | 442 | } |
| 443 | 443 | |
| 444 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 444 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 445 | 445 | /** |
| 446 | 446 | * Show table for lines |
| 447 | 447 | * |
@@ -514,7 +514,7 @@ discard block |
||
| 514 | 514 | } |
| 515 | 515 | } |
| 516 | 516 | |
| 517 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 517 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 518 | 518 | /** |
| 519 | 519 | * Show top header of page. |
| 520 | 520 | * |
@@ -704,7 +704,7 @@ discard block |
||
| 704 | 704 | return 0; |
| 705 | 705 | } |
| 706 | 706 | |
| 707 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 707 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 708 | 708 | /** |
| 709 | 709 | * Show footer of page. Need this->emetteur object |
| 710 | 710 | * |
@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | */ |
| 39 | 39 | abstract class ModelePDFSupplierProposal extends CommonDocGenerator |
| 40 | 40 | { |
| 41 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 41 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 42 | 42 | /** |
| 43 | 43 | * Return list of active generation modules |
| 44 | 44 | * |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | */ |
| 49 | 49 | public static function liste_modeles($db, $maxfilenamelength = 0) |
| 50 | 50 | { |
| 51 | - // phpcs:enable |
|
| 51 | + // phpcs:enable |
|
| 52 | 52 | $type = 'supplier_proposal'; |
| 53 | 53 | $list = array(); |
| 54 | 54 | |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | $this->atleastonediscount = 0; |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 156 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 157 | 157 | /** |
| 158 | 158 | * Function to build pdf onto disk |
| 159 | 159 | * |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | */ |
| 168 | 168 | public function write_file($object, $outputlangs, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 169 | 169 | { |
| 170 | - // phpcs:enable |
|
| 170 | + // phpcs:enable |
|
| 171 | 171 | global $user, $langs, $conf, $mysoc, $db, $hookmanager, $nblines; |
| 172 | 172 | |
| 173 | 173 | if (!is_object($outputlangs)) { |
@@ -693,8 +693,8 @@ discard block |
||
| 693 | 693 | } |
| 694 | 694 | } |
| 695 | 695 | |
| 696 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 697 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 696 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 697 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 698 | 698 | /** |
| 699 | 699 | * Show payments table |
| 700 | 700 | * |
@@ -706,12 +706,12 @@ discard block |
||
| 706 | 706 | */ |
| 707 | 707 | protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs) |
| 708 | 708 | { |
| 709 | - // phpcs:enable |
|
| 709 | + // phpcs:enable |
|
| 710 | 710 | return 1; |
| 711 | 711 | } |
| 712 | 712 | |
| 713 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 714 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 713 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 714 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 715 | 715 | /** |
| 716 | 716 | * Show miscellaneous information (payment mode, payment term, ...) |
| 717 | 717 | * |
@@ -723,7 +723,7 @@ discard block |
||
| 723 | 723 | */ |
| 724 | 724 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
| 725 | 725 | { |
| 726 | - // phpcs:enable |
|
| 726 | + // phpcs:enable |
|
| 727 | 727 | global $conf; |
| 728 | 728 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
| 729 | 729 | |
@@ -867,8 +867,8 @@ discard block |
||
| 867 | 867 | return $posy; |
| 868 | 868 | } |
| 869 | 869 | |
| 870 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 871 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 870 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 871 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 872 | 872 | /** |
| 873 | 873 | * Show total to pay |
| 874 | 874 | * |
@@ -881,7 +881,7 @@ discard block |
||
| 881 | 881 | */ |
| 882 | 882 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs) |
| 883 | 883 | { |
| 884 | - // phpcs:enable |
|
| 884 | + // phpcs:enable |
|
| 885 | 885 | global $conf, $mysoc; |
| 886 | 886 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
| 887 | 887 | |
@@ -1110,7 +1110,7 @@ discard block |
||
| 1110 | 1110 | return ($tab2_top + ($tab2_hl * $index)); |
| 1111 | 1111 | } |
| 1112 | 1112 | |
| 1113 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1113 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1114 | 1114 | /** |
| 1115 | 1115 | * Show table for lines |
| 1116 | 1116 | * |
@@ -1201,7 +1201,7 @@ discard block |
||
| 1201 | 1201 | } |
| 1202 | 1202 | } |
| 1203 | 1203 | |
| 1204 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1204 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1205 | 1205 | /** |
| 1206 | 1206 | * Show top header of page. |
| 1207 | 1207 | * |
@@ -1415,7 +1415,7 @@ discard block |
||
| 1415 | 1415 | return $top_shift; |
| 1416 | 1416 | } |
| 1417 | 1417 | |
| 1418 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1418 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1419 | 1419 | /** |
| 1420 | 1420 | * Show footer of page. Need this->emetteur object |
| 1421 | 1421 | * |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | |
| 135 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 135 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 136 | 136 | /** |
| 137 | 137 | * Function to build pdf onto disk |
| 138 | 138 | * |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | */ |
| 147 | 147 | public function write_file($object, $outputlangs = null, $srctemplatepath = '', $hidedetails = 0, $hidedesc = 0, $hideref = 0) |
| 148 | 148 | { |
| 149 | - // phpcs:enable |
|
| 149 | + // phpcs:enable |
|
| 150 | 150 | global $user, $langs, $conf, $hookmanager, $mysoc, $nblines; |
| 151 | 151 | |
| 152 | 152 | if (!is_object($outputlangs)) { |
@@ -822,8 +822,8 @@ discard block |
||
| 822 | 822 | } |
| 823 | 823 | } |
| 824 | 824 | |
| 825 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 826 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 825 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 826 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 827 | 827 | /** |
| 828 | 828 | * Show payments table |
| 829 | 829 | * |
@@ -835,12 +835,12 @@ discard block |
||
| 835 | 835 | */ |
| 836 | 836 | protected function _tableau_versements(&$pdf, $object, $posy, $outputlangs) |
| 837 | 837 | { |
| 838 | - // phpcs:enable |
|
| 838 | + // phpcs:enable |
|
| 839 | 839 | return 1; |
| 840 | 840 | } |
| 841 | 841 | |
| 842 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 843 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 842 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 843 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 844 | 844 | /** |
| 845 | 845 | * Show miscellaneous information (payment mode, payment term, ...) |
| 846 | 846 | * |
@@ -852,7 +852,7 @@ discard block |
||
| 852 | 852 | */ |
| 853 | 853 | protected function _tableau_info(&$pdf, $object, $posy, $outputlangs) |
| 854 | 854 | { |
| 855 | - // phpcs:enable |
|
| 855 | + // phpcs:enable |
|
| 856 | 856 | global $conf, $mysoc; |
| 857 | 857 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
| 858 | 858 | |
@@ -904,8 +904,8 @@ discard block |
||
| 904 | 904 | return $posy; |
| 905 | 905 | } |
| 906 | 906 | |
| 907 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 908 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 907 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 908 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps |
|
| 909 | 909 | /** |
| 910 | 910 | * Show total to pay |
| 911 | 911 | * |
@@ -918,7 +918,7 @@ discard block |
||
| 918 | 918 | */ |
| 919 | 919 | protected function _tableau_tot(&$pdf, $object, $deja_regle, $posy, $outputlangs) |
| 920 | 920 | { |
| 921 | - // phpcs:enable |
|
| 921 | + // phpcs:enable |
|
| 922 | 922 | global $conf, $mysoc; |
| 923 | 923 | |
| 924 | 924 | $default_font_size = pdf_getPDFFontSize($outputlangs); |
@@ -1109,7 +1109,7 @@ discard block |
||
| 1109 | 1109 | return ($tab2_top + ($tab2_hl * $index)); |
| 1110 | 1110 | } |
| 1111 | 1111 | |
| 1112 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1112 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1113 | 1113 | /** |
| 1114 | 1114 | * Show table for lines |
| 1115 | 1115 | * |
@@ -1164,7 +1164,7 @@ discard block |
||
| 1164 | 1164 | } |
| 1165 | 1165 | } |
| 1166 | 1166 | |
| 1167 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1167 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1168 | 1168 | /** |
| 1169 | 1169 | * Show top header of page. |
| 1170 | 1170 | * |
@@ -1432,7 +1432,7 @@ discard block |
||
| 1432 | 1432 | return $top_shift; |
| 1433 | 1433 | } |
| 1434 | 1434 | |
| 1435 | - // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1435 | + // phpcs:disable PEAR.NamingConventions.ValidFunctionName.PublicUnderscore |
|
| 1436 | 1436 | /** |
| 1437 | 1437 | * Show footer of page. Need this->emetteur object |
| 1438 | 1438 | * |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | $this->db = $db; |
| 90 | 90 | $this->name = "zenith"; |
| 91 | 91 | $this->description = $langs->trans('DocModelZenithDescription'); |
| 92 | - $this->update_main_doc_field = 1; // Save the name of generated file as the main doc when generating a doc with this template |
|
| 92 | + $this->update_main_doc_field = 1; // Save the name of generated file as the main doc when generating a doc with this template |
|
| 93 | 93 | |
| 94 | 94 | // Page size for A4 format |
| 95 | 95 | $this->type = 'pdf'; |