Added item_type column to the document's export file
This commit is contained in:
		@@ -22,6 +22,7 @@ class InvoiceItems extends Export
 | 
			
		||||
 | 
			
		||||
        $model->invoice_number = $document->document_number;
 | 
			
		||||
        $model->item_name = $model->item->name;
 | 
			
		||||
        $model->item_type = $model->item->type;
 | 
			
		||||
 | 
			
		||||
        return parent::map($model);
 | 
			
		||||
    }
 | 
			
		||||
@@ -31,6 +32,7 @@ class InvoiceItems extends Export
 | 
			
		||||
        return [
 | 
			
		||||
            'invoice_number',
 | 
			
		||||
            'item_name',
 | 
			
		||||
            'item_type',
 | 
			
		||||
            'quantity',
 | 
			
		||||
            'price',
 | 
			
		||||
            'total',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user