diff --git a/app.py b/app.py index 7a7ba9b..89bf9fd 100644 --- a/app.py +++ b/app.py @@ -1142,6 +1142,8 @@ def admin_request(rid): elif action == 'mark_paid_deliver': # Finalize: record Square payment ref, attach approved MP3s, email customer. + # Also capture the deliver_wav checkbox from the same form. + update_request(rid, deliver_wav=1 if request.form.get('deliver_wav') else 0) if req.get('customer_approved', 'none') == 'none': flash('Customer must approve a version before you can mark paid or deliver.', 'error') return redirect(url_for('admin_request', rid=rid)) diff --git a/templates/admin/request.html b/templates/admin/request.html index 068e81f..78aa097 100644 --- a/templates/admin/request.html +++ b/templates/admin/request.html @@ -537,16 +537,10 @@
Delivery options:
- +