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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/member-display-address-style-us.inc (-1 / +5 lines)
Lines 1-6 Link Here
1
[% IF ( address or address2 ) %]
1
[% IF ( address or address2 ) %]
2
    [% IF ( address ) %]
2
    [% IF ( address ) %]
3
        <li class="patronaddress1">[% if (streetnumber) %][% streetnumber %][% end %] [% address %][%if (roadtype) %] [% roadtype %][% end %]</li>
3
        [% SET roadtype_desc = '' %]
4
        [% IF streettype %]
5
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE', streettype) %]
6
        [% END %]
7
        <li class="patronaddress1">[% if (streetnumber) %][% streetnumber %][% end %] [% IF roadtype_desc %][% roadtype_desc %] [% END %][% address %][% end %]</li>
4
    [% END %]
8
    [% END %]
5
    [% IF ( address2 ) %]
9
    [% IF ( address2 ) %]
6
        <li class="patronaddress2">[% address2 %]</li>
10
        <li class="patronaddress2">[% address2 %]</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE AuthorisedValues %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Patrons &rsaquo; [% IF (unknowuser) %]Patron does not exist[% ELSE %]Discharge for [% firstname %] [% surname %] ([% cardnumber %])[% END %]</title>
4
<title>Koha &rsaquo; Patrons &rsaquo; [% IF (unknowuser) %]Patron does not exist[% ELSE %]Discharge for [% firstname %] [% surname %] ([% cardnumber %])[% END %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (+1 lines)
Lines 1-5 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE KohaDates %]
2
[% USE KohaDates %]
3
[% USE AuthorisedValues %]
3
[% USE ColumnsSettings %]
4
[% USE ColumnsSettings %]
4
[% IF Koha.Preference('ExportRemoveFields') OR Koha.Preference('ExportWithCsvProfile') %]
5
[% IF Koha.Preference('ExportRemoveFields') OR Koha.Preference('ExportWithCsvProfile') %]
5
   [% SET exports_enabled = 1 %]
6
   [% SET exports_enabled = 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% USE KohaDates %]
