|
Lines 146-152
function moneyFormat(textObj) {
Link Here
|
| 146 |
<li> |
146 |
<li> |
| 147 |
<label for="paid">Collect from patron: </label> |
147 |
<label for="paid">Collect from patron: </label> |
| 148 |
<!-- default to paying all --> |
148 |
<!-- default to paying all --> |
| 149 |
<input name="paid" id="paid" value="[% amountoutstanding | format('%.2f') %]" /> |
149 |
<input name="paid" id="paid" value="[% amountoutstanding %]" /> |
| 150 |
</li> |
150 |
</li> |
| 151 |
</ol> |
151 |
</ol> |
| 152 |
</fieldset> |
152 |
</fieldset> |
|
Lines 167-173
function moneyFormat(textObj) {
Link Here
|
| 167 |
<input type="hidden" name="notify_id" id="notify_id" value="[% notify_id %]" /> |
167 |
<input type="hidden" name="notify_id" id="notify_id" value="[% notify_id %]" /> |
| 168 |
<input type="hidden" name="notify_level" id="notify_level" value="[% notify_level %]" /> |
168 |
<input type="hidden" name="notify_level" id="notify_level" value="[% notify_level %]" /> |
| 169 |
<input type="hidden" name="amount" id="amount" value="[% amount %]" /> |
169 |
<input type="hidden" name="amount" id="amount" value="[% amount %]" /> |
| 170 |
<input type="hidden" name="amountoutstanding" id="amountoutstanding" value="[% amountoutstanding %]" /> |
|
|
| 171 |
<input type="hidden" name="accountlines_id" id="accountlines_id" value="[% accountlines_id %]" /> |
170 |
<input type="hidden" name="accountlines_id" id="accountlines_id" value="[% accountlines_id %]" /> |
| 172 |
<input type="hidden" name="title" id="title" value="[% title %]" /> |
171 |
<input type="hidden" name="title" id="title" value="[% title %]" /> |
| 173 |
<input type="hidden" name="payment_note" id="payment_note" value="[% payment_note %]" /> |
172 |
<input type="hidden" name="payment_note" id="payment_note" value="[% payment_note %]" /> |
|
Lines 180-186
function moneyFormat(textObj) {
Link Here
|
| 180 |
<th>Amount</th> |
179 |
<th>Amount</th> |
| 181 |
<th>Amount outstanding</th> |
180 |
<th>Amount outstanding</th> |
| 182 |
</tr></thead> |
181 |
</tr></thead> |
| 183 |
<tfoot><td colspan="5">Total amount to be written off:</td><td>[% amountoutstanding | format('%.2f') %]</td></tfoot> |
182 |
<tfoot><td colspan="5">Total amount outstanding:</td><td>[% amountoutstanding | format('%.2f') %]</td></tfoot> |
| 184 |
<tbody><tr> |
183 |
<tbody><tr> |
| 185 |
<td>[% description %] [% title %]</td> |
184 |
<td>[% description %] [% title %]</td> |
| 186 |
<td>[% accounttype %]</td> |
185 |
<td>[% accounttype %]</td> |
|
Lines 190-197
function moneyFormat(textObj) {
Link Here
|
| 190 |
<td class="debit">[% amountoutstanding | format('%.2f') %]</td> |
189 |
<td class="debit">[% amountoutstanding | format('%.2f') %]</td> |
| 191 |
</tr></tbody> |
190 |
</tr></tbody> |
| 192 |
</table> |
191 |
</table> |
| 193 |
</fieldset> |
192 |
|
| 194 |
<div class="action"><input type="submit" name="confirm_writeoff" id="confirm_writeoff" value="Write off this charge" /> |
193 |
<ol> |
|
|
194 |
<li> |
| 195 |
<label for="paid">Writeoff amount: </label> |
| 196 |
<!-- default to writing off all --> |
| 197 |
<input name="amountwrittenoff" id="amountwrittenoff" value="[% amountoutstanding %]" /> |
| 198 |
</li> |
| 199 |
</ol> |
| 200 |
</fieldset> |
| 201 |
<div class="action"><input type="submit" name="confirm_writeoff" id="confirm_writeoff" value="Write off this charge" /> |
| 195 |
<a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrower.borrowernumber %]">Cancel</a></div> |
202 |
<a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrower.borrowernumber %]">Cancel</a></div> |
| 196 |
</form> |
203 |
</form> |
| 197 |
[% ELSE %] |
204 |
[% ELSE %] |