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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-1 / +2 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' %]</title>
5
<title>Koha &rsaquo; Patrons &rsaquo; Account for [% INCLUDE 'patron-title.inc' %]</title>
Lines 102-108 $(document).ready(function() { Link Here
102
        [%- END -%]
103
        [%- END -%]
103
        [%- IF account.description %], [% account.description %][% END %]
104
        [%- IF account.description %], [% account.description %][% END %]
104
        &nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %][% account.title |html %]</td>
105
        &nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %][% account.title |html %]</td>
105
      <td>[%- IF account.homebranch %][% account.homebranch %][% END %]</td>
106
      <td>[% Branches.GetName( account.homebranch ) %]</td>
106
      <td>[% account.note | html_line_break %]</td>
107
      <td>[% account.note | html_line_break %]</td>
107
      [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
108
      [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
108
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td>
109
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td>
(-)a/members/boraccount.pl (-4 lines)
Lines 89-97 foreach my $accountline ( @{$accts}) { Link Here
89
        $accountline->{payment} = 1;
89
        $accountline->{payment} = 1;
90
        $reverse_col = 1;
90
        $reverse_col = 1;
91
    }
91
    }
92
    if ($accountline->{homebranch}) {
93
        $accountline->{homebranch} = C4::Branch::GetBranchName($accountline->{homebranch});
94
    }
95
}
92
}
96
93
97
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
94
$template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );
98
- 

Return to bug 15136