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
Showing only changes of commit 78a18764c7 - Show all commits

View File

@@ -1135,20 +1135,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('invoice_export') ExportAction::make()
->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([