Compare commits
2 Commits
1bc0a4b01d
...
6db07e1825
| Author | SHA1 | Date | |
|---|---|---|---|
| 6db07e1825 | |||
|
|
469e0e1bbe |
@@ -256,6 +256,7 @@ class InvoiceInTransitResource extends Resource
|
|||||||
->directory('uploads/temp'),
|
->directory('uploads/temp'),
|
||||||
])
|
])
|
||||||
->action(function (array $data) {
|
->action(function (array $data) {
|
||||||
|
InvoiceInTransit::truncate();
|
||||||
$uploadedFile = $data['invoice_in_transit_file'];
|
$uploadedFile = $data['invoice_in_transit_file'];
|
||||||
|
|
||||||
$disk = Storage::disk('local');
|
$disk = Storage::disk('local');
|
||||||
|
|||||||
Reference in New Issue
Block a user