mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:24:31 -04:00
Update MarkPaid.php (#3282)
This commit is contained in:
parent
cda534e996
commit
c2524f55da
@ -32,7 +32,7 @@ class MarkPaid
|
||||
{
|
||||
|
||||
if($invoice->status_id == Invoice::STATUS_DRAFT)
|
||||
$invoice->markSent();
|
||||
$invoice->service()->markSent();
|
||||
|
||||
/* Create Payment */
|
||||
$payment = PaymentFactory::create($invoice->company_id, $invoice->user_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user