|
Lines 244-288
Link Here
|
| 244 |
|
244 |
|
| 245 |
[% INCLUDE 'modals/issue_payout.inc' %] |
245 |
[% INCLUDE 'modals/issue_payout.inc' %] |
| 246 |
[% INCLUDE 'modals/issue_refund.inc' %] |
246 |
[% INCLUDE 'modals/issue_refund.inc' %] |
| 247 |
|
247 |
[% INCLUDE 'modals/issue_refund.inc' %] |
| 248 |
<!-- Apply discount modal --> |
|
|
| 249 |
<div class="modal" id="applyDiscountModal" tabindex="-1" role="dialog" aria-labelledby="applyDiscountLabel"> |
| 250 |
<form id="discount_form" action="/cgi-bin/koha/members/boraccount.pl" method="post" enctype="multipart/form-data" class="validated"> |
| 251 |
[% INCLUDE 'csrf-token.inc' %] |
| 252 |
<input type="hidden" name="accountlines_id" value="" id="discountline"> |
| 253 |
<input type="hidden" name="op" value="cud-discount"> |
| 254 |
<input type="hidden" name="borrowernumber" value="[% account.borrowernumber | html %]"> |
| 255 |
<div class="modal-dialog" role="document"> |
| 256 |
<div class="modal-content"> |
| 257 |
<div class="modal-header"> |
| 258 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
| 259 |
<h4 class="modal-title" id="applyDiscountLabel">Apply discount</h4> |
| 260 |
</div> |
| 261 |
<div class="modal-body"> |
| 262 |
<fieldset class="rows"> |
| 263 |
<ol> |
| 264 |
<li> |
| 265 |
<span id="item" class="label">Account type: </span><span></span> |
| 266 |
</li> |
| 267 |
<li> |
| 268 |
<span id="charged" class="label">Amount charged: </span><span></span> |
| 269 |
</li> |
| 270 |
<li> |
| 271 |
<label class="required" for="amount">Discount to apply: </label> |
| 272 |
<input type="text" inputmode="numeric" pattern="[0-9]*" id="discount" name="amount" required="required"> |
| 273 |
<span class="required">Required</span> |
| 274 |
</li> |
| 275 |
</ol> |
| 276 |
</fieldset> <!-- /.rows --> |
| 277 |
</div> <!-- /.modal-body --> |
| 278 |
<div class="modal-footer"> |
| 279 |
<button type="submit" class="btn btn-default">Confirm</button> |
| 280 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
| 281 |
</div> <!-- /.modal-footer --> |
| 282 |
</div> <!-- /.modal-content --> |
| 283 |
</div> <!-- /.modal-dialog --> |
| 284 |
</form> <!-- /#discount_form --> |
| 285 |
</div> <!-- /#applyDiscountModal --> |
| 286 |
|
248 |
|
| 287 |
[% MACRO jsinclude BLOCK %] |
249 |
[% MACRO jsinclude BLOCK %] |
| 288 |
[% INCLUDE 'datatables.inc' %] |
250 |
[% INCLUDE 'datatables.inc' %] |
| 289 |
- |
|
|