Say the app no longer writes a second leg for a cost

This commit is contained in:
ai-bot committed 2026-11-16 19:21:10 +00:00
1 parent c18a15d454
commit 629d8069f7
1 file changed
+4 -3
+4 -3
View File
@@ -306,10 +306,11 @@ bank, and one that a deposit covers.
### B5.5 `app.py`
Allow the bank as the `market_id` or the `to_market_id` of a kroner `transfer_out` (and keep it
refused everywhere else), drop the branch that wrote no pair, and let `GET /api/markets` carry
the bank with `bank: true` and `kroner_ore`.
refused everywhere else), stop writing the second leg of an `admin_cost` (the cost is one
`leg_out_ore` on the bank, per D36), drop the branch that wrote no pair, and let `GET /api/markets`
carry the bank with `bank: true` and `kroner_ore`.
**Verify:** `curl` a withdrawal to the bank, a deposit from it, kroner between two real accounts
(refused), and a `Forvaltningskostnad`.
(refused), a `Forvaltningskostnad`, and a cost that overdraws the bank (refused).
### B5.6 `static/transaction.html`, `static/transaction.js`, tests
Offer the bank in `Til` and in `Marknad` only for a kroner `Overføring ut`, drop the withdrawal