Many templates were minified onto a single line. Reformatted every template under
resources/templates/ with djLint (django profile, 2-space indent) so the markup,
{% %} blocks, and {{ }} interpolations are human-readable, plus hand-split the two
multi-<span> option partials (invoice-option / rule-option). Pure reflow — no markup,
tag, or text content changed (the only content-adjacent delta is harmless trailing
whitespace inside single-interpolation elements). link.html / panel-empty.html stay on
one line (single element). resources/public/index.html left as-is (already readable,
non-template static).
Full e2e suite 72/72 green (no rendering regressions).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
22 lines
912 B
HTML
22 lines
912 B
HTML
{# Sales-summary modal body: a read-only Debits | Credits two-column view of the auto
|
|
items (each account is inline-editable), a swappable totals/balance block, and an
|
|
editable Manual Items section with a working "New Summary Item" add. #}
|
|
<div class="space-y-4 p-2">
|
|
<div class="grid grid-cols-2 gap-6">
|
|
<div>
|
|
<div class="font-semibold text-sm mb-2">Debits</div>
|
|
<div class="space-y-1">{{ debit_rows|safe }}</div>
|
|
</div>
|
|
<div>
|
|
<div class="font-semibold text-sm mb-2">Credits</div>
|
|
<div class="space-y-1">{{ credit_rows|safe }}</div>
|
|
</div>
|
|
</div>
|
|
<div id="summary-totals">{{ totals|safe }}</div>
|
|
<div class="mt-4 border-t pt-3">
|
|
<div class="font-semibold text-sm mb-2">Manual Items</div>
|
|
<div class="space-y-2" id="manual-items">{{ manual_rows|safe }}</div>
|
|
<div class="mt-2 flex justify-center">{{ new_item_button|safe }}</div>
|
|
</div>
|
|
</div>
|