mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Don't mark converted quote as sent
This commit is contained in:
parent
697de9b3b2
commit
ac5cd8a806
@ -881,7 +881,7 @@ class InvoiceRepository extends BaseRepository
|
|||||||
if ($account->invoice_terms) {
|
if ($account->invoice_terms) {
|
||||||
$clone->terms = $account->invoice_terms;
|
$clone->terms = $account->invoice_terms;
|
||||||
}
|
}
|
||||||
if ($account->auto_convert_quote) {
|
if (! auth()->check()) {
|
||||||
$clone->is_public = true;
|
$clone->is_public = true;
|
||||||
$clone->invoice_status_id = INVOICE_STATUS_SENT;
|
$clone->invoice_status_id = INVOICE_STATUS_SENT;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user