solved issue for opening only asn invoice
Some checks failed
Gemini PR Review / Gemini PR Review (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Waiting to run
Laravel Larastan / larastan (pull_request) Waiting to run
Laravel Pint / pint (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Gemini PR Review / Gemini PR Review (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Waiting to run
Laravel Larastan / larastan (pull_request) Waiting to run
Laravel Pint / pint (pull_request) Waiting to run
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
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()
|
||||
ExportAction::make('invoice_export')
|
||||
->label('Export Invoices')
|
||||
->color('warning')
|
||||
->exporter(InvoiceValidationExporter::class)
|
||||
->visible(function () {
|
||||
return Filament::auth()->user()->can('view export invoice');
|
||||
}),
|
||||
// ExportAction::make()
|
||||
// ->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