mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +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) {
|
||||
$clone->terms = $account->invoice_terms;
|
||||
}
|
||||
if ($account->auto_convert_quote) {
|
||||
if (! auth()->check()) {
|
||||
$clone->is_public = true;
|
||||
$clone->invoice_status_id = INVOICE_STATUS_SENT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user