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.
 
 
 
 
 

101 lines
3.8 KiB

<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-name="RepeatButton" name="Repeat Button">
<div class="control-button" style="width: 70%;margin-top: 5px;margin-bottom: -5px;">
Orders
</div>
</t>
<t t-extend="ProductScreenWidget">
<t t-jquery='div.placeholder-ActionpadWidget' t-operation='before'>
<div class="placeholder-RepeatButton"></div>
</t>
</t>
<t t-name="OrderLine">
<tr class='order-line' t-att-data-id='order.id'>
<td><t t-esc='order.pos_reference' /></td>
<td><t t-esc='order.partner_id[1]' /></td>
<td><t t-esc='order.date_order' /></td>
<td><button class="repeat-button repeat_order">Repeat Order</button></td>
</tr>
</t>
<t t-name="OrderListScreenWidget">
<div class="repeat-screen screen">
<div class="screen-content">
<section class="top-content">
<span class='button back'>
<i class='fa fa-angle-double-left'></i>
Cancel
</span>
<span class='searchbox'>
<input placeholder='Search' />
<span class='search-clear'></span>
</span>
<span class='searchbox'></span>
</section>
<section class="full-content">
<div class='window'>
<section class='subwindow'>
<div class='subwindow-container'>
<div class='subwindow-container-fix touch-scrollable scrollable-y'>
<table class='order-list'>
<thead>
<tr>
<th>Order Ref</th>
<th>Partner</th>
<th>Date</th>
</tr>
</thead>
<tbody class='order-list-contents'>
</tbody>
</table>
</div>
</div>
</section>
</div>
</section>
</div>
</div>
</t>
<t t-name="RepeatWidget">
<div class="modal-dialog" role="dialog">
<div class="popup popup-selection ">
<p class="title">Repeat Order</p>
<div class='selection scrollable-y touch-scrollable'>
<table id = "list" cellspacing = "1px" cellpadding = "10px" text-align = "center"
width="100%" style="border:1px;padding-left:1.16cm;">
<thead>
<tr>
<td>ID</td>
<td>Price</td>
<td>Name</td>
<td>Qty </td>
<td>Dis</td>
<td>Line</td>
<td>Quantity</td>
</tr>
</thead>
<tbody id="table-body">
</tbody>
</table>
</div>
<div class="footer">
<div class="button confirm">
Repeat
</div>
<div class="button cancel">
Cancel
</div>
</div>
</div>
</div>
</t>
</templates>