Record the single-leg cost and the no-negative rule
This commit is contained in:
1 parent
5962fbedcc
commit
fba9fdb64a
1 file changed
+2
@@ -68,6 +68,8 @@ a later project; the only concession to it is that the DDL lives in `schema.sql`
|
||||
| D33 | Kroner move only between an account and the bank, never between two real accounts | The owner asked for it: kroner on an exchange are not a holding to move around, but fiat goes in and out through the bank |
|
||||
| D34 | `Til` is always required, and the bank may be chosen there or as the account of a kroner transfer | It replaces the empty-`Til` withdrawal: nothing leaves the ledger silently, and where the money went is visible as a stored pair |
|
||||
| D35 | A `trade` buy is refused when the kroner do not cover it | The owner asked whether a buy should draw on available kroner; buying with money the account does not hold is the same mistake as selling coins it does not hold, and the remedy is a deposit from the bank |
|
||||
| D36 | A `Forvaltningskostnad` is one `leg_out_ore` on the bank, and it must have the kroner there | The owner asked whether the two equal legs were wrong: they were, once the bank became a real account, because the cost never reduced it and the "in" leg was a movement that never happened |
|
||||
| D37 | No account, the bank included, may go negative | The owner's rule: every payment that would overdraw is refused, and the remedy is to record where the money came from |
|
||||
|
||||
## Phase A — application core (steps 1-16) — DONE
|
||||
|
||||
|
||||
Reference in new issue
Block a user