feat: add operator-only notes field per request
This commit is contained in:
parent
41ca43b9c2
commit
3e25c3638b
5 changed files with 38 additions and 17 deletions
|
|
@ -9,10 +9,11 @@
|
|||
Single-request admin detail page.
|
||||
Sections:
|
||||
1. Customer info (with revisions note if any)
|
||||
2. Generate and save Suno prompt
|
||||
3. Upload Version A and Version B MP3s
|
||||
4. Send preview email with private player link
|
||||
5. Mark paid and deliver selected MP3(s)
|
||||
2. Operator notes (internal, operator-only)
|
||||
3. Generate and save Suno prompt
|
||||
4. Upload Version A and Version B MP3s
|
||||
5. Send preview email with private player link
|
||||
6. Mark paid and deliver selected MP3(s)
|
||||
*/
|
||||
body{
|
||||
font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
|
||||
|
|
@ -162,9 +163,23 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Section 2: Generate Suno prompt -->
|
||||
<!-- Section 2: Operator notes -->
|
||||
<div class="section">
|
||||
<h2>1. Generate & Save Suno Prompt</h2>
|
||||
<h2>Operator Notes</h2>
|
||||
<p class="copy-hint">Internal notes for the booth team. Customers cannot see this.</p>
|
||||
<form method="POST">
|
||||
<input type="hidden" name="action" value="save_operator_notes">
|
||||
<label for="operator_notes">Notes</label>
|
||||
<textarea id="operator_notes" name="operator_notes" rows="4" placeholder="e.g. paid cash, VIP friend, follow up...">{{ req.operator_notes or '' }}</textarea>
|
||||
<div class="actions">
|
||||
<button type="submit" class="secondary">Save Notes</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Section 3: Generate Suno prompt -->
|
||||
<div class="section">
|
||||
<h2>1. Generate & Save Suno Prompt</h2>
|
||||
|
||||
<button type="button" onclick="copyPromptForHermes()">Copy customer info for Hermes</button>
|
||||
<p class="copy-hint">Paste Hermes' Title, Style, and Lyrics directly into the fields below, then save.</p>
|
||||
|
|
@ -190,7 +205,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Section 3: Upload songs -->
|
||||
<!-- Section 4: Upload songs -->
|
||||
<div class="section">
|
||||
<h2>2. Upload Songs</h2>
|
||||
<p>
|
||||
|
|
@ -222,7 +237,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<!-- Section 4: Notify customer -->
|
||||
<!-- Section 5: Notify customer -->
|
||||
<div class="section">
|
||||
<h2>3. Notify Customer</h2>
|
||||
|
||||
|
|
@ -248,9 +263,9 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- Section 5: Payment & delivery -->
|
||||
<!-- Section 6: Payment & delivery -->
|
||||
<div class="section">
|
||||
<h2>4. Payment & Delivery</h2>
|
||||
<h2>4. Payment & Delivery</h2>
|
||||
<p>
|
||||
Customer approved:
|
||||
{% if req.customer_approved == 'none' %}
|
||||
|
|
|
|||
Reference in a new issue