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 1012-1017 $(document).ready(function() { Link Here
1012
                                 <th>Type</th>
1012
                                 <th>Type</th>
1013
                                 <th>Comment</th>
1013
                                 <th>Comment</th>
1014
                                 <th>Expiration</th>
1014
                                 <th>Expiration</th>
1015
                                 <th>Created</th>
1015
                                 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1016
                                 [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1016
                                   <th>Remove?</th>
1017
                                   <th>Remove?</th>
1017
                                 [% END %]
1018
                                 [% END %]
Lines 1030-1035 $(document).ready(function() { Link Here
1030
                                    [% END %]
1031
                                    [% END %]
1031
                                    </td>
1032
                                    </td>
1032
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
1033
                                    <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
1034
                                    <td>[% d.created | $KohaDates %]</td>
1033
                                    [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1035
                                    [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]
1034
                                      <td>
1036
                                      <td>
1035
                                        <input type="checkbox" id="debarment_[% d.borrower_debarment_id %]" name="remove_debarment" value="[% d.borrower_debarment_id %]" />
1037
                                        <input type="checkbox" id="debarment_[% d.borrower_debarment_id %]" name="remove_debarment" value="[% d.borrower_debarment_id %]" />
1036
- 

Return to bug 19471