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