dcd1f5d48c
Here we go, next step then. As we did not fix the performance issue when autofiltering the variables (see bug 20975), the only solution we have is to add the filters explicitely. This patch has been autogenerated (using add_html_filters.pl, see next pathces) and add the html filter to all the variables displayed in the template. Exceptions are made (using the new 'raw' TT filter) to the variable we already listed in the previous versions of this patch. To test: - Use t/db_dependent/Koha/Patrons.t to populate your DB with autogenerated data which contain <script> tags - Remove them from borrower_debarments.comments (there are allowed here) update borrower_debarments set comment="html tags possible here"; - From the interface hit page and try to catch alert box. If you find one it means you find a possible XSS. To know where it comes from: * note the exact URL where you found it * note the alert box content * Dump your DB and search for the string in the dump to identify its location (for instance table.field) Next: * Ideally we would like to use the raw filter when it is not necessary to HTML escape the variables (in big loop for instance) * Provide a QA script to catch missing filters (we want html, uri, url or raw, certainly others that I am forgetting now) * Replace the html filters with uri when needed (!) Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
62 lines
2.4 KiB
Text
62 lines
2.4 KiB
Text
[% INCLUDE 'help-top.inc' %]
|
|
|
|
<h1>Pay and Writeoff Fines</h1>
|
|
|
|
<p>Each line item can be paid in full (or written off) using the 'Pay Fines' tab.</p>
|
|
|
|
<ul>
|
|
<li>Each line item can be paid in full, partially paid, or written off.</li>
|
|
<li>Pay a fine in full
|
|
<ul>
|
|
<li>Click "Pay" next to the fine you want to pay in full</li>
|
|
<li>The full amount of the fine will be populated for you in the "Collect From Patron" box</li>
|
|
<li>Click "Confirm"</li>
|
|
<li>The fine will be removed from outstanding fines, and displayed as fully paid.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Pay a partial fine
|
|
<ul>
|
|
<li>Click "Pay" next to the fine you want to partially pay</li>
|
|
<li>Enter the amount you are collecting from the patron in the "Collect From Patron" box</li>
|
|
<li>Click "Confirm"</li>
|
|
<li>The fine will be updated to show the original Amount, and the current Amount Outstanding</li>
|
|
</ul>
|
|
</li>
|
|
<li>Pay an amount towards all fines
|
|
<ul>
|
|
<li>Click the "Pay Amount" button</li>
|
|
<li>Enter the amount you are collecting from the patron in "Collect from Patron." The sum of all fines is shown in "Total Amount Outstanding"</li>
|
|
<li>Click "Confirm"</li>
|
|
<li>The fine totals will be updated with the payment applied to oldest fines first.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Pay Selected fines
|
|
<ul>
|
|
<li>Check the selection boxes next to the fines you wish to pay, click "Pay Selected"</li>
|
|
<li>Enter an amount to pay towards the fines.</li>
|
|
<li>Click "Confirm"</li>
|
|
<li>The fine totals will be updated with the payment applied to the oldest selected fines first.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Writeoff a single fine
|
|
<ul>
|
|
<li>Click "Writeoff" next to the fine you wish to writeoff.</li>
|
|
<li>The fine will be removed from outstanding fines, and displayed as written off.</li>
|
|
</ul>
|
|
</li>
|
|
<li>Writeoff All fines
|
|
<ul>
|
|
<li>Click the "Writeoff All" button</li>
|
|
<li>All fines will be removed from outstanding fines, and displayed as written off.</li>
|
|
</ul>
|
|
</li>
|
|
<li>If you accidentally mark and item as paid, you can reverse that line item by clicking 'Reverse' to the right of the line
|
|
<ul>
|
|
<li>Once clicked a new line item will be added to the account, showing the payment as reversed</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
<p><strong>See the full documentation for Paying Fines in the <a href="http://koha-community.org/manual/[% helpVersion | html %]/en/html/patrons.html#pay/reverse-fines">manual</a> (online).</strong></p>
|
|
|
|
[% INCLUDE 'help-bottom.inc' %]
|