Lines 67-73
Link Here
|
67 |
<td>[% invoice.description | html %]</td> |
67 |
<td>[% invoice.description | html %]</td> |
68 |
<td>[% invoice.default_amount | $Price %]</td> |
68 |
<td>[% invoice.default_amount | $Price %]</td> |
69 |
<td> |
69 |
<td> |
70 |
<button type="button" class="add_button" data-invoice-code="[% invoice.code | html %]" data-invoice-title="[% invoice.description | html %]" data-invoice-price="[% invoice.default_amount | html %]"><i class="fa fa-plus"></i> Add</button> |
70 |
<button type="button" class="btn btn-default btn-xs add_button" data-invoice-code="[% invoice.code | html %]" data-invoice-title="[% invoice.description | html %]" data-invoice-price="[% invoice.default_amount | html %]"><i class="fa fa-plus"></i> Add</button> |
71 |
</td> |
71 |
</td> |
72 |
</tr> |
72 |
</tr> |
73 |
[% END %] |
73 |
[% END %] |
Lines 112-122
Link Here
|
112 |
<ol> |
112 |
<ol> |
113 |
<li> |
113 |
<li> |
114 |
<label for="paid">Amount being paid: </label> |
114 |
<label for="paid">Amount being paid: </label> |
115 |
<input type="number" min="0.00" max="10000.00" step="0.01" name="paid" id="paid" value="[% amountoutstanding | $Price on_editing => 1 %]" readonly/> |
115 |
<input type="text" inputmode="numeric" pattern="[0-9]*" name="paid" id="paid" value="[% amountoutstanding | $Price on_editing => 1 %]" readonly/> |
116 |
</li> |
116 |
</li> |
117 |
<li> |
117 |
<li> |
118 |
<label for="collected">Amount tendered: </label> |
118 |
<label for="collected" class="required">Amount tendered: </label> |
119 |
<input type="number" min="0.00" max="10000.00" step="0.01" name="collected" id="collected" value=""/> |
119 |
<input type="text" inputmode="numeric" pattern="[0-9]*" name="collected" id="collected" value="" class="required" required="required" /> |
|
|
120 |
<span class="required">Required</span> |
120 |
</li> |
121 |
</li> |
121 |
<li> |
122 |
<li> |
122 |
<label>Change to give: </label> |
123 |
<label>Change to give: </label> |
Lines 127-137
Link Here
|
127 |
[% PROCESS account_payment_types %] |
128 |
[% PROCESS account_payment_types %] |
128 |
|
129 |
|
129 |
<li> |
130 |
<li> |
130 |
<label for="registerid">Cash register: </label> |
131 |
<label for="registerid" class="required">Cash register: </label> |
131 |
<select name="registerid" id="registerid"> |
132 |
<select name="registerid" id="registerid" class="required" required="required"> |
132 |
<option id="noregister" disabled selected="selected" value="">-- Select an option--</option> |
133 |
<option id="noregister" disabled selected="selected" value="">-- Select an option--</option> |
133 |
[% PROCESS options_for_registers %] |
134 |
[% PROCESS options_for_registers %] |
134 |
</select> |
135 |
</select> |
|
|
136 |
<span class="required">Required</span> |
135 |
</li> |
137 |
</li> |
136 |
</ol> |
138 |
</ol> |
137 |
|
139 |
|
Lines 242-248
Link Here
|
242 |
defaultPrice.value, |
244 |
defaultPrice.value, |
243 |
1, |
245 |
1, |
244 |
null, |
246 |
null, |
245 |
'<button class="drop" type="button"><i class="fa fa-trash"></i> Remove</button>', |
247 |
'<button class="btn btn-default btn-xs drop" type="button"><i class="fa fa-trash"></i> Remove</button>', |
246 |
invoiceCode |
248 |
invoiceCode |
247 |
] |
249 |
] |
248 |
); |
250 |
); |
249 |
- |
|
|