Merge pull request 'Added asn export in invoice validation' (#549) from ranjith-dev into master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled
Reviewed-on: #549
This commit was merged in pull request #549.
This commit is contained in:
@@ -1137,20 +1137,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('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