Merge pull request 'Removed export asn from invoice validation resource page' (#542) from ranjith-dev into master
Some checks are pending
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Waiting to run
Some checks are pending
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Waiting to run
Reviewed-on: #542
This commit was merged in pull request #542.
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user