3
[% USE KohaDates %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
[% INCLUDE 'doc-head-open.inc' %]
4
<title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
5
<title>Sent notices for [% INCLUDE 'patron-title.inc' %]</title>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Patrons &rsaquo; Pay Fines for  [% borrower.firstname %] [% borrower.surname %]</title>
4
<title>Koha &rsaquo; Patrons &rsaquo; Pay Fines for  [% borrower.firstname %] [% borrower.surname %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues  %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' %]</title>
4
<title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' %]</title>
4
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/readingrec.tt (+1 lines)
Lines 1-5 Link Here
1
[% USE KohaDates %]
1
[% USE KohaDates %]
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE AuthorisedValues %]
3
[% USE Branches %]
4
[% USE Branches %]
4
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title>
6
<title>Circulation History for [% INCLUDE 'patron-title.inc' %]</title>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Subscription Routing Lists for [% INCLUDE 'patron-title.inc' %]</title>
4
<title>Subscription Routing Lists for [% INCLUDE 'patron-title.inc' %]</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Koha &rsaquo; Patrons &rsaquo;
4
<title>Koha &rsaquo; Patrons &rsaquo;
4
[% IF ( unknowuser ) %]
5
[% IF ( unknowuser ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (+1 lines)
Lines 1-4 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE AuthorisedValues %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>
4
<title>
4
	Koha &rsaquo; Tools &rsaquo;
5
	Koha &rsaquo; Tools &rsaquo;
(-)a/members/boraccount.pl (-3 lines)
Lines 104-117 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
104
    );
104
    );
105
}
105
}
106
106
107
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
108
109
$template->param(%$data);
107
$template->param(%$data);
110
108
111
$template->param(
109
$template->param(
112
    finesview           => 1,
110
    finesview           => 1,
113
    borrowernumber      => $borrowernumber,
111
    borrowernumber      => $borrowernumber,
114
    roadtype            => $roadtype,
115
    branchname          => GetBranchName($data->{'branchcode'}),
112
    branchname          => GetBranchName($data->{'branchcode'}),
116
    total               => sprintf("%.2f",$total),
113
    total               => sprintf("%.2f",$total),
117
    totalcredit         => $totalcredit,
114
    totalcredit         => $totalcredit,
(-)a/members/discharge.pl (+2 lines)
Lines 115-120 if ( $input->param('borrowernumber') ) { Link Here
115
        category_type     => $data->{'category_type'},
115
        category_type     => $data->{'category_type'},
116
        categoryname      => $data->{'description'},
116
        categoryname      => $data->{'description'},
117
        address           => $data->{'address'},
117
        address           => $data->{'address'},
118
        streetnumber      => $data->{streetnumber},
119
        streettype        => $data->{streettype},
118
        address2          => $data->{'address2'},
120
        address2          => $data->{'address2'},
119
        city              => $data->{'city'},
121
        city              => $data->{'city'},
120
        zipcode           => $data->{'zipcode'},
122
        zipcode           => $data->{'zipcode'},
(-)a/members/files.pl (-4 / +1 lines)
Lines 118-133 else { Link Here
118
    my ($picture, $dberror) = GetPatronImage($data->{'borrowernumber'});
118
    my ($picture, $dberror) = GetPatronImage($data->{'borrowernumber'});
119
    $template->param( picture => 1 ) if $picture;
119
    $template->param( picture => 1 ) if $picture;
120
120
121
    # Computes full borrower address
122
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
123
    my $address = $data->{'streetnumber'} . " $roadtype " . $data->{'address'};
124
125
    $template->param(
121
    $template->param(
126
        files => Koha::Borrower::Files->new( borrowernumber => $borrowernumber )
122
        files => Koha::Borrower::Files->new( borrowernumber => $borrowernumber )
127
          ->GetFilesInfo(),
123
          ->GetFilesInfo(),
128
124
129
        errors => \%errors,
125
        errors => \%errors,
130
        address => $address,
126
        address => $address,
127
        roadtype => $roadtype,
131
    );
128
    );
132
    output_html_with_http_headers $cgi, $cookie, $template->output;
129
    output_html_with_http_headers $cgi, $cookie, $template->output;
133
}
130
}
(-)a/members/mancredit.pl (-2 lines)
Lines 91-104 if ($add){ Link Here
91
        );
91
        );
92
    }
92
    }
93
93
94
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
95
    $template->param(%$data);
94
    $template->param(%$data);
96
95
97
    $template->param(
96
    $template->param(
98
        finesview      => 1,
97
        finesview      => 1,
99
        borrowernumber => $borrowernumber,
98
        borrowernumber => $borrowernumber,
100
        categoryname   => $data->{'description'},
99
        categoryname   => $data->{'description'},
101
        roadtype       => $roadtype,
102
        branchname     => GetBranchName($data->{'branchcode'}),
100
        branchname     => GetBranchName($data->{'branchcode'}),
103
        is_child       => ($data->{'category_type'} eq 'C'),
101
        is_child       => ($data->{'category_type'} eq 'C'),
104
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
102
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
(-)a/members/maninvoice.pl (-2 lines)
Lines 117-130 if ($add){ Link Here
117
        );
117
        );
118
    }
118
    }
119
119
120
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
121
    $template->param(%$data);
120
    $template->param(%$data);
122
    $template->param(
121
    $template->param(
123
        finesview      => 1,
122
        finesview      => 1,
124
        borrowernumber => $borrowernumber,
123
        borrowernumber => $borrowernumber,
125
        categoryname   => $data->{'description'},
124
        categoryname   => $data->{'description'},
126
        branchname     => GetBranchName($data->{'branchcode'}),
125
        branchname     => GetBranchName($data->{'branchcode'}),
127
        roadtype       => $roadtype,
128
        is_child       => ($data->{'category_type'} eq 'C'),
126
        is_child       => ($data->{'category_type'} eq 'C'),
129
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
127
        activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
130
        RoutingSerials => C4::Context->preference('RoutingSerials'),
128
        RoutingSerials => C4::Context->preference('RoutingSerials'),
(-)a/members/member-flags.pl (-5 / +2 lines)
Lines 168-177 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
168
    );
168
    );
