mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 21:44:34 -04:00
clean up (#2978)
This commit is contained in:
parent
6698609512
commit
3cbe60abda
@ -38,7 +38,6 @@ class StoreInvoiceRequest extends Request
|
|||||||
return [
|
return [
|
||||||
'client_id' => 'required',
|
'client_id' => 'required',
|
||||||
// 'invoice_type_id' => 'integer',
|
// 'invoice_type_id' => 'integer',
|
||||||
|
|
||||||
// 'documents' => 'mimes:png,ai,svg,jpeg,tiff,pdf,gif,psd,txt,doc,xls,ppt,xlsx,docx,pptx',
|
// 'documents' => 'mimes:png,ai,svg,jpeg,tiff,pdf,gif,psd,txt,doc,xls,ppt,xlsx,docx,pptx',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -283,9 +283,6 @@ trait MakesInvoiceValues
|
|||||||
|
|
||||||
$columns = $this->transformColumnsForLineItems($columns);
|
$columns = $this->transformColumnsForLineItems($columns);
|
||||||
|
|
||||||
//if(!is_array($this->line_items));
|
|
||||||
// return $data;
|
|
||||||
|
|
||||||
$items = $this->transformLineItems($this->line_items);
|
$items = $this->transformLineItems($this->line_items);
|
||||||
|
|
||||||
foreach($items as $item)
|
foreach($items as $item)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user