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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (+4 lines)
Lines 52-59 Link Here
52
<ul>
52
<ul>
53
    <li class="active transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
53
    <li class="active transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
54
    <li class="makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
54
    <li class="makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
55
    [% IF CAN_user_updatecharges_manual_invoice %]
55
    <li class="manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
56
    <li class="manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
57
    [% END %]
58
    [% IF CAN_user_updatecharges_manual_credit %]
56
    <li class="manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
59
    <li class="manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
60
    [% END %]
57
</ul>
61
</ul>
58
<div class="tabs-container">
62
<div class="tabs-container">
59
[% INCLUDE 'renew_results.inc' renew_results=renew_results %]
63
[% INCLUDE 'renew_results.inc' renew_results=renew_results %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt (+2 lines)
Lines 45-51 Link Here
45
                <ul>
45
                <ul>
46
                    <li class="transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
46
                    <li class="transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
47
                    <li class="makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
47
                    <li class="makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
48
                    [% IF CAN_user_updatecharges_manual_invoice %]
48
                    <li class="manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
49
                    <li class="manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
50
                    [% END %]
49
                    <li class="active manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
51
                    <li class="active manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
50
                </ul>
52
                </ul>
51
                <div class="tabs-container">
53
                <div class="tabs-container">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt (+2 lines)
Lines 48-54 Link Here
48
                    <li class="transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
48
                    <li class="transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
49
                    <li class="makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
49
                    <li class="makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
50
                    <li class="active manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
50
                    <li class="active manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
51
                    [% IF CAN_user_updatecharges_manual_credit %]
51
                    <li class="manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
52
                    <li class="manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
53
                    [% END %]
52
                </ul>
54
                </ul>
53
                <div class="tabs-container">
55
                <div class="tabs-container">
54
56
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (+4 lines)
Lines 47-54 Link Here
47
<ul>
47
<ul>
48
    <li class="transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
48
    <li class="transactions"><a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=[% patron.borrowernumber | uri %]">Transactions</a></li>
49
    <li class="active makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
49
    <li class="active makepayment"><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Make a payment</a></li>
50
    [% IF CAN_user_updatecharges_manual_invoice %]
50
    <li class="manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
51
    <li class="manualinvoice"><a href="/cgi-bin/koha/members/maninvoice.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual invoice</a></li>
52
    [% END %]
53
    [% IF CAN_user_updatecharges_manual_credit %]
51
    <li class="manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
54
    <li class="manualcredit"><a href="/cgi-bin/koha/members/mancredit.pl?borrowernumber=[% patron.borrowernumber | uri %]" >Create manual credit</a></li>
55
    [% END %]
52
</ul>
56
</ul>
53
<div class="tabs-container">
57
<div class="tabs-container">
54
58
(-)a/members/mancredit.pl (-1 / +1 lines)
Lines 45-51 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
45
        type            => "intranet",
45
        type            => "intranet",
46
        flagsrequired   => {
46
        flagsrequired   => {
47
            borrowers     => 'edit_borrowers',
47
            borrowers     => 'edit_borrowers',
48
            updatecharges => 'remaining_permissions'
48
            updatecharges => 'manual_credit'
49
        }
49
        }
50
    }
50
    }
51
);
51
);
(-)a/members/maninvoice.pl (-2 / +1 lines)
Lines 50-56 my ( $template, $loggedinuser, $cookie ) = get_template_and_user( Link Here
50
        type            => "intranet",
50
        type            => "intranet",
51
        flagsrequired   => {
51
        flagsrequired   => {
52
            borrowers     => 'edit_borrowers',
52
            borrowers     => 'edit_borrowers',
53
            updatecharges => 'remaining_permissions'
53
            updatecharges => 'manual_invoice'
54
        }
54
        }
55
    }
55
    }
56
);
56
);
57
- 

Return to bug 30335