fix: prisma client error
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s
This commit is contained in:
parent
0c53ac69b0
commit
6c350b12ce
1 changed files with 2 additions and 0 deletions
|
|
@ -326,6 +326,8 @@ export class CustomerController extends Controller {
|
||||||
...v,
|
...v,
|
||||||
code: `${runningKey.replace(`CUSTOMER_BRANCH_${company}_`, "")}-${`${last.value - branch.length + i}`.padStart(2, "0")}`,
|
code: `${runningKey.replace(`CUSTOMER_BRANCH_${company}_`, "")}-${`${last.value - branch.length + i}`.padStart(2, "0")}`,
|
||||||
codeCustomer: runningKey.replace(`CUSTOMER_BRANCH_${company}_`, ""),
|
codeCustomer: runningKey.replace(`CUSTOMER_BRANCH_${company}_`, ""),
|
||||||
|
businessType: connectOrNot(v.businessTypeId),
|
||||||
|
businessTypeId: undefined,
|
||||||
agentUser: connectOrNot(v.agentUserId),
|
agentUser: connectOrNot(v.agentUserId),
|
||||||
agentUserId: undefined,
|
agentUserId: undefined,
|
||||||
province: connectOrNot(v.provinceId),
|
province: connectOrNot(v.provinceId),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue