public_id}/edit", $model->name)->toHtml(); }, ], [ 'rate', function ($model) { return $model->rate . '%'; }, ], [ 'type', function ($model) { return $model->is_inclusive ? trans('texts.inclusive') : trans('texts.exclusive'); }, ], ]; } public function actions() { return [ [ uctrans('texts.edit_tax_rate'), function ($model) { return URL::to("tax_rates/{$model->public_id}/edit"); }, ], ]; } }