2 Commits

Author SHA1 Message Date
c51f6a602d Merge pull request 'Added asn export in invoice validation' (#549) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #549
2026-04-29 04:50:59 +00:00
dhanabalan
9831b90543 Added asn export in invoice validation
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Gemini PR Review / Gemini PR Review (pull_request) Has been cancelled
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Has been cancelled
Laravel Larastan / larastan (pull_request) Has been cancelled
Laravel Pint / pint (pull_request) Has been cancelled
2026-04-29 10:20:29 +05:30

View File

@@ -1137,20 +1137,20 @@ class InvoiceValidationResource extends Resource
->visible(function () {
return Filament::auth()->user()->can('view import invoice');
}),
ExportAction::make()
ExportAction::make('invoice_export')
->label('Export Invoices')
->color('warning')
->exporter(InvoiceValidationExporter::class)
->visible(function () {
return Filament::auth()->user()->can('view export invoice');
}),
// ExportAction::make('axn_export')
// ->label('Export Asn')
// ->color('warning')
// ->exporter(AxnExporter::class)
// ->visible(function () {
// return Filament::auth()->user()->can('view export asn invoice');
// }),
ExportAction::make('axn_export')
->label('Export Asn')
->color('warning')
->exporter(AxnExporter::class)
->visible(function () {
return Filament::auth()->user()->can('view export asn invoice');
}),
])
->filters([