View | Details | Raw Unified | Return to bug 3498
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tmpl (-13 / +21 lines)
Lines 77-82 function moneyFormat(textObj) { Link Here
77
</ul>
77
</ul>
78
<div class="tabs-container">
78
<div class="tabs-container">
79
79
80
<!-- TMPL_IF NAME="error" -->
81
    <div id="error_message" class="dialog alert">
82
        <!-- TMPL_VAR NAME="error" -->
83
    </div>
84
<!-- /TMPL_IF -->
85
80
<!--<form action="/cgi-bin/koha/members/paycollect.pl" method="post"> -->
86
<!--<form action="/cgi-bin/koha/members/paycollect.pl" method="post"> -->
81
<!-- TMPL_IF NAME="pay_individual" -->
87
<!-- TMPL_IF NAME="pay_individual" -->
82
<form name="payindivfine" onsubmit="return validatePayment(this);" method="post" action="/cgi-bin/koha/members/paycollect.pl">
88
<form name="payindivfine" onsubmit="return validatePayment(this);" method="post" action="/cgi-bin/koha/members/paycollect.pl">
Lines 114-131 function moneyFormat(textObj) { Link Here
114
<td>
120
<td>
115
<!-- TMPL_VAR NAME="amountoutstanding" -->
121
<!-- TMPL_VAR NAME="amountoutstanding" -->
116
</td>
122
</td>
123
<td colspan="4"></td>
124
125
126
117
</tr>
127
</tr>
118
<tr><td> </td></tr>
128
<tr><td colspan="6"> </td></tr>
119
<tr>
129
<tr>
120
<td>Collect From Patron: </td>
130
<td>Collect From Patron: </td>
121
<td>
131
<td>
122
<!-- default to paying all -->
132
<!-- default to paying all -->
123
<input name="paid" id="paid" value="<!-- TMPL_VAR NAME="amountoutstanding" -->" onchange="moneyFormat(document.payindivfine.paid)"/>
133
<input name="paid" id="paid" value="<!-- TMPL_VAR NAME="amountoutstanding" -->" onchange="moneyFormat(document.payindivfine.paid)"/>
124
</td>
134
</td>
135
<td colspan="4"></td>
125
</tr>
136
</tr>
126
<tr><td>  </td></tr>
137
<tr><td colspan="6"> </td></tr>
127
<tr>
138
<tr>
128
<td rowspan="2">
139
<td colspan="6">
129
<input type="submit" name="submitbutton" value="Confirm" />
140
<input type="submit" name="submitbutton" value="Confirm" />
130
<a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
141
<a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
131
</td>
142
</td>
Lines 163-173 function moneyFormat(textObj) { Link Here
163
<td class="debit"><!-- TMPL_VAR name="amount" --></td>
174
<td class="debit"><!-- TMPL_VAR name="amount" --></td>
164
<td class="debit"><!-- TMPL_VAR name="amountoutstanding" --></td>
175
<td class="debit"><!-- TMPL_VAR name="amountoutstanding" --></td>
165
</tr>
176
</tr>
166
<tr><td> </td></tr>
177
<tr><td colspan="6"> </td></tr>
167
<tr><td rowspan="2"><strong>Writeoff This Charge?</strong></td></tr>
178
<tr><td colspan="6"><strong>Writeoff This Charge?</strong></td></tr>
168
<tr><td> </td></tr>
179
<tr><td colspan="6"> </td></tr>
169
<tr>
180
<tr>
170
<td rowspan="2">
181
<td colspan="6">
171
<input type="submit" name="confirm_writeoff" id="confirm_writeoff" value="Confirm" />
182
<input type="submit" name="confirm_writeoff" id="confirm_writeoff" value="Confirm" />
172
<a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
183
<a class="cancel" href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
173
</td>
184
</td>
Lines 182-197 function moneyFormat(textObj) { Link Here
182
<input type="hidden" name="total" id="total" value="<!-- TMPL_VAR name="total" -->" />
193
<input type="hidden" name="total" id="total" value="<!-- TMPL_VAR name="total" -->" />
183
194
184
<table>
195
<table>
185
<!-- TMPL_IF NAME="error" -->
186
<tr><td><!-- TMPL_VAR NAME="error" --></td></tr>
187
<!-- /TMPL_IF -->
188
<tr>
196
<tr>
189
<td>Total Amount Outstanding : </td>
197
<td>Total Amount Outstanding : </td>
190
<td>
198
<td>
191
<!-- TMPL_VAR NAME="total" -->
199
<!-- TMPL_VAR NAME="total" -->
192
</td>
200
</td>
193
</tr>
201
</tr>
194
<tr><td> </td></tr>
202
<tr><td colspan="2"> </td></tr>
195
<tr>
203
<tr>
196
<td>Collect From Patron: </td>
204
<td>Collect From Patron: </td>
197
<td>
205
<td>
Lines 199-207 function moneyFormat(textObj) { Link Here
199
<input name="paid" id="paid" value="<!-- TMPL_VAR NAME="total" -->" onchange="moneyFormat(document.payfine.paid)"/>
207
<input name="paid" id="paid" value="<!-- TMPL_VAR NAME="total" -->" onchange="moneyFormat(document.payfine.paid)"/>
200
</td>
208
</td>
201
</tr>
209
</tr>
202
<tr><td>  </td></tr>
210
<tr><td colspan="2">  </td></tr>
203
<tr>
211
<tr>
204
<td rowspan="2">
212
<td colspan="2">
205
<input type="submit" name="submitbutton" value="Confirm" />
213
<input type="submit" name="submitbutton" value="Confirm" />
206
<a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
214
<a class="cancel" href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
207
</td>
215
</td>

Return to bug 3498