mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04: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
|
// update the counter to be caught up
|
||||||
if ($counterOffset > 1) {
|
if ($counterOffset > 1) {
|
||||||
|
$this->syncOriginal();
|
||||||
if ($entity->isEntityType(ENTITY_CLIENT)) {
|
if ($entity->isEntityType(ENTITY_CLIENT)) {
|
||||||
if ($this->clientNumbersEnabled()) {
|
if ($this->clientNumbersEnabled()) {
|
||||||
$this->client_number_counter += $counterOffset - 1;
|
$this->client_number_counter += $counterOffset - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user