mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Add a substitution Category Of Operations into ODT generation for Invoices
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user