Lines 304-310
Link Here
|
304 |
<fieldset class="rows"> |
304 |
<fieldset class="rows"> |
305 |
<ol> |
305 |
<ol> |
306 |
<li> |
306 |
<li> |
307 |
<span id="item" class="label">Account: </span><span></span> |
307 |
<span id="refund_item" class="label">Account: </span><span></span> |
308 |
</li> |
308 |
</li> |
309 |
<li> |
309 |
<li> |
310 |
<span id="paid" class="label">Amount paid: </span><span></span> |
310 |
<span id="paid" class="label">Amount paid: </span><span></span> |
Lines 359-365
Link Here
|
359 |
<fieldset class="rows"> |
359 |
<fieldset class="rows"> |
360 |
<ol> |
360 |
<ol> |
361 |
<li> |
361 |
<li> |
362 |
<span id="item" class="label">Account type: </span><span></span> |
362 |
<span id="apply_discount_item" class="label">Account type: </span><span></span> |
363 |
</li> |
363 |
</li> |
364 |
<li> |
364 |
<li> |
365 |
<span id="charged" class="label">Amount charged: </span><span></span> |
365 |
<span id="charged" class="label">Amount charged: </span><span></span> |
Lines 402-408
Link Here
|
402 |
<fieldset class="rows"> |
402 |
<fieldset class="rows"> |
403 |
<ol> |
403 |
<ol> |
404 |
<li> |
404 |
<li> |
405 |
<label for="apply_discount_note">Note: </label> |
405 |
<label for="void_note">Note: </label> |
406 |
<input type="text" id="void_note" name="void_note"> |
406 |
<input type="text" id="void_note" name="void_note"> |
407 |
</li> |
407 |
</li> |
408 |
</ol> |
408 |
</ol> |
Lines 516-522
Link Here
|
516 |
$("#applyDiscountModal").on("shown.bs.modal", function(e){ |
516 |
$("#applyDiscountModal").on("shown.bs.modal", function(e){ |
517 |
var button = $(e.relatedTarget); |
517 |
var button = $(e.relatedTarget); |
518 |
var item = button.data('item'); |
518 |
var item = button.data('item'); |
519 |
$("#item + span").replaceWith(item); |
519 |
$("#apply_discount_item + span").replaceWith(item); |
520 |
var accountline = button.data('accountline'); |
520 |
var accountline = button.data('accountline'); |
521 |
$('#discountline').val(accountline); |
521 |
$('#discountline').val(accountline); |
522 |
var amountoutstanding = button.data('amountoutstanding'); |
522 |
var amountoutstanding = button.data('amountoutstanding'); |
Lines 527-536
Link Here
|
527 |
|
527 |
|
528 |
$("#voidPaymentModal").on("shown.bs.modal", function(e){ |
528 |
$("#voidPaymentModal").on("shown.bs.modal", function(e){ |
529 |
var button = $(e.relatedTarget); |
529 |
var button = $(e.relatedTarget); |
530 |
var item = button.data('item'); |
530 |
var item = button.data('accountline'); |
531 |
$("#item + span").replaceWith(item); |
531 |
$('#voidline').val(item); |
532 |
var accountline = button.data('accountline'); |
|
|
533 |
$('#voidline').val(accountline); |
534 |
}); |
532 |
}); |
535 |
|
533 |
|
536 |
$("#cancelChargeModal").on("shown.bs.modal", function(e){ |
534 |
$("#cancelChargeModal").on("shown.bs.modal", function(e){ |
537 |
- |
|
|