Lines 242-301
Link Here
|
242 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
242 |
</div> <!-- /.col-sm-2.col-sm-pull-10 --> |
243 |
</div> <!-- /.row --> |
243 |
</div> <!-- /.row --> |
244 |
|
244 |
|
245 |
<!-- Issue payout modal --> |
245 |
[% INCLUDE 'modals/issue_payout.inc' %] |
246 |
<div class="modal" id="issuePayoutModal" tabindex="-1" role="dialog" aria-labelledby="issuePayoutLabel"> |
|
|
247 |
<form id="payout_form" action="/cgi-bin/koha/members/boraccount.pl" method="post" enctype="multipart/form-data" class="validated"> |
248 |
[% INCLUDE 'csrf-token.inc' %] |
249 |
<input type="hidden" name="accountlines_id" value="" id="payoutline"> |
250 |
<input type="hidden" name="op" value="cud-payout"> |
251 |
<input type="hidden" name="borrowernumber" value="[% account.borrowernumber | html %]"> |
252 |
<div class="modal-dialog" role="document"> |
253 |
<div class="modal-content"> |
254 |
<div class="modal-header"> |
255 |
<button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> |
256 |
<h4 class="modal-title" id="issuePayoutLabel">Issue payout</h4> |
257 |
</div> |
258 |
<div class="modal-body"> |
259 |
[% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) %] |
260 |
<div id="payout_error" class="dialog alert"> |
261 |
You must have at least one cash register associated with this branch before you can record cash payouts. |
262 |
</div> |
263 |
[% END %] |
264 |
<fieldset class="rows"> |
265 |
<ol> |
266 |
<li> |
267 |
<span id="paid" class="label">Outstanding credit: </span><span>[% payout.amount | $Price %]</span> |
268 |
</li> |
269 |
<li> |
270 |
<label class="required" for="amount">Returned to patron: </label> |
271 |
<input type="text" inputmode="numeric" pattern="[0-9]*" id="amount" name="amount" required="required"> |
272 |
<span class="required">Required</span> |
273 |
</li> |
274 |
|
275 |
[% INCLUDE 'transaction_types.inc' type="payout" %] |
276 |
|
277 |
[% IF Koha.Preference('UseCashRegisters') %] |
278 |
<li> |
279 |
<label for="registerid">Cash register: </label> |
280 |
<select name="registerid" id="payout_registerid"> |
281 |
<option id="noregister" disabled selected="selected" value="">-- Select an option--</option> |
282 |
[% PROCESS options_for_registers %] |
283 |
</select> |
284 |
</li> |
285 |
[% END %] |
286 |
|
287 |
</ol> |
288 |
</fieldset> <!-- /.rows --> |
289 |
</div> <!-- /.modal-body --> |
290 |
<div class="modal-footer"> |
291 |
<button type="submit" class="btn btn-default" id="borr_payout_confirm">Confirm</button> |
292 |
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> |
293 |
</div> <!-- /.modal-footer --> |
294 |
</div> <!-- /.modal-content --> |
295 |
</div> <!-- /.modal-dialog --> |
296 |
</form> <!-- /#payout_form --> |
297 |
</div> <!-- /#issuePayoutModal --> |
298 |
|
299 |
<!-- Issue refund modal --> |
246 |
<!-- Issue refund modal --> |
300 |
<div class="modal" id="issueRefundModal" tabindex="-1" role="dialog" aria-labelledby="issueRefundLabel"> |
247 |
<div class="modal" id="issueRefundModal" tabindex="-1" role="dialog" aria-labelledby="issueRefundLabel"> |
301 |
<form id="refund_form" action="/cgi-bin/koha/members/boraccount.pl" method="post" enctype="multipart/form-data" class="validated"> |
248 |
<form id="refund_form" action="/cgi-bin/koha/members/boraccount.pl" method="post" enctype="multipart/form-data" class="validated"> |
302 |
- |
|
|