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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc (+2 lines)
Lines 36-41 Link Here
36
                     <th>Type</th>
36
                     <th>Type</th>
37
                     <th>Comment</th>
37
                     <th>Comment</th>
38
                     <th>Expiration</th>
38
                     <th>Expiration</th>
39
                     <th>Created</th>
39
                     [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
40
                     [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
40
                         <th>&nbsp;</th>
41
                         <th>&nbsp;</th>
41
                     [% END %]
42
                     [% END %]
Lines 64-69 Link Here
64
			    [% END %]
65
			    [% END %]
65
			</td>
66
			</td>
66
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
67
                        <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
68
                        <td>[% d.created | $KohaDates %]</td>
67
                        [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
69
                        [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
68
                            <td>
70
                            <td>
69
                                <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&amp;borrower_debarment_id=[% d.borrower_debarment_id %]&amp;action=del">
71
                                <a class="remove_restriction btn btn-default btn-xs" href="/cgi-bin/koha/members/mod_debarment.pl?borrowernumber=[% borrowernumber %]&amp;borrower_debarment_id=[% d.borrower_debarment_id %]&amp;action=del">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +2 lines)
Lines 990-995 $(document).ready(function() { Link Here
990
                                 <th>Type</th>
990
                                 <th>Type</th>
991
                                 <th>Comment</th>
991
                                 <th>Comment</th>
992
                                 <th>Expiration</th>
992
                                 <th>Expiration</th>
993
                                 <th>Created</th>
993
                                 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
994
                                 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
994
                                   <th>Remove?</th>
995
                                   <th>Remove?</th>
995
                                 [% END %]
996
                                 [% END %]
Lines 1008-1013 $(document).ready(function() { Link Here
1008
                                    [% END %]
1009
                                    [% END %]
1009
                                    </td>
1010
                                    </td>
1010
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
1011
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
1012
                                    <td>[% d.created | $KohaDates %]</td>
1011
                                    [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1013
                                    [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1012
                                      <td>
1014
                                      <td>
1013
                                        <input type="checkbox" id="debarment_[% d.borrower_debarment_id %]" name="remove_debarment" value="[% d.borrower_debarment_id %]" />
1015
                                        <input type="checkbox" id="debarment_[% d.borrower_debarment_id %]" name="remove_debarment" value="[% d.borrower_debarment_id %]" />
1014
- 

Return to bug 19471