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

Reviewed-on: #165
This commit was merged in pull request #165.
This commit is contained in:
2026-01-04 10:37:33 +00:00

View File

@@ -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');