clientda galdym
This commit is contained in:
parent
5853730cce
commit
e509583e4e
|
|
@ -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([
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@
|
|||
'yes' => 'Yes',
|
||||
'no' => 'No',
|
||||
'client' => [
|
||||
'title' => 'client',
|
||||
'list_title' => 'clients',
|
||||
'is_verified' => 'Is verified?',
|
||||
'is_suspended' => 'is_suspended',
|
||||
|
|
|
|||
Loading…
Reference in New Issue