{#- An operations plugin's Opening balances (spec/plugin-pages-follow-their- role): notices, how many await one, then the plugin's form in `vendor_sections`, "Confirm" its verb. `data` is a meridian.roles.operations.OpeningBalancesRead. "Nothing to confirm" is said only where the person reaches no account here; with accounts and none awaiting, the count is not drawn. `prepared`, where the page was opened from a prepared change, `request.prepared()`'s answer. Where "confirm_opening_balance" is in `caller.second_pair_of_eyes` the page says a second person makes the change, and the plugin's form offers Prepare and no Confirm. -#} {% extends "meridian/base.html" %} {% import "meridian/roles/_rows.html" as om %} {% block content %} {% if prepared %}
Prepared by {{ prepared.prepared_through_client or prepared.prepared_by_display_name }}{% if prepared.reason %}: {{ prepared.reason }}{% endif %}
{% endif %} {{ om.second_pair_of_eyes("confirm_opening_balance", caller, prepared) }} {% block vendor_notices %}{% endblock %} {% if not caller.read %} {{ om.next_step("Nothing to confirm", "No account is in this plugin's scope yet; a deployment admin grants it.") }} {% elif data.awaiting_an_opening_balance %}

Opening balances

{% set section = "Opening balances" %} {{ om.row("Awaiting an opening balance", data.awaiting_an_opening_balance) }} {% block vendor_rows scoped %}{% endblock %}
{% endif %} {% block vendor_sections %}{% endblock %} {% endblock %}