Added asn export in invoice validation #549

Merged
jothi merged 1 commits from ranjith-dev into master 2026-04-29 04:51:00 +00:00

View File

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