Add a substitution Category Of Operations into ODT generation for Invoices
This commit is contained in:
parent
11da2351df
commit
0671ec697f
1 changed files with 1 additions and 0 deletions
|
|
@ -343,6 +343,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures
|
|||
$nbProduct = 0;
|
||||
$nbService = 0;
|
||||
foreach ($object->lines as $line) {
|
||||
|
||||
// determine category of operation
|
||||
if ($categoryOfOperation < 2) {
|
||||
$lineProductType = $line->product_type;
|
||||
|
|
|
|||
Loading…
Reference in a new issue