Link Here
|
63 |
</ul></div> |
63 |
</ul></div> |
64 |
<div id="menu"> |
64 |
<div id="menu"> |
65 |
<ul> |
65 |
<ul> |
66 |
[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li> |
66 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
67 |
[% IF Koha.Preference('BatchCheckouts') && |
67 |
[% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]">Check out</a></li> |
68 |
Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ categorycode _ '$').size > 0 %] |
68 |
[% IF Koha.Preference('BatchCheckouts') && |
69 |
[% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]&batch=1">Batch check out</a></li> |
69 |
Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ categorycode _ '$').size > 0 %] |
|
|
70 |
[% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% borrowernumber %]&batch=1">Batch check out</a></li> |
71 |
[% END %] |
70 |
[% END %] |
72 |
[% END %] |
71 |
[% IF ( CAN_user_borrowers ) %] |
73 |
[% IF ( CAN_user_borrowers ) %] |
72 |
[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li> |
74 |
[% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">Details</a></li> |
Link Here
|
74 |
[% IF ( CAN_user_updatecharges ) %] |
76 |
[% IF ( CAN_user_updatecharges ) %] |
75 |
[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Fines</a></li> |
77 |
[% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">Fines</a></li> |
76 |
[% END %] |
78 |
[% END %] |
77 |
[% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing lists</a></li>[% END %] |
79 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
78 |
<!-- Added check for borrowers permission as this is needed to access Cirulation History --> |
80 |
[% IF ( RoutingSerials ) %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% borrowernumber %]">Routing lists</a></li>[% END %] |
79 |
[% IF ( intranetreadinghistory && CAN_user_borrowers ) %] |
81 |
[% END %] |
80 |
[% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li> |
82 |
[% IF ( CAN_user_borrowers ) %] |
|
|
83 |
[% IF ( intranetreadinghistory ) %] |
84 |
[% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% borrowernumber %]">Circulation history</a></li> |
85 |
[% END %] |
81 |
[% END %] |
86 |
[% END %] |
82 |
[% IF ( CAN_user_parameters ) %] |
87 |
[% IF ( CAN_user_parameters ) %] |
83 |
[% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% borrowernumber %]&src=circ">Modification log</a></li> |
88 |
[% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% borrowernumber %]&src=circ">Modification log</a></li> |
84 |
[% END %] |
89 |
[% END %] |
|
|
90 |
[% IF ( CAN_user_borrowers ) %] |
85 |
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li> |
91 |
[% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber %]">Notices</a></li> |
86 |
<!-- Added IF statement to check if user has borrowers permission. The menu item will not be shown unless user has borrowers permission --> |
92 |
[% END %] |
87 |
[% IF ( CAN_user_borrowers ) %] |
93 |
[% IF ( CAN_user_borrowers ) %] |
88 |
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li> |
94 |
[% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% borrowernumber %]">Statistics</a></li> |
89 |
[% END %] |
95 |
[% END %] |
90 |
[% IF EnableBorrowerFiles %] |
96 |
[% IF ( CAN_user_borrowers ) %] |
91 |
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li> |
97 |
[% IF ( EnableBorrowerFiles ) %] |
|
|
98 |
[% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% borrowernumber %]">Files</a></li> |
99 |
[% END %] |
92 |
[% END %] |
100 |
[% END %] |
93 |
|
101 |
|
94 |
[% IF ( CAN_user_borrowers ) %] |
102 |
[% IF ( CAN_user_borrowers ) %] |
95 |
- |
|
|