Save the name of generated file as the main doc when generating a doc with this template
This commit is contained in:
parent
e638c238c6
commit
0f196d7f19
@ -59,6 +59,11 @@ class pdf_standard extends ModeleExpenseReport
|
||||
*/
|
||||
public $description;
|
||||
|
||||
/**
|
||||
* @var int Save the name of generated file as the main doc when generating a doc with this template
|
||||
*/
|
||||
public $update_main_doc_field;
|
||||
|
||||
/**
|
||||
* @var string document type
|
||||
*/
|
||||
@ -133,6 +138,7 @@ class pdf_standard extends ModeleExpenseReport
|
||||
$this->db = $db;
|
||||
$this->name = "";
|
||||
$this->description = $langs->trans('PDFStandardExpenseReports');
|
||||
$this->update_main_doc_field = 1; // Save the name of generated file as the main doc when generating a doc with this template
|
||||
|
||||
// Page size for A4 format
|
||||
$this->type = 'pdf';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user