Prevent purging data from enabling client counter
This commit is contained in:
parent
42032f5e9a
commit
697e224bed
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class PurgeAccountData extends Job
|
|||
|
||||
$account->invoice_number_counter = 1;
|
||||
$account->quote_number_counter = 1;
|
||||
$account->client_number_counter = 1;
|
||||
$account->client_number_counter = $account->client_number_counter > 0 ? 1 : 0;
|
||||
$account->save();
|
||||
|
||||
if (env('MULTI_DB_ENABLED')) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue