mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
code refactor
This commit is contained in:
@@ -544,12 +544,10 @@ function updateClosingBalance(balance?: number): void {
|
||||
|
||||
if (setTransactionTime) {
|
||||
params.push(`time=${newTransactionTime}`);
|
||||
params.push('withTime=true');
|
||||
}
|
||||
|
||||
params.push(`type=${newTransactionType}`);
|
||||
params.push(`amount=${newTransactionAmount}`);
|
||||
params.push(`withAmount=true`);
|
||||
params.push(`accountId=${accountId.value}`);
|
||||
params.push(`noTransactionDraft=true`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user