Bjwebb / bookish

0 stars 2 forks source link

Should debits be displayed without the minus sign? #76

Open Bjwebb opened 9 years ago

Bjwebb commented 9 years ago
oldcreakyknees commented 9 years ago

Debits are displayed in the input forms without a minus sign. The figure's negative value is implied by the value showing in a debit column. Debits are stored as positive values. The field's negative value is implied by being stored in a debit field.

Debits are displayed with the minus sign in the output CSVs

caprenter commented 9 years ago

As a point of information, the debits will be stored in the database with a negative value - we use the 'amount' field of transaction_revision to do this.

How we display it, or get users to input it is a different matter.

For display, sometimes I see debits in red - is this useful (beware colour vision deficiency: http://www.nhs.uk/conditions/Colour-vision-deficiency/pages/introduction.aspx )?

Our ultimate goal for input would be inline in the same page as the rest of the rows of data, so that would be editing a credit or debit box directly (with an amount that would need to be stored as a negative for debits)

oldcreakyknees commented 9 years ago

Okay. Point taken.

The display of negative values in red is, I think, an accounting/book-keeping practice (in fact, red in brackets)

"... beware colour vision deficiency: " could we have an option to toggle "display negative values in red and brackets/display negative values with minus sign).

"Ultimately...", yes. I agree. (You may want to melt your brain a bit on this: http://www.dwmbeancounter.com/tutorial/lesson03.html) I think we should follow the bank statement approach where an unsigned value is used in both columns, and its value is determined from whether it's in the credit or debit column.