169
}
169
}
170
170
171
# Computes full borrower address
172
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} );
173
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
174
175
$template->param(
171
$template->param(
176
		borrowernumber => $bor->{'borrowernumber'},
172
		borrowernumber => $bor->{'borrowernumber'},
177
    cardnumber => $bor->{'cardnumber'},
173
    cardnumber => $bor->{'cardnumber'},
Lines 181-188 $template->param( Link Here
181
		categorycode => $bor->{'categorycode'},
177
		categorycode => $bor->{'categorycode'},
182
		category_type => $bor->{'category_type'},
178
		category_type => $bor->{'category_type'},
183
		categoryname => $bor->{'description'},
179
		categoryname => $bor->{'description'},
184
        address => $address,
180
        address => $bor->{address},
185
		address2 => $bor->{'address2'},
181
		address2 => $bor->{'address2'},
182
        streettype => $bor->{streettype},
186
		city => $bor->{'city'},
183
		city => $bor->{'city'},
187
        state => $bor->{'state'},
184
        state => $bor->{'state'},
188
		zipcode => $bor->{'zipcode'},
185
		zipcode => $bor->{'zipcode'},
(-)a/members/member-password.pl (-5 / +2 lines)
Lines 100-109 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
100
    );
100
    );
101
}
101
}
102
102
103
# Computes full borrower address
104
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $bor->{streettype} ) // '';
105
my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'};
106
107
    $template->param( othernames => $bor->{'othernames'},
103
    $template->param( othernames => $bor->{'othernames'},
108
	    surname     => $bor->{'surname'},
104
	    surname     => $bor->{'surname'},
109
	    firstname   => $bor->{'firstname'},
105
	    firstname   => $bor->{'firstname'},
Lines 112-119 my $address = $bor->{'streetnumber'} . " $roadtype " . $bor->{'address'}; Link Here
112
	    categorycode => $bor->{'categorycode'},
108
	    categorycode => $bor->{'categorycode'},
113
	    category_type => $bor->{'category_type'},
109
	    category_type => $bor->{'category_type'},
114
	    categoryname => $bor->{'description'},
110
	    categoryname => $bor->{'description'},
115
        address => $address,
111
        address => $bor->{address},
116
	    address2 => $bor->{'address2'},
112
	    address2 => $bor->{'address2'},
113
        streettype => $$bor->{streettype},
117
	    city => $bor->{'city'},
114
	    city => $bor->{'city'},
118
	    state => $bor->{'state'},
115
	    state => $bor->{'state'},
119
	    zipcode => $bor->{'zipcode'},
116
	    zipcode => $bor->{'zipcode'},
(-)a/members/moremember.pl (-2 lines)
Lines 248-254 my $relatives_issues_count = Link Here
248
  Koha::Database->new()->schema()->resultset('Issue')
248
  Koha::Database->new()->schema()->resultset('Issue')
249
  ->count( { borrowernumber => \@relatives } );
249
  ->count( { borrowernumber => \@relatives } );
250
250
251
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
252
my $today       = DateTime->now( time_zone => C4::Context->tz);
251
my $today       = DateTime->now( time_zone => C4::Context->tz);
253
$today->truncate(to => 'day');
252
$today->truncate(to => 'day');
254
my $overdues_exist = 0;
253
my $overdues_exist = 0;
Lines 333-339 $template->param( $data->{'categorycode'} => 1 ); Link Here
333
$template->param(
332
$template->param(
334
    detailview => 1,
333
    detailview => 1,
335
    AllowRenewalLimitOverride => C4::Context->preference("AllowRenewalLimitOverride"),
334
    AllowRenewalLimitOverride => C4::Context->preference("AllowRenewalLimitOverride"),
336
    roadtype        => $roadtype,
337
    borrowernumber  => $borrowernumber,
335
    borrowernumber  => $borrowernumber,
338
    othernames      => $data->{'othernames'},
336
    othernames      => $data->{'othernames'},
339
    categoryname    => $data->{'description'},
337
    categoryname    => $data->{'description'},
(-)a/members/notices.pl (-2 lines)
Lines 60-66 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
60
    );
60
    );
61
}
61
}
62
62
63
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{'streettype'} );
64
$template->param(%$borrower);
63
$template->param(%$borrower);
65
64
66
$template->param(
65
$template->param(
Lines 69-75 $template->param( Link Here
69
    sentnotices        => 1,
68
    sentnotices        => 1,
70
    branchname         => GetBranchName($borrower->{'branchcode'}),
69
    branchname         => GetBranchName($borrower->{'branchcode'}),
71
    categoryname       => $borrower->{'description'},
70
    categoryname       => $borrower->{'description'},
72
    roadtype           => $roadtype,
73
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
71
    activeBorrowerRelationship => (C4::Context->preference('borrowerRelationship') ne ''),
74
    RoutingSerials => C4::Context->preference('RoutingSerials'),
72
    RoutingSerials => C4::Context->preference('RoutingSerials'),
75
);
73
);
(-)a/members/pay.pl (-2 lines)
Lines 228-235 sub borrower_add_additional_fields { Link Here
228
    if ($picture) {
228
    if ($picture) {
229
        $b_ref->{has_picture} = 1;
229
        $b_ref->{has_picture} = 1;
230
    }
230
    }
231
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{streettype} );
232
    $b_ref->{roadtype} = $roadtype;
233
231
234
    if (C4::Context->preference('ExtendedPatronAttributes')) {
232
    if (C4::Context->preference('ExtendedPatronAttributes')) {
235
        $b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber);
233
        $b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber);
(-)a/members/paycollect.pl (-3 lines)
Lines 184-192 sub borrower_add_additional_fields { Link Here
184
        $b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber);
184
        $b_ref->{extendedattributes} = GetBorrowerAttributes($borrowernumber);
185
    }
