What the game already states is shown: planned income, both clubs of a report, photos in the line-up, an opponent's place

Bilanz > Zukunft shows the expected income and the result of the plan beside
the planned costs. A match report in the inbox carries the crests of both
clubs. The line-up's rows begin with the player's photo. The stadium's
curves name their lowest, highest and latest figure. The friendly plan
states the place in the table and the games played of every league club,
and the opponent's tile shows them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-16 13:41:30 +01:00
1 parent 205e98973b
commit 11264ccdb5
9 files changed
+67 -7

No files matched your search

+12 -2
View File
@@ -21,8 +21,18 @@ std::string App::render_balance() {
std::string(engine_mode_&&row.at("editable")!=true?"disabled":"")) + "</div>";
++i;
}
out += "</div></section><div class=\"pg-col\" style=\"width:" + pg(400) + ";\"><div style=\"display:flex;\">" + pg_stat("Geplante Ausgaben", esc(balance_cash(rows.at("plan_total").get<int64_t>())), "Summe für zwölf Monate") +
"</div><div style=\"display:flex;\">" + pg_stat("Kontostand", esc(balance_cash(rows.at("cash").get<int64_t>())), "heute") + "</div></div></div>";
out += "</div></section><div class=\"pg-col\" style=\"width:" + pg(460) + ";" + pg_css("gap:8px;") + "\"><div style=\"display:flex;\">" + pg_stat("Geplante Ausgaben", esc(balance_cash(rows.at("plan_total").get<int64_t>())), "Summe für zwölf Monate") + "</div>";
// what the plan expects to come in, and what is left of it: the game states both
if (rows.contains("income_total")) {
const int64_t net = rows.at("balance").get<int64_t>();
out += "<div style=\"display:flex;\">" + pg_stat("Erwartete Einnahmen", esc(balance_cash(rows.at("income_total").get<int64_t>())), "Summe für zwölf Monate") + "</div><div style=\"display:flex;\">" +
pg_stat("Ergebnis der Planung", "<span class=\"" + std::string(net < 0 ? "balance-loss" : "balance-gain") + "\">" + esc(balance_cash(net)) + "</span>", net < 0 ? "Die Planung schließt im Minus" : "Einnahmen abzüglich Ausgaben") +
"</div><section class=\"pg-panel pg-col pg-grow\" style=\"" + pg_css("gap:0px;padding:10px 16px;") + "\">" + pg_kicker("Erwartete Einnahmen");
for (const auto &row : rows.at("income"))
out += "<div class=\"pg-kv\"><span>" + esc(row.at("name").get<std::string>()) + "</span><strong>" + esc(balance_cash(row.at("amount").get<int64_t>())) + "</strong></div>";
out += "</section>";
}
out += "<div style=\"display:flex;\">" + pg_stat("Kontostand", esc(balance_cash(rows.at("cash").get<int64_t>())), "heute") + "</div></div></div>";
status = "Planung für zwölf Monate.";
} else {
int64_t sums[2] = {0, 0};