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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-2 / +2 lines)
Lines 84-92 function moneyFormat(textObj) { Link Here
84
    </li>
84
    </li>
85
</ul>
85
</ul>
86
<div class="tabs-container">
86
<div class="tabs-container">
87
[% IF ( error ) %]
87
[% IF ( error_over ) %]
88
    <div id="error_message" class="dialog alert">
88
    <div id="error_message" class="dialog alert">
89
    [% error %]
89
    You must pay a value less than or equal to [% total_due | format('%.2f') %].
90
    </div>
90
    </div>
91
[% END %]
91
[% END %]
92
92
(-)a/members/paycollect.pl (-3 / +2 lines)
Lines 97-104 if ( $individual || $writeoff ) { Link Here
97
if ( $total_paid and $total_paid ne '0.00' ) {
97
if ( $total_paid and $total_paid ne '0.00' ) {
98
    if ( $total_paid < 0 or $total_paid > $total_due ) {
98
    if ( $total_paid < 0 or $total_paid > $total_due ) {
99
        $template->param(
99
        $template->param(
100
            error => sprintf( 'You must pay a value less than or equal to %f.2',
100
            error_over => 1,
101
                $total_due )
101
            total_due => $total_due
102
        );
102
        );
103
    } else {
103
    } else {
104
        if ($individual) {
104
        if ($individual) {
105
- 

Return to bug 9141