mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix for counter increment
This commit is contained in:
parent
310834442a
commit
8c7065af23
@ -62,6 +62,7 @@ trait GeneratesNumbers
|
||||
|
||||
// update the counter to be caught up
|
||||
if ($counterOffset > 1) {
|
||||
$this->syncOriginal();
|
||||
if ($entity->isEntityType(ENTITY_CLIENT)) {
|
||||
if ($this->clientNumbersEnabled()) {
|
||||
$this->client_number_counter += $counterOffset - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user