mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fix for counter increment
This commit is contained in:
parent
4fc60b02f4
commit
d37e513f9f
@ -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