Exemplo n.º 1
0
 protected function getDatatableActions($entityType)
 {
     return [[trans('texts.edit_payment'), function ($model) {
         return URL::to("payments/{$model->public_id}/edit");
     }, function ($model) {
         return Payment::canEditItem($model);
     }]];
 }