Don't mark converted quote as sent
This commit is contained in:
parent
697de9b3b2
commit
ac5cd8a806
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue