schedule default amount (#2360)

* schedule default amount

* note

* vrt
This commit is contained in:
youngcw
2024-02-20 10:07:18 -07:00
committed by GitHub
parent d0c11cd3af
commit e1f805b9c9
4 changed files with 8 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View File

@@ -95,7 +95,8 @@ export function ScheduleDetails({ modalProps, actions, id, transaction }) {
fields: {
payee: schedule._payee,
account: schedule._account,
amount: schedule._amount || 0,
// defalut to a non-zero value so the sign can be changed before the value
amount: schedule._amount || -1000,
amountOp: schedule._amountOp || 'isapprox',
date: schedule._date,
posts_transaction: action.schedule.posts_transaction,

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [youngcw]
---
Change default schedule amount so that the amount sign can be changed first and not be locked to "-"