1
0
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:
Hillel Coren 2018-09-03 12:35:17 +03:00
parent c2e5ebfe1d
commit 2a621cfbb9

View File

@ -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),
]);
}
}