## -*- coding: utf-8; -*- <%inherit file="/master/view.mako" /> <%def name="render_buefy_form()">
<${form.component} ref="mainForm" % if master.has_perm('confirm_price'): @confirm-price="showConfirmPrice" % endif % if master.has_perm('change_status'): @change-status="showChangeStatus" % endif % if master.has_perm('add_note'): @add-note="showAddNote" % endif >
<%def name="page_content()"> ${parent.page_content()} % if master.has_perm('confirm_price'): ${h.form(master.get_action_url('confirm_price', instance), ref='confirmPriceForm')} ${h.csrf_token(request)} ${h.hidden('note', **{':value': 'confirmPriceNote'})} ${h.end_form()} % endif % if master.has_perm('change_status'):
Current status is: 
{{ orderItemStatuses[oldStatusCode] }}
New status will be:

Please indicate any other item(s) to which the new status should be applied:


Please provide a note (will be applied to all selected items):


{{ changeStatusSubmitText }} Cancel
${h.form(master.get_action_url('change_status', instance), ref='changeStatusForm')} ${h.csrf_token(request)} ${h.hidden('new_status_code', **{'v-model': 'newStatusCode'})} ${h.hidden('uuids', **{':value': 'changeStatusCheckedRows.map((row) => {return row.uuid}).join()'})} ${h.hidden('note', **{':value': 'newStatusNote'})} ${h.end_form()} % endif % if master.has_perm('add_note'): % endif <%def name="modify_this_page_vars()"> ${parent.modify_this_page_vars()} ${parent.body()}