mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix(webapp): auto-increment estimate transactions
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user