Skip to content
Snippets Groups Projects
Unverified Commit e1f805b9 authored by youngcw's avatar youngcw Committed by GitHub
Browse files

schedule default amount (#2360)

* schedule default amount

* note

* vrt
parent d0c11cd3
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -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,
......
---
category: Bugfix
authors: [youngcw]
---
Change default schedule amount so that the amount sign can be changed first and not be locked to "-"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment