close #2923 Enhancement: Missing document item description import/export excel

This commit is contained in:
Cüneyt Şentürk
2023-03-09 16:45:20 +03:00
parent a1da29d908
commit dfda25562a
5 changed files with 10 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ class InvoiceItems extends Export
$model->invoice_number = $document->document_number;
$model->item_name = $model->item->name;
$model->item_description = $model->item->description;
$model->item_type = $model->item->type;
return parent::map($model);
@@ -32,6 +33,7 @@ class InvoiceItems extends Export
return [
'invoice_number',
'item_name',
'item_description',
'item_type',
'quantity',
'price',