mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Fix for sorting payment list by source
This commit is contained in:
parent
8545e9cff4
commit
d8835a09c0
@ -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…
x
Reference in New Issue
Block a user