Move MusicGPT cost totals from pricing page to sales page

This commit is contained in:
Troll (Hermes Agent) 2026-08-11 03:16:28 +00:00
parent 0c79984619
commit af91664ed0
3 changed files with 29 additions and 26 deletions

View file

@ -42,6 +42,29 @@
<h1>Sales Report</h1>
{% if sales %}
<div class="section" style="background:#1f2937;padding:1rem;border-radius:.5rem;margin-bottom:1rem">
<h2 style="margin-top:0">MusicGPT Costs (USD)</h2>
<div class="price-row" style="display:grid;grid-template-columns:repeat(4,1fr);gap:1rem">
<div>
<p class="hint" style="margin:0">Songs generated</p>
<p style="font-size:1.25rem;font-weight:700;margin:.25rem 0">{{ cost_totals.song_count }}</p>
</div>
<div>
<p class="hint" style="margin:0">Completed A/B pairs</p>
<p style="font-size:1.25rem;font-weight:700;margin:.25rem 0">{{ cost_totals.completed_pairs }}</p>
</div>
<div>
<p class="hint" style="margin:0">Music cost total</p>
<p style="font-size:1.25rem;font-weight:700;margin:.25rem 0">${{ "%.4f"|format(cost_totals.total_cost) }}</p>
</div>
<div>
<p class="hint" style="margin:0">Stems cost total</p>
<p style="font-size:1.25rem;font-weight:700;margin:.25rem 0">${{ "%.4f"|format(cost_totals.stems_total) }}</p>
</div>
</div>
<p class="hint" style="margin-top:.5rem">Per-song cost approx. $0.035$0.045 USD on the current MusicGPT plan (v6 / v6-pro).</p>
</div>
<table>
<thead>
<tr>