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

(-)a/koha-tmpl/intranet-tmpl/prog/css/staff-global.css (-9 / +9 lines)
Lines 2033-2039 ul.ui-tabs-nav li { Link Here
2033
    color: #538200;
2033
    color: #538200;
2034
}
2034
}
2035
2035
2036
.statictabs ul {
2036
.statictabs > ul {
2037
    background: none repeat scroll 0 0 transparent;
2037
    background: none repeat scroll 0 0 transparent;
2038
    border: 0 none;
2038
    border: 0 none;
2039
    margin: 0;
2039
    margin: 0;
Lines 2051-2067 ul.ui-tabs-nav li { Link Here
2051
    text-decoration: none;
2051
    text-decoration: none;
2052
}
2052
}
2053
2053
2054
.statictabs ul:after {
2054
.statictabs > ul:after {
2055
    clear: both;
2055
    clear: both;
2056
}
2056
}
2057
2057
2058
.statictabs ul:before,
2058
.statictabs > ul:before,
2059
.statictabs ul:after {
2059
.statictabs > ul:after {
2060
    content: "";
2060
    content: "";
2061
    display: table;
2061
    display: table;
2062
}
2062
}
2063
2063
2064
.statictabs ul li {
2064
.statictabs > ul li {
2065
    background: none repeat scroll 0 0 #E6F0F2;
2065
    background: none repeat scroll 0 0 #E6F0F2;
2066
    border: 1px solid #B9D8D9;
2066
    border: 1px solid #B9D8D9;
2067
    border-bottom: 0 none;
2067
    border-bottom: 0 none;
Lines 2080-2093 ul.ui-tabs-nav li { Link Here
2080
2080
2081
}
2081
}
2082
2082
2083
.statictabs ul li.active {
2083
.statictabs > ul li.active {
2084
    background-color: #FFFFFF;
2084
    background-color: #FFFFFF;
2085
    color: #212121;
2085
    color: #212121;
2086
    font-weight: normal;
2086
    font-weight: normal;
2087
    padding-bottom: 1px;
2087
    padding-bottom: 1px;
2088
}
2088
}
2089
2089
2090
.statictabs ul li a {
2090
.statictabs > ul li a {
2091
    color: #004D99;
2091
    color: #004D99;
2092
    cursor: pointer;
2092
    cursor: pointer;
2093
    float: left;
2093
    float: left;
Lines 2095-2108 ul.ui-tabs-nav li { Link Here
2095
    text-decoration: none;
2095
    text-decoration: none;
2096
}
2096
}
2097
2097
2098
.statictabs ul li a:hover {
2098
.statictabs > ul li a:hover {
2099
    background-color : #EDF4F5;
2099
    background-color : #EDF4F5;
2100
    border-top-right-radius: 4px;
2100
    border-top-right-radius: 4px;
2101
    border-top-left-radius: 4px;
2101
    border-top-left-radius: 4px;
2102
    color : #538200;
2102
    color : #538200;
2103
}
2103
}
2104
2104
2105
.statictabs ul li.active a {
2105
.statictabs > ul li.active a {
2106
    color: #000000;
2106
    color: #000000;
2107
    font-weight: bold;
2107
    font-weight: bold;
2108
    cursor: text;
2108
    cursor: text;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-8 / +24 lines)
Lines 108-125 $(document).ready(function() { Link Here
108
      [% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td>
108
      [% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td>
109
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td>
109
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td>
110
      <td class="actions">
110
      <td class="actions">
111
        [% IF ( account.payment ) %]
111
        <div class="dropdown">
112
          <a target="_blank" href="printfeercpt.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-print"></i> Print</a>
112
        <div class="btn-group">
113
        [% IF ( account.amountoutstanding > 0 ) %]
114
          <a class="btn btn-mini" href="paycollect.pl?borrowernumber=[% account.borrowernumber %]&pay_individual=1&accounttype=[% account.accounttype %]&amount=[% account.amount %]&amountoutstanding=[% account.amountoutstanding %]&description=[% account.description %]&notify_id=[% account.notify_id %]&notify_level=[% account.notify_level %]&accountlines_id=[% account.accountlines_id %]"><i class="fa fa-dollar"></i> Pay</a>a
115
          [% # If there is amount outstanding, we have at least two actions (pay, print, sometimes writeoff), so we need dropdown %]
116
          <a class="btn btn-mini dropdown-toggle" id="subactions[% account.accountlines_id %]" role="button" data-toggle="dropdown" href="#"><i class="caret"></i></a>
117
          <ul class="dropdown-menu" role="menu" arialabelledby="subactions[% account.accountlines_id %]">
113
        [% ELSE %]
118
        [% ELSE %]
114
          <a target="_blank" href="printinvoice.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-print"></i> Print</a>
115
        [% END %]
116
        [% IF ( reverse_col) %]
117
          [% IF ( account.payment ) %]
119
          [% IF ( account.payment ) %]
118
            <a href="boraccount.pl?action=reverse&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-undo"></i> Reverse</a>
120
            <a target="_blank" href="printfeercpt.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-print"></i> Print</a>
119
          [% ELSE %]
121
          [% ELSE %]
120
            &nbsp;
122
            <a target="_blank" href="printinvoice.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]" class="btn btn-mini"><i class="fa fa-print"></i> Print</a>
121
          [% END %]
123
          [% END %]
122
        [% END %]
124
        [% END %]
125
        [% # If user can reverse, we need the dropdown %]
126
        [% IF ( reverse_col && account.payment ) %]
127
          <a class="btn btn-mini dropdown-toggle" id="subactions[% account.accountlines_id %]" role="button" data-toggle="dropdown" href="#"><i class="caret"></i></a>
128
          <ul class="dropdown-menu" role="menu" arialabelledby="subactions[% account.accountlines_id %]">
129
        [% END %]
130
131
        [% IF ( account.amountoutstanding > 0 ) %]
132
            [% IF CAN_user_updatecharges_writeoff %]
133
            <li><a href="paycollect.pl?borrowernumber=[% account.borrowernumber %]&writeoff_individual=1&accounttype=[% account.accounttype %]&amount=[% account.amount %]&amountoutstanding=[% account.amountoutstanding %]&description=[% account.description %]&notify_id=[% account.notify_id %]&notify_level=[% account.notify_level %]&accountlines_id=[% account.accountlines_id %]"><i class="fa fa-times"></i> Write off</a></li>
134
            [% END %]
135
            <li><a target="_blank" href="printinvoice.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]"><i class="fa fa-print"></i> Print</a></li>
136
        [% END %]
137
        [% IF ( reverse_col && account.payment ) %]
138
            <li><a href="boraccount.pl?action=reverse&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]"><i class="fa fa-undo"></i> Reverse</a></li>
139
        [% END %]
123
      </td>
140
      </td>
124
    </tr>
141
    </tr>
125
142
126
- 

Return to bug 17734