---
circ/circulation.pl | 1 +
members/boraccount.pl | 1 +
members/mancredit.pl | 1 +
members/maninvoice.pl | 1 +
members/member-flags.pl | 1 +
members/member-password.pl | 1 +
members/messaging.pl | 1 +
members/pay.pl | 1 +
members/readingrec.pl | 1 +
9 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/circ/circulation.pl b/circ/circulation.pl
index 0d302bb..9708d09 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -690,6 +690,7 @@ $template->param(
inprocess => $inprocess,
memberofinstution => $member_of_institution,
CGIorganisations => $CGIorganisations,
+ is_child => ($borrower->{'category_type'} eq 'C'),
circview => 1,
);
diff --git a/members/boraccount.pl b/members/boraccount.pl
index 253983c..1cfb5ef 100755
--- a/members/boraccount.pl
+++ b/members/boraccount.pl
@@ -111,6 +111,7 @@ $template->param(
branchname => GetBranchName($data->{'branchcode'}),
total => sprintf("%.2f",$total),
totalcredit => $totalcredit,
+ is_child => ($data->{'category_type'} eq 'C'),
accounts => [EMAIL PROTECTED] );
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/mancredit.pl b/members/mancredit.pl
index 714ce91..4832455 100755
--- a/members/mancredit.pl
+++ b/members/mancredit.pl
@@ -71,6 +71,7 @@ if ($add){
zipcode => $data->{'zipcode'},
phone => $data->{'phone'},
email => $data->{'email'},
+ is_child => ($data->{'category_type'} eq 'C'),
);
output_html_with_http_headers $input, $cookie, $template->output;
}
diff --git a/members/maninvoice.pl b/members/maninvoice.pl
index f3ad4cb..1744235 100755
--- a/members/maninvoice.pl
+++ b/members/maninvoice.pl
@@ -90,6 +90,7 @@ if ($add){
zipcode => $data->{'zipcode'},
phone => $data->{'phone'},
email => $data->{'email'},
+ is_child =>
($data->{'category_type'} eq 'C'),
);
output_html_with_http_headers $input, $cookie, $template->output;
}
diff --git a/members/member-flags.pl b/members/member-flags.pl
index 6149b17..4f45033 100755
--- a/members/member-flags.pl
+++ b/members/member-flags.pl
@@ -173,6 +173,7 @@ $template->param(
email => $bor->{'email'},
branchcode => $bor->{'branchcode'},
loop => [EMAIL PROTECTED],
+ is_child => ($bor->{'category_type'} eq 'C'),
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/member-password.pl b/members/member-password.pl
index 9f5629f..0ee5337 100755
--- a/members/member-password.pl
+++ b/members/member-password.pl
@@ -97,6 +97,7 @@ $template->param( picture => 1 ) if $picture;
branchcode => $bor->{'branchcode'},
userid => $bor->{'userid'},
destination => $destination,
+ is_child => ($bor->{'category_type'} eq 'C'),
defaultnewpassword => $defaultnewpassword
);
diff --git a/members/messaging.pl b/members/messaging.pl
index d7dd5bb..b37a066 100755
--- a/members/messaging.pl
+++ b/members/messaging.pl
@@ -145,6 +145,7 @@ $messaging_preferences->{'SMSnumber'}{'value'} = defined
$borrower->{'smsalertnu
$template->param( BORROWER_INFO => [ $borrower ],
messagingview => 1,
messaging_preferences => $messaging_options,
+ is_child =>
($borrower->{'category_type'} eq 'C'),
SMSnumber => defined
$borrower->{'smsalertnumber'} ? $borrower->{'smsalertnumber'} :
$borrower->{'mobile'} );
output_html_with_http_headers $query, $cookie, $template->output;
diff --git a/members/pay.pl b/members/pay.pl
index 35faea3..e0de50a 100755
--- a/members/pay.pl
+++ b/members/pay.pl
@@ -151,6 +151,7 @@ $template->param( picture => 1 ) if $picture;
phone => $data->{'phone'},
email => $data->{'email'},
branchcode => $data->{'branchcode'},
+ is_child => ($data->{'category_type'} eq 'C'),
total => sprintf( "%.2f", $total )
);
output_html_with_http_headers $input, $cookie, $template->output;
diff --git a/members/readingrec.pl b/members/readingrec.pl
index 86564bf..611078b 100755
--- a/members/readingrec.pl
+++ b/members/readingrec.pl
@@ -106,6 +106,7 @@ $template->param(
phone => $data->{'phone'},
email => $data->{'email'},
branchcode =>
$data->{'branchcode'},
+ is_child =>
($data->{'category_type'} eq 'C'),
branchname =>
GetBranchName($data->{'branchcode'}),
showfulllink => ($count > 50),
loop_reading => [EMAIL
PROTECTED]);
--
1.5.5.GIT
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches