Lines 46-51
Link Here
|
46 |
<th class="NoSort">Actions</th> |
46 |
<th class="NoSort">Actions</th> |
47 |
<th>Description</th> |
47 |
<th>Description</th> |
48 |
<th class="title-string">Date</th> |
48 |
<th class="title-string">Date</th> |
|
|
49 |
<th>Barcode</th> |
50 |
<th>Due date</th> |
51 |
<th>Return date</th> |
49 |
<th class="NoSort">Payment note</th> |
52 |
<th class="NoSort">Payment note</th> |
50 |
<th>Account type</th> |
53 |
<th>Account type</th> |
51 |
<th>Amount</th> |
54 |
<th>Amount</th> |
Lines 70-75
Link Here
|
70 |
[% END %] |
73 |
[% END %] |
71 |
<input type="hidden" name="itemnumber[% line.accountlines_id | html %]" value="[% line.itemnumber | html %]" /> |
74 |
<input type="hidden" name="itemnumber[% line.accountlines_id | html %]" value="[% line.itemnumber | html %]" /> |
72 |
<input type="hidden" name="description[% line.accountlines_id | html %]" value="[% line.description | html %]" /> |
75 |
<input type="hidden" name="description[% line.accountlines_id | html %]" value="[% line.description | html %]" /> |
|
|
76 |
<input type="hidden" name="issue_id[% line.accountlines_id | html %]" value="[% line.issue_id | html %]" /> |
73 |
<input type="hidden" name="accounttype[% line.accountlines_id | html %]" value="[% line.accounttype | html %]" /> |
77 |
<input type="hidden" name="accounttype[% line.accountlines_id | html %]" value="[% line.accounttype | html %]" /> |
74 |
<input type="hidden" name="amount[% line.accountlines_id | html %]" value="[% line.amount | html %]" /> |
78 |
<input type="hidden" name="amount[% line.accountlines_id | html %]" value="[% line.amount | html %]" /> |
75 |
<input type="hidden" name="accountlines_id[% line.accountlines_id | html %]" value="[% line.accountlines_id | html %]" /> |
79 |
<input type="hidden" name="accountlines_id[% line.accountlines_id | html %]" value="[% line.accountlines_id | html %]" /> |
Lines 101-111
Link Here
|
101 |
[% CASE %][% line.accounttype | html %] |
105 |
[% CASE %][% line.accounttype | html %] |
102 |
[%- END -%] |
106 |
[%- END -%] |
103 |
[%- IF line.description %], [% line.description | html %][% END %] |
107 |
[%- IF line.description %], [% line.description | html %][% END %] |
104 |
[% IF line.title %]([% line.title | html %])[% END %] |
108 |
[% IF line.itemnumber %]([% line.item.biblio.title | html %])[% END %] |
105 |
</td> |
109 |
</td> |
106 |
<td> |
110 |
<td> |
107 |
<span title="[% line.date | html %]">[% line.date | $KohaDates %]</span> |
111 |
<span title="[% line.date | html %]">[% line.date | $KohaDates %]</span> |
108 |
</td> |
112 |
</td> |
|
|
113 |
<td> |
114 |
[% IF line.itemnumber %] |
115 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% line.itemnumber | uri %]&biblionumber=[% line.item.biblionumber | uri %]#item[% line.itemnumber | uri %]">[% line.item.barcode | html %]</a> |
116 |
[% END %] |
117 |
</td> |
118 |
<td> |
119 |
[% IF line.issue_id %] |
120 |
[% line.issue.date_due | $KohaDates as_due_date => 1 %] |
121 |
[% END %] |
122 |
</td> |
123 |
<td> |
124 |
[% IF line.issue_id %] |
125 |
[% line.issue.returndate | $KohaDates with_hours => 1 %] |
126 |
[% END %] |
127 |
</td> |
109 |
<td class="actions"> |
128 |
<td class="actions"> |
110 |
<a href="#" class="add-note" data-accountlines_id="[% line.accountlines_id | html %]"><i class="fa fa-plus"></i> Add note</a> |
129 |
<a href="#" class="add-note" data-accountlines_id="[% line.accountlines_id | html %]"><i class="fa fa-plus"></i> Add note</a> |
111 |
<span class="payment_note" id="payment_note_[% line.accountlines_id | html %]" style="display:none"><input type="text" size="10" name="payment_note_[% line.accountlines_id | html %]" value="" /> <a href="#" class="cancel-note"><i class="fa fa-remove"></i></a></span> |
130 |
<span class="payment_note" id="payment_note_[% line.accountlines_id | html %]" style="display:none"><input type="text" size="10" name="payment_note_[% line.accountlines_id | html %]" value="" /> <a href="#" class="cancel-note"><i class="fa fa-remove"></i></a></span> |
Lines 120-137
Link Here
|
120 |
<tfoot> |
139 |
<tfoot> |
121 |
[% IF outstanding_credits.total_outstanding < 0 %] |
140 |
[% IF outstanding_credits.total_outstanding < 0 %] |
122 |
<tr> |
141 |
<tr> |
123 |
<td class="total" colspan="7">Outstanding credits could be applied: </td> |
142 |
<td class="total" colspan="10">Outstanding credits could be applied: </td> |
124 |
<td class="credit" style="text-align: right;"><button type="submit" id="apply_credits" name="apply_credits" value="apply_credits" class="btn btn-default btn-sm">Apply <strong class="credit">[% outstanding_credits.total_outstanding | $Price %]</strong></button></td> |
143 |
<td class="credit" style="text-align: right;"><button type="submit" id="apply_credits" name="apply_credits" value="apply_credits" class="btn btn-default btn-sm">Apply <strong class="credit">[% outstanding_credits.total_outstanding | $Price %]</strong></button></td> |
125 |
</tr> |
144 |
</tr> |
126 |
[% END %] |
145 |
[% END %] |
127 |
[% IF ( account_grp.total ) %] |
146 |
[% IF ( account_grp.total ) %] |
128 |
<tr> |
147 |
<tr> |
129 |
<td class="total" colspan="7" style="text-align: right;">Sub total:</td> |
148 |
<td class="total" colspan="10" style="text-align: right;">Sub total:</td> |
130 |
<td style="text-align: right;">[% account_grp.total | $Price %]</td> |
149 |
<td style="text-align: right;">[% account_grp.total | $Price %]</td> |
131 |
</tr> |
150 |
</tr> |
132 |
[% END %] |
151 |
[% END %] |
133 |
<tr> |
152 |
<tr> |
134 |
<td class="total" colspan="7">Total due:</td> |
153 |
<td class="total" colspan="10">Total due:</td> |
135 |
[% IF outstanding_credits.total_outstanding < 0 %] |
154 |
[% IF outstanding_credits.total_outstanding < 0 %] |
136 |
<td style="text-align: right;">[% total + outstanding_credits.total_outstanding | $Price %]</td> |
155 |
<td style="text-align: right;">[% total + outstanding_credits.total_outstanding | $Price %]</td> |
137 |
[% ELSE %] |
156 |
[% ELSE %] |