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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-2 / +3 lines)
Lines 195-204 Link Here
195
        [% IF type == 'writeoff' %]
195
        [% IF type == 'writeoff' %]
196
            <label for="paid">Writeoff amount: </label>
196
            <label for="paid">Writeoff amount: </label>
197
        [% ELSE %]
197
        [% ELSE %]
198
            <label for="paid">Collect from patron: </label>
198
            <label for="paid">TESTCollect from patron: </label>
199
        [% END %]
199
        [% END %]
200
        <!-- default to paying all -->
200
        <!-- default to paying all -->
201
        <input name="paid" id="paid" value="[% total | format('%.2f') %]" type="text" />
201
        [% total %]
202
        <input name="paid" id="paid" value="[% total %]" type="text" />
202
    </li>
203
    </li>
203
    [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
204
    [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
204
    [% IF payment_types %]
205
    [% IF payment_types %]
(-)a/members/paycollect.pl (-1 / +3 lines)
Lines 34-39 use Koha::Patron::Categories; Link Here
34
use Koha::AuthorisedValues;
34
use Koha::AuthorisedValues;
35
use Koha::Account;
35
use Koha::Account;
36
use Koha::Token;
36
use Koha::Token;
37
use Koha::Number::Price;
37
38
38
my $input = CGI->new();
39
my $input = CGI->new();
39
40
Lines 188-193 if ( $input->param('error_over') ) { Link Here
188
    $template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') );
189
    $template->param( error_over => 1, total_due => scalar $input->param('amountoutstanding') );
189
}
190
}
190
191
192
$total_due = Koha::Number::Price->new( $total_due )->format({mon_decimal_point => '-'});
193
191
$template->param(
194
$template->param(
192
    type           => $type,
195
    type           => $type,
193
    borrowernumber => $borrowernumber,    # some templates require global
196
    borrowernumber => $borrowernumber,    # some templates require global
194
- 

Return to bug 21507