Bug 6732 : Showing the bibliographic title on the manual invoices line
authorChris Cormack <chrisc@catalyst.net.nz>
Mon, 5 Sep 2011 02:04:26 +0000 (14:04 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Tue, 6 Sep 2011 20:51:20 +0000 (08:51 +1200)
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt
members/boraccount.pl

index 3545f86..c5941fd 100644 (file)
@@ -44,7 +44,7 @@
 
    [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
       <td>[% account.date %]</td>
-      <td>[% account.description %]&nbsp;[% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %][% IF ( account.printtitle ) %] [% account.title |html %][% END %]</td>
+      <td>[% account.description %]&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>
       <td>[% account.note %]</td>
       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
       [% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td>
index b91684a..9e7046e 100755 (executable)
@@ -87,9 +87,6 @@ foreach my $accountline ( @{$accts}) {
         $accountline->{payment} = 1;
         $reverse_col = 1;
     }
-    if ($accountline->{accounttype} ne 'F' && $accountline->{accounttype} ne 'FU'){
-        $accountline->{printtitle} = 1;
-    }
 }
 
 $template->param( adultborrower => 1 ) if ( $data->{'category_type'} eq 'A' );