You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

41 lines
1.7 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--Template for location summary popup-->
<templates id="template" xml:space="preserve">
<t t-name="LocationSummaryPopup" owl="1">
<div class="popup">
<div class="modal-header">
<h4 class="modal-title title">
<t t-esc="props.title" />
</h4>
</div>
<main class="body">
<div class="order-summary">
<div>
<div>
<p class="label">Locations</p>
<select class="form-select"
t-model="state.selected_value"
style="width: 40%; margin:auto;border:solid;">
<option value="">None</option>
<t t-foreach="props.locations" t-as="item"
t-key="item.id">
<option t-att-value="item.id">
<t t-esc="item.name"/>
</option>
</t>
</select>
</div>
</div>
</div>
</main>
<footer class="footer modal-footer" style="margin-top:20px;">
<div class="button confirm highlight btn btn-lg btn-primary" t-on-click="confirm">
Confirm
</div>
<div class="button cancel btn btn-lg btn-secondary" t-on-click="props.close">
Cancel
</div>
</footer>
</div>
</t>
</templates>