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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-7 / +7 lines)
Lines 85-107 $(document).ready(function() { Link Here
85
   <td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td>
85
   <td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td>
86
      <td>
86
      <td>
87
        [% SWITCH account.accounttype %]
87
        [% SWITCH account.accounttype %]
88
          [% CASE 'Pay' %]Payment, thanks
88
          [% CASE 'Pay' %]Payment on [% account.timestamp %], thanks
89
          [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
89
          [% CASE 'Pay00' %]Payment on [% account.timestamp %], thanks (cash via SIP2)
90
          [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
90
          [% CASE 'Pay01' %]Payment on [% account.timestamp %], thanks (VISA via SIP2)
91
          [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
91
          [% CASE 'Pay02' %]Payment on [% account.timestamp %], thanks (credit card via SIP2)
92
          [% CASE 'N' %]New card
92
          [% CASE 'N' %]New card
93
          [% CASE 'F' %]Fine
93
          [% CASE 'F' %]Fine
94
          [% CASE 'A' %]Account management fee
94
          [% CASE 'A' %]Account management fee
95
          [% CASE 'M' %]Sundry
95
          [% CASE 'M' %]Sundry
96
          [% CASE 'L' %]Lost item
96
          [% CASE 'L' %]Lost item
97
          [% CASE 'W' %]Writeoff
97
          [% CASE 'W' %]Written off on [% account.timestamp %]
98
          [% CASE 'FU' %]Accruing fine
98
          [% CASE 'FU' %]Accruing fine
99
          [% CASE 'HE' %]Hold waiting too long
99
          [% CASE 'HE' %]Hold waiting too long
100
          [% CASE 'Rent' %]Rental fee
100
          [% CASE 'Rent' %]Rental fee
101
          [% CASE 'FOR' %]Forgiven
101
          [% CASE 'FOR' %]Forgiven
102
          [% CASE 'LR' %]Lost item fee refund
102
          [% CASE 'LR' %]Lost item fee refund
103
          [% CASE 'PAY' %]Payment
103
          [% CASE 'PAY' %]Payment on [% account.timestamp %]
104
          [% CASE 'WO' %]Writeoff
104
          [% CASE 'WO' %]Written off on [% account.timestamp %]
105
          [% CASE 'C' %]Credit
105
          [% CASE 'C' %]Credit
106
          [% CASE 'CR' %]Credit
106
          [% CASE 'CR' %]Credit
107
          [% CASE %][% account.accounttype %]
107
          [% CASE %][% account.accounttype %]
(-)a/members/boraccount.pl (-2 / +2 lines)
Lines 32-38 use C4::Members; Link Here
32
use C4::Accounts;
32
use C4::Accounts;
33
use C4::Members::Attributes qw(GetBorrowerAttributes);
33
use C4::Members::Attributes qw(GetBorrowerAttributes);
34
use Koha::Patron::Images;
34
use Koha::Patron::Images;
35
35
use Koha::DateUtils;
36
use Koha::Patron::Categories;
36
use Koha::Patron::Categories;
37
37
38
my $input=new CGI;
38
my $input=new CGI;
Lines 90-95 foreach my $accountline ( @{$accts}) { Link Here
90
        $accountline->{payment} = 1;
90
        $accountline->{payment} = 1;
91
        $reverse_col = 1;
91
        $reverse_col = 1;
92
    }
92
    }
93
    $accountline->{timestamp} = format_sqldatetime( $accountline->{timestamp} );
93
}
94
}
94
95
95
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
96
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
96
- 

Return to bug 16486