diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc index 8df4d2af7c..f4343e0791 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc @@ -1,98 +1,97 @@ [% USE Koha %] [% PROCESS 'modal-claims.inc' %] [% INCLUDE 'format_price.inc' %] -
- Show checkouts -
-Patron has nothing checked out.
+[% END %] [% PROCESS 'modal-claims-display' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index f0d695bc9c..0248f00dbe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -393,7 +393,7 @@ [% ELSE %]| Guarantee | +Amount outstanding | +|
|---|---|---|
| [% INCLUDE 'patron-title.inc' patron=guarantee hide_patron_infos_if_needed=1 %] | + [% IF logged_in_user.can_see_patron_infos( guarantee ) %] +[% guarantee.account.balance | $Price %] | + [% ELSE %] +- | + [% END %] +Total due | +[% guarantees_fines | $Price %] | + +
Patron has nothing on hold.
+ [% END %] + [% END # /tab_panel#holds %] + [% END %] + + [% IF Koha.Preference('UseRecalls') %] + [% WRAPPER tab_panel tabname="recalls" %] + [% INCLUDE 'recalls.inc' %] + [% END # /tab_panel# %] + [% END %] + + [% IF Koha.Preference('ClaimReturnedLostValue') || Koha.Preference('BundleLostValue') %] + [% WRAPPER tab_panel tabname="return-claims" %] + [% INCLUDE 'patron-return-claims.inc' %] + [% END # /tab_panel# %] + [% END %] + + [% IF Koha.Preference('ArticleRequests') %] + [% WRAPPER tab_panel tabname="article-requests" %] + [% INCLUDE 'patron-article-requests.inc' %] + [% END %] + [% END # /tab_panel# %] + + [% END # /WRAPPER tab_panels %] +[% END # /WRAPPER tabs %] + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc index 1242dbf746..5956ae41a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-restrictions-tab.inc @@ -1,81 +1,81 @@ [% USE raw %] [% USE Koha %] [% PROCESS 'restriction-types.inc' %] -Patron is currently unrestricted.
- [% ELSE %] -| Type | +Comment | +Expiration | +Created | + [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] ++ [% END %] + | ||
|---|---|---|---|---|---|---|
| Type | -Comment | -Expiration | -Created | - [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] -- [% END %] - | ||
| - [% PROCESS restriction_type_description restriction_type=restriction.type %] - | -- [% IF restriction.comment.search('OVERDUES_PROCESS') %] - Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | $raw %] - [% ELSE %] - [% restriction.comment | $raw %] - [% END %] - | -[% IF restriction.expiration %] [% restriction.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %] | -[% restriction.created | $KohaDates %] | - [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] -- - Remove - - | ++ [% PROCESS restriction_type_description restriction_type=restriction.type %] + | ++ [% IF restriction.comment.search('OVERDUES_PROCESS') %] + Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | $raw %] + [% ELSE %] + [% restriction.comment | $raw %] [% END %] - |
- [% IF ( patron.return_claims.resolved.count > 0 || patron.return_claims.unresolved.count > 0 ) %] - Show all [% patron.return_claims.count | html %] claim(s) - Show [% patron.return_claims.unresolved.count | html %] unresolved claims - [% ELSE %] - - - [% END %] -
-| Claim ID | -Resolved? | -Title | -Notes | -Created on | -Updated on | -Resolution | -- |
|---|
+ [% IF ( patron.return_claims.resolved.count > 0 || patron.return_claims.unresolved.count > 0 ) %] + Show all [% patron.return_claims.count | html %] claim(s) + Show [% patron.return_claims.unresolved.count | html %] unresolved claims + [% ELSE %] + + + [% END %] +
+| Claim ID | +Resolved? | +Title | +Notes | +Created on | +Updated on | +Resolution | ++ |
|---|