Add notes to edit billing details page

As per ticket and as per Caley's request, so everything can be
edited together.

Also pluralise labels for billing contact info, to indicate
that putting multiple in is ok, and widen the input fields so
that it is more comfortable to input multiple contact details.
This commit is contained in:
Pea Tyczynska
2021-01-27 18:20:25 +00:00
parent 079f371bc5
commit c60be7000a
4 changed files with 36 additions and 13 deletions

View File

@@ -1218,7 +1218,8 @@ def edit_service_billing_details(service_id):
billing_contact_email_addresses=current_service.billing_contact_email_addresses,
billing_contact_names=current_service.billing_contact_names,
billing_reference=current_service.billing_reference,
purchase_order_number=current_service.purchase_order_number
purchase_order_number=current_service.purchase_order_number,
notes=current_service.notes,
)
if form.validate_on_submit():
@@ -1226,7 +1227,8 @@ def edit_service_billing_details(service_id):
billing_contact_email_addresses=form.billing_contact_email_addresses.data,
billing_contact_names=form.billing_contact_names.data,
billing_reference=form.billing_reference.data,
purchase_order_number=form.purchase_order_number.data
purchase_order_number=form.purchase_order_number.data,
notes=form.notes.data,
)
return redirect(url_for('.service_settings', service_id=service_id))