Fix for sorting payment list by source
This commit is contained in:
parent
b024f99fbd
commit
6fad8c6bbb
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ class PaymentDatatable extends EntityDatatable
|
|||
}
|
||||
],
|
||||
[
|
||||
'source',
|
||||
'payment_type_id',
|
||||
function ($model) {
|
||||
$code = str_replace(' ', '', strtolower($model->payment_type));
|
||||
$card_type = trans('texts.card_' . $code);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue