Bind friendly planning quotes bookings and explicit hotseat consent (by Codex)

This commit is contained in:
Codex committed 2026-10-28 16:28:46 +01:00
1 parent cbde7b367e
commit 15d2ac0a4d
20 files changed
+422 -22

No files matched your search

+4
View File
@@ -8,6 +8,10 @@ Json App::engine_calendar_view() const {
for (const auto &row : schedule.at("movable")) if (row.at("id") == engine_move_id_) { view["source_day"] = row.at("day"); view["targets"] = row.at("targets"); }
for (const auto &row : schedule.at("moved")) view["moved_days"].push_back(row.at("day"));
} catch (const std::exception &) {} // a valid calendar also works without scheduling rights
if (menu_ == "friendlies") {
view["friendly_targets"] = Json::array();
if (engine_friendly_stage_ == 1 && engine_friendly_read_.is_object()) view["friendly_targets"] = engine_friendly_projection(engine_data_,engine_friendly_read_,engine_friendly_opponent_,engine_friendly_home_).at("days");
}
return view;
}
void App::engine_calendar_sync() {