From c075c155726f79599d0b1d5cc48ad8f38dda147f Mon Sep 17 00:00:00 2001 From: merdan Date: Tue, 22 Nov 2022 12:58:25 +0500 Subject: [PATCH] acc --- .../Controllers/Admin/AccountCrudController.php | 2 +- app/Models/Account.php | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Http/Controllers/Admin/AccountCrudController.php b/app/Http/Controllers/Admin/AccountCrudController.php index 5ec629a1..25cf7102 100755 --- a/app/Http/Controllers/Admin/AccountCrudController.php +++ b/app/Http/Controllers/Admin/AccountCrudController.php @@ -66,7 +66,7 @@ protected function setupListOperation() CRUD::addColumn(['name'=>'country_id', 'type'=>'select','label'=> trans('app.account.country'), 'entity' => 'country' ,'model' => 'App\Model\Country','attribute' => 'name']); $this->crud->addButtonFromModelFunction('line', 'preview_button', 'preview', 'beginning'); - $this->crud->addButtonFromModelFunction('line', 'export_button', 'export_account', 'beginning'); +// $this->crud->addButtonFromModelFunction('line', 'export_button', 'export_account', 'beginning'); } /** diff --git a/app/Models/Account.php b/app/Models/Account.php index 6a361537..abf53957 100755 --- a/app/Models/Account.php +++ b/app/Models/Account.php @@ -40,7 +40,7 @@ class Account extends Model |-------------------------------------------------------------------------- */ public function preview(){ - return ' + return ' @@ -48,13 +48,13 @@ public function preview(){ Preview'; } - public function export_account(){ - return ' - - - - Export'; - } +// public function export_account(){ +// return ' +// +// +// +// Export'; +// } /* |--------------------------------------------------------------------------