185
    }
186
186
187
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{streettype} );
188
    $b_ref->{roadtype} = $roadtype;
189
190
    $b_ref->{branchname} = GetBranchName( $b_ref->{branchcode} );
187
    $b_ref->{branchname} = GetBranchName( $b_ref->{branchcode} );
191
    return;
188
    return;
192
}
189
}
(-)a/members/purchase-suggestions.pl (-4 lines)
Lines 62-71 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
62
    );
62
    );
63
}
63
}
64
64
65
# Computes full borrower address
66
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{streettype} );
67
$template->param( roadtype => $roadtype );
68
69
my ($picture, $dberror) = GetPatronImage($borrowernumber);
65
my ($picture, $dberror) = GetPatronImage($borrowernumber);
70
$template->param( picture => 1 ) if $picture;
66
$template->param( picture => 1 ) if $picture;
71
67
(-)a/members/readingrec.pl (-2 lines)
Lines 117-130 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
117
}
117
}
118
118
119
119
120
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
121
$template->param(%$data);
120
$template->param(%$data);
122
121
123
$template->param(
122
$template->param(
124
    readingrecordview => 1,
123
    readingrecordview => 1,
125
    borrowernumber    => $borrowernumber,
124
    borrowernumber    => $borrowernumber,
126
    categoryname      => $data->{description},
125
    categoryname      => $data->{description},
127
    roadtype          => $roadtype,
128
    is_child          => ( $data->{category_type} eq 'C' ),
126
    is_child          => ( $data->{category_type} eq 'C' ),
129
    branchname        => $branches->{ $data->{branchcode} }->{branchname},
127
    branchname        => $branches->{ $data->{branchcode} }->{branchname},
130
    loop_reading      => $issues,
128
    loop_reading      => $issues,
(-)a/members/routing-lists.pl (-2 lines)
Lines 101-107 if ($borrowernumber) { Link Here
101
##################################################################################
101
##################################################################################
102
102
103
103
104
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{streettype} );
105
$template->param(%$borrower);
104
$template->param(%$borrower);
106
105
107
$template->param(
106
$template->param(
Lines 111-117 $template->param( Link Here
111
    branch            => $branch,
110
    branch            => $branch,
112
    branchname        => GetBranchName($borrower->{'branchcode'}),
111
    branchname        => GetBranchName($borrower->{'branchcode'}),
113
    categoryname      => $borrower->{description},
112
    categoryname      => $borrower->{description},
114
    roadtype          => $roadtype,
115
    RoutingSerials    => C4::Context->preference('RoutingSerials'),
113
    RoutingSerials    => C4::Context->preference('RoutingSerials'),
116
);
114
);
117
115
(-)a/members/statistics.pl (-2 lines)
Lines 96-108 if (C4::Context->preference('ExtendedPatronAttributes')) { Link Here
96
my ($picture, $dberror) = GetPatronImage($borrower->{'borrowernumber'});
96
my ($picture, $dberror) = GetPatronImage($borrower->{'borrowernumber'});
97
$template->param( picture => 1 ) if $picture;
97
$template->param( picture => 1 ) if $picture;
98
98
99
my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $borrower->{streettype} );
100
$template->param(%$borrower);
99
$template->param(%$borrower);
101
100
102
$template->param(
101
$template->param(
103
    statisticsview     => 1,
102
    statisticsview     => 1,
104
    datas              => $datas,
103
    datas              => $datas,
105
    roadtype           => $roadtype,
106
    column_names       => \@statistic_column_names,
104
    column_names       => \@statistic_column_names,
107
    count_total_issues => $count_total_issues,
105
    count_total_issues => $count_total_issues,
108
    count_total_issues_returned => $count_total_issues_returned,
106
    count_total_issues_returned => $count_total_issues_returned,
(-)a/members/summary-print.pl (-5 lines)
Lines 58-67 foreach my $accountline (@$accts) { Link Here
58
    }
58
    }
59
}
59
}
60
60
61
my $roadtype =
62
  C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} ) // '';
63
$roadtype = '' if ( ! $roadtype );
64
65
our $totalprice = 0;
61
our $totalprice = 0;
66
my $total_format = '';
62
my $total_format = '';
67
$total_format = sprintf( "%.2f", $total ) if ($total);
63
$total_format = sprintf( "%.2f", $total ) if ($total);
Lines 74-80 $template->param( Link Here
74
    %$data,
70
    %$data,
75
71
76
    borrowernumber => $borrowernumber,
72
    borrowernumber => $borrowernumber,
77
    address => $data->{'streetnumber'} . " $roadtype " . $data->{'address'},
78
73
79
    accounts => $accts,
74
    accounts => $accts,
80
    totaldue => $total_format,
75
    totaldue => $total_format,
(-)a/tools/viewlog.pl (-3 lines)
Lines 84-97 if ( $src eq 'circ' ) { Link Here
84
        );
84
        );
85
    }
85
    }
86
86
87
    my $roadtype = C4::Koha::GetAuthorisedValueByCode( 'ROADTYPE', $data->{streettype} );
88
    $template->param(%$data);
87
    $template->param(%$data);
89
88
90
    $template->param(
89
    $template->param(
91
        menu           => 1,
90
        menu           => 1,
92
        borrowernumber => $borrowernumber,
91
        borrowernumber => $borrowernumber,
93
        categoryname   => $data->{'description'},
92
        categoryname   => $data->{'description'},
94
        roadtype       => $roadtype,
95
        branchname     => GetBranchName( $data->{'branchcode'} ),
93
        branchname     => GetBranchName( $data->{'branchcode'} ),
96
        RoutingSerials => C4::Context->preference('RoutingSerials'),
94
        RoutingSerials => C4::Context->preference('RoutingSerials'),
97
    );
95
    );
98
- 

Return to bug 15542