added datagrid table
This commit is contained in:
@@ -4,6 +4,8 @@ namespace App\Filament\Resources\InvoiceValidationResource\Pages;
|
||||
|
||||
use App\Filament\Resources\InvoiceValidationResource;
|
||||
use Filament\Actions;
|
||||
use Filament\Actions\Action;
|
||||
use Filament\Forms\Components\FileUpload;
|
||||
use Filament\Resources\Pages\ListRecords;
|
||||
|
||||
class ListInvoiceValidations extends ListRecords
|
||||
@@ -16,4 +18,12 @@ class ListInvoiceValidations extends ListRecords
|
||||
Actions\CreateAction::make(),
|
||||
];
|
||||
}
|
||||
|
||||
//to hide the data from the table
|
||||
protected function getTableQuery(): \Illuminate\Database\Eloquent\Builder
|
||||
{
|
||||
return static::getResource()::getEloquentQuery()->whereRaw('1 = 0');
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user