Fix for counter increment
This commit is contained in:
parent
4fc60b02f4
commit
d37e513f9f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue