public_id}/edit", trans('texts.payment_terms_net') . ' ' . ($model->num_days == -1 ? 0 : $model->num_days))->toHtml(); }, ], ]; } public function actions() { return [ [ trans('texts.edit_payment_term'), function ($model) { return URL::to("payment_terms/{$model->public_id}/edit"); }, ], ]; } }