From 629d8069f74091c2a082dc37e6b59c3ef8e9a139 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Mon, 16 Nov 2026 19:21:10 +0000 Subject: [PATCH] Say the app no longer writes a second leg for a cost --- docs/TODO.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index 0daf86b..6ff4d14 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -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