|
Lines 50-55
Link Here
|
| 50 |
</p> |
50 |
</p> |
| 51 |
[% END %] |
51 |
[% END %] |
| 52 |
[% SET total = 0 %] |
52 |
[% SET total = 0 %] |
|
|
53 |
[% SET total_quantity = 0 %] |
| 53 |
[% IF bookseller_filter %] |
54 |
[% IF bookseller_filter %] |
| 54 |
<p><a id="CheckAll" href="#"><i class="fa fa-check"></i> Check all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Uncheck all</a></p> |
55 |
<p><a id="CheckAll" href="#"><i class="fa fa-check"></i> Check all</a> <a id="CheckNone" href="#"><i class="fa fa-remove"></i> Uncheck all</a></p> |
| 55 |
[% END %] |
56 |
[% END %] |
|
Lines 108-114
Link Here
|
| 108 |
[% END %] |
109 |
[% END %] |
| 109 |
[% END %] |
110 |
[% END %] |
| 110 |
</td> |
111 |
</td> |
| 111 |
<td>[% lateorder.quantity | html %]</td> |
112 |
<td> |
|
|
113 |
[% lateorder.quantity | html %] |
| 114 |
[% SET total_quantity = total_quantity + lateorder.quantity %] |
| 115 |
</td> |
| 112 |
<td> |
116 |
<td> |
| 113 |
[% SET subtotal = (lateorder.quantity - lateorder.quantityreceived) * lateorder.rrp %] |
117 |
[% SET subtotal = (lateorder.quantity - lateorder.quantityreceived) * lateorder.rrp %] |
| 114 |
[% SET total = total + subtotal %] |
118 |
[% SET total = total + subtotal %] |
|
Lines 176-189
Link Here
|
| 176 |
<tfoot> |
180 |
<tfoot> |
| 177 |
<tr> |
181 |
<tr> |
| 178 |
<th colspan="6">Total</th> |
182 |
<th colspan="6">Total</th> |
|
|
183 |
<th>[% total_quantity | html %]</th> |
| 179 |
<th>[% total | $Price %]</th> |
184 |
<th>[% total | $Price %]</th> |
| 180 |
<th colspan="10"> </th> |
185 |
<th colspan="10"> </th> |
| 181 |
</tr> |
186 |
</tr> |
| 182 |
</tfoot> |
187 |
</tfoot> |
| 183 |
</table> |
188 |
</table> |
| 184 |
<div class="spacer"></div> |
|
|
| 185 |
|
189 |
|
| 186 |
<p style="display:block;"> |
190 |
<fieldset class="action"> |
| 187 |
<div class="btn-group"> |
191 |
<div class="btn-group"> |
| 188 |
<a id="exportbutton" class="btn btn-default" href="/cgi-bin/koha/acqui/lateorders-export.pl"><i class="fa fa-download"></i> Export as CSV</a> |
192 |
<a id="exportbutton" class="btn btn-default" href="/cgi-bin/koha/acqui/lateorders-export.pl"><i class="fa fa-download"></i> Export as CSV</a> |
| 189 |
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> |
193 |
<a class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></a> |
|
Lines 198-204
Link Here
|
| 198 |
</div> |
202 |
</div> |
| 199 |
|
203 |
|
| 200 |
<input type="submit" class="btn btn-default" value="Claim order" /> |
204 |
<input type="submit" class="btn btn-default" value="Claim order" /> |
| 201 |
</p> |
205 |
</fieldset> |
| 202 |
</form> |
206 |
</form> |
| 203 |
[% ELSE %]<p>There are no late orders.</p> |
207 |
[% ELSE %]<p>There are no late orders.</p> |
| 204 |
[% END %] |
208 |
[% END %] |
| 205 |
- |
|
|