Merge pull request 'Removed export asn invoice' (#519) 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: #519
This commit was merged in pull request #519.
This commit is contained in:
@@ -1142,13 +1142,13 @@ class InvoiceValidationResource extends Resource
|
|||||||
->visible(function () {
|
->visible(function () {
|
||||||
return Filament::auth()->user()->can('view export invoice');
|
return Filament::auth()->user()->can('view export invoice');
|
||||||
}),
|
}),
|
||||||
ExportAction::make()
|
// ExportAction::make()
|
||||||
->label('Export Axn')
|
// ->label('Export Asn')
|
||||||
->color('warning')
|
// ->color('warning')
|
||||||
->exporter(AxnExporter::class)
|
// ->exporter(AxnExporter::class)
|
||||||
->visible(function () {
|
// ->visible(function () {
|
||||||
return Filament::auth()->user()->can('view export axn invoice');
|
// return Filament::auth()->user()->can('view export asn invoice');
|
||||||
}),
|
// }),
|
||||||
])
|
])
|
||||||
|
|
||||||
->filters([
|
->filters([
|
||||||
|
|||||||
Reference in New Issue
Block a user