Bug fixes
This commit is contained in:
parent
3d55dbc05b
commit
12ff43420f
|
|
@ -260,7 +260,7 @@ class Account extends Eloquent
|
||||||
$invoice->is_quote = true;
|
$invoice->is_quote = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->hasClientNumberPattern($invoice) && !$client) {
|
if ($this->hasClientNumberPattern($invoice) && !$clientId) {
|
||||||
// do nothing, we don't yet know the value
|
// do nothing, we don't yet know the value
|
||||||
} else {
|
} else {
|
||||||
$invoice->invoice_number = $this->getNextInvoiceNumber($invoice);
|
$invoice->invoice_number = $this->getNextInvoiceNumber($invoice);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue