Removed export asn from invoice validation resource page #542

Merged
jothi merged 1 commits from ranjith-dev into master 2026-04-14 11:15:16 +00:00

View File

@@ -1135,20 +1135,20 @@ class InvoiceValidationResource extends Resource
->visible(function () {
return Filament::auth()->user()->can('view import invoice');
}),
ExportAction::make('invoice_export')
ExportAction::make()
->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([