mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Fix is_manual when marking an invoice as paid
This commit is contained in:
parent
0f5eb27a03
commit
b457cbfe15
@ -56,6 +56,7 @@ class MarkPaid extends AbstractService
|
||||
$payment->client_id = $this->invoice->client_id;
|
||||
$payment->transaction_reference = ctrans('texts.manual_entry');
|
||||
$payment->currency_id = $this->invoice->client->getSetting('currency_id');
|
||||
$payment->is_manual = true;
|
||||
/* Create a payment relationship to the invoice entity */
|
||||
$payment->save();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user