fix(webapp): auto-increment estimate transactions

This commit is contained in:
a.bouhuolia
2023-05-25 22:04:21 +02:00
parent aaceea5338
commit e92c4486aa
7 changed files with 48 additions and 18 deletions

View File

@@ -154,7 +154,7 @@ export function transformValueToRequest(values) {
);
return {
...omit(values, ['invoice_no', 'invoice_no_manually']),
// The `invoice_no_manually` will be presented just in case the auto-increment
// The `invoice_no_manually` will be presented just if the auto-increment
// is disable, always both attributes hold the same value in manual mode.
...(values.invoice_no_manually && {
invoice_no: values.invoice_no,