mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Fix for sorting payment list by source
This commit is contained in:
parent
b024f99fbd
commit
6fad8c6bbb
@ -52,7 +52,7 @@ class PaymentDatatable extends EntityDatatable
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'source',
|
'payment_type_id',
|
||||||
function ($model) {
|
function ($model) {
|
||||||
$code = str_replace(' ', '', strtolower($model->payment_type));
|
$code = str_replace(' ', '', strtolower($model->payment_type));
|
||||||
$card_type = trans('texts.card_' . $code);
|
$card_type = trans('texts.card_' . $code);
|
||||||
|
Loading…
Reference in New Issue
Block a user