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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-23 / +18 lines)
Lines 14-20 $(document).ready(function() { Link Here
14
        'aaSorting': [[0, 'desc']],
14
        'aaSorting': [[0, 'desc']],
15
        "sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>',
15
        "sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>',
16
        "aoColumnDefs": [
16
        "aoColumnDefs": [
17
            { "sType": "title-string", "aTargets" : [ "title-string" ] }
17
            { "sType": "title-string", "aTargets" : [ "title-string" ] },
18
            { "bSortable": false, "bSearchable": false, "aTargets": [-1] }
18
        ]
19
        ]
19
    }));
20
    }));
20
    $("#filter_c").html('<p><a href="#" id="filter_transacs">'+txtActivefilter+'</a>');
21
    $("#filter_c").html('<p><a href="#" id="filter_transacs">'+txtActivefilter+'</a>');
Lines 66-74 $(document).ready(function() { Link Here
66
          <th>Amount</th>
67
          <th>Amount</th>
67
          <th>Outstanding</th>
68
          <th>Outstanding</th>
68
          [% IF ( reverse_col ) %]
69
          [% IF ( reverse_col ) %]
70
              <th>Actions</th>
71
          [% ELSE %]
69
              <th>&nbsp;</th>
72
              <th>&nbsp;</th>
70
          [% END %]
73
          [% END %]
71
          <th>Print</th>
72
        </tr>
74
        </tr>
73
    </thead>
75
    </thead>
74
76
Lines 104-124 $(document).ready(function() { Link Here
104
      <td>[% account.note | html_line_break %]</td>
106
      <td>[% account.note | html_line_break %]</td>
105
      [% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td>
107
      [% IF ( account.amountcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amount %]</td>
106
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td>
108
      [% IF ( account.amountoutstandingcredit ) %]<td class="credit" style="text-align: right;">[% ELSE %]<td class="debit" style="text-align: right;">[% END %][% account.amountoutstanding %]</td>
107
    [% IF ( reverse_col ) %]
109
      <td class="actions">
108
      <td>
110
        [% IF ( account.payment ) %]
109
	[% IF ( account.payment ) %]
111
          <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>
110
		<a href="boraccount.pl?action=reverse&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]">Reverse</a>
112
        [% ELSE %]
111
	[% ELSE %]
113
          <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>
112
		&nbsp;
114
        [% END %]
113
	[% END %]
115
        [% IF ( reverse_col) %]
114
      </td>
116
          [% IF ( account.payment ) %]
115
	[% END %]
117
            <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>
116
<td>
118
          [% ELSE %]
117
	[% IF ( account.payment ) %]
119
            &nbsp;
118
		<a target="_blank" href="printfeercpt.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]">Print</a>
120
          [% END %]
119
	[% ELSE %]
121
        [% END %]
120
		<a target="_blank" href="printinvoice.pl?action=print&amp;accountlines_id=[% account.accountlines_id %]&amp;borrowernumber=[% account.borrowernumber %]">Print</a>
121
	[% END %]
122
      </td>
122
      </td>
123
    </tr>
123
    </tr>
124
124
Lines 131-141 $(document).ready(function() { Link Here
131
    [% ELSE %]
131
    [% ELSE %]
132
       <td class="debit"style="text-align: right;">[% total %]</td>
132
       <td class="debit"style="text-align: right;">[% total %]</td>
133
    [% END %]
133
    [% END %]
134
    [% IF ( reverse_col ) %]
134
    <td></td>
135
      <td colspan="2"></td>
136
      [% ELSE %]
137
        <td></td>
138
    [% END %]
139
  </tr>
135
  </tr>
140
  </tfoot>
136
  </tfoot>
141
</table>
137
</table>
142
- 

Return to bug 16235