Lines 31-37
Link Here
|
31 |
<fieldset class="rows"> |
31 |
<fieldset class="rows"> |
32 |
<legend>Items for purchase</legend> |
32 |
<legend>Items for purchase</legend> |
33 |
Please select items from below to add to this transaction: |
33 |
Please select items from below to add to this transaction: |
34 |
[% SET invoice_types = AuthorisedValues.GetAuthValueDropbox('MANUAL_INV') %] |
|
|
35 |
[% IF invoice_types %] |
34 |
[% IF invoice_types %] |
36 |
<table id="invoices"> |
35 |
<table id="invoices"> |
37 |
<thead> |
36 |
<thead> |
Lines 45-55
Link Here
|
45 |
<tbody> |
44 |
<tbody> |
46 |
[% FOREACH invoice IN invoice_types %] |
45 |
[% FOREACH invoice IN invoice_types %] |
47 |
<tr> |
46 |
<tr> |
48 |
<td>[% invoice.authorised_value | html %]</td> |
47 |
<td>[% invoice.code | html %]</td> |
49 |
<td>[% invoice.lib_opac | html %]</td> |
48 |
<td>[% invoice.description | html %]</td> |
50 |
<td>[% invoice.lib | html %]</td> |
49 |
<td>[% invoice.default_amount | $Price %]</td> |
51 |
<td> |
50 |
<td> |
52 |
<button class="add_button" data-invoice-code="[% invoice.lib_opac %]" data-invoice-title="[% invoice.authorised_value | html %]" data-invoice-price="[% invoice.lib | html %]"><i class="fa fa-plus"></i> Add</button> |
51 |
<button class="add_button" data-invoice-code="[% invoice.code %]" data-invoice-title="[% invoice.description | html %]" data-invoice-price="[% invoice.default_amount | html %]"><i class="fa fa-plus"></i> Add</button> |
53 |
</td> |
52 |
</td> |
54 |
</tr> |
53 |
</tr> |
55 |
[% END %] |
54 |
[% END %] |