Merge pull request 'Added delete logic inside the invoice in transits resource page' (#165) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 12s
Reviewed-on: #165
This commit was merged in pull request #165.
This commit is contained in:
@@ -256,6 +256,7 @@ class InvoiceInTransitResource extends Resource
|
||||
->directory('uploads/temp'),
|
||||
])
|
||||
->action(function (array $data) {
|
||||
InvoiceInTransit::truncate();
|
||||
$uploadedFile = $data['invoice_in_transit_file'];
|
||||
|
||||
$disk = Storage::disk('local');
|
||||
|
||||
Reference in New Issue
Block a user