mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 12:42:36 +01:00
API change for mobile app
This commit is contained in:
parent
c2e5ebfe1d
commit
2a621cfbb9
@ -69,7 +69,7 @@ class PaymentTransformer extends EntityTransformer
|
||||
'exchange_rate' => (float) $payment->exchange_rate,
|
||||
'exchange_currency_id' => (int) $payment->exchange_currency_id,
|
||||
'refunded' => (float) $payment->refunded,
|
||||
'payment_status_id' => (int) $payment->payment_status_id,
|
||||
'payment_status_id' => (int) ($payment->payment_status_id ?: PAYMENT_STATUS_COMPLETED),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user