close #2923 Enhancement: Missing document item description import/export excel
This commit is contained in:
		@@ -22,6 +22,7 @@ class BillItems extends Export
 | 
			
		||||
 | 
			
		||||
        $model->bill_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,7 +33,7 @@ class BillItems extends Export
 | 
			
		||||
        return [
 | 
			
		||||
            'bill_number',
 | 
			
		||||
            'item_name',
 | 
			
		||||
            'item_type',
 | 
			
		||||
            'item_description',
 | 
			
		||||
            'quantity',
 | 
			
		||||
            'price',
 | 
			
		||||
            'total',
 | 
			
		||||
 
 | 
			
		||||
@@ -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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user