clientda galdym

This commit is contained in:
merdan 2022-11-08 13:34:11 +05:00
parent 5853730cce
commit e509583e4e
2 changed files with 3 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public function setup()
{
CRUD::setModel(\App\Models\Client::class);
CRUD::setRoute(config('backpack.base.route_prefix') . '/client');
CRUD::setEntityNameStrings('client', trans('app.client.list_title'));
CRUD::setEntityNameStrings(trans('app.client.title'), trans('app.client.list_title'));
$this->crud->addFilter([
'name' => 'is_verified',
@ -60,7 +60,7 @@ public function setup()
*/
protected function setupListOperation()
{
CRUD::column('firstname');
CRUD::addColumns(['name' => 'firstname','type'=>'text','label'=>'firstname']);
CRUD::column('lastname');
CRUD::column('email');
CRUD::addColumns([

View File

@ -80,6 +80,7 @@
'yes' => 'Yes',
'no' => 'No',
'client' => [
'title' => 'client',
'list_title' => 'clients',
'is_verified' => 'Is verified?',
'is_suspended' => 'is_suspended',