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 () {
|
->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([
|
||||||
|
|||||||
Reference in New Issue
Block a user