Lines 34-87
Link Here
|
34 |
<div id="yui-main"> |
34 |
<div id="yui-main"> |
35 |
<div class="yui-b"> |
35 |
<div class="yui-b"> |
36 |
[% IF ( modified ) %] |
36 |
[% IF ( modified ) %] |
37 |
<div class="dialog"> |
37 |
<div class="dialog message"> |
38 |
<p>Invoice has been modified</p> |
38 |
<p>Invoice has been modified</p> |
39 |
</div> |
39 |
</div> |
40 |
[% END %] |
40 |
[% END %] |
41 |
<h1>Invoice: [% invoicenumber %]</h1> |
41 |
<h1>Invoice: [% invoicenumber %]</h1> |
42 |
|
42 |
|
43 |
<p>Vendor: <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% suppliername %]</a></p> |
43 |
<p>Vendor: <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% suppliername %]</a></p> |
44 |
<form action="" method="post"> |
44 |
<form action="/cgi-bin/koha/acqui/invoice.pl" method="post"> |
45 |
<fieldset> |
45 |
<fieldset class="rows"> |
46 |
<label for="shipmentdate">Shipment date:</label> |
46 |
<ol> |
47 |
<input type="text" size="10" id="shipmentdate" name="shipmentdate" value="[% shipmentdate | $KohaDates %]" readonly="readonly" class="datepicker" /> |
47 |
<li><label for="shipmentdate">Shipment date:</label> |
48 |
<p></p> |
48 |
<input type="text" size="10" id="shipmentdate" name="shipmentdate" value="[% shipmentdate | $KohaDates %]" readonly="readonly" class="datepicker" /></li> |
49 |
<label for="billingdate">Billing date:</label> |
49 |
|
50 |
<input type="text" size="10" id="billingdate" name="billingdate" value="[% billingdate | $KohaDates %]" readonly="readonly" class="datepicker" /> |
50 |
<li><label for="billingdate">Billing date:</label> |
51 |
<p></p> |
51 |
<input type="text" size="10" id="billingdate" name="billingdate" value="[% billingdate | $KohaDates %]" readonly="readonly" class="datepicker" /></li> |
52 |
<label for="shipmentcost">Shipment cost:</label> |
52 |
|
53 |
<input type="text" size="10" id="shipmentcost" name="shipmentcost" value="[% shipmentcost %]" /> |
53 |
<li><label for="shipmentcost">Shipment cost:</label> |
54 |
<label for="shipment_budget_id">Fund:</label> |
54 |
<input type="text" size="10" id="shipmentcost" name="shipmentcost" value="[% shipmentcost %]" /></li> |
55 |
<select id="shipment_budget_id" name="shipment_budget_id"> |
55 |
<li><label for="shipment_budget_id">Fund:</label> |
56 |
<option value="">No fund</option> |
56 |
<select id="shipment_budget_id" name="shipment_budget_id"> |
57 |
[% FOREACH budget IN budgets_loop %] |
57 |
<option value="">No fund</option> |
58 |
[% IF ( budget.selected ) %] |
58 |
[% FOREACH budget IN budgets_loop %] |
59 |
<option selected="selected" value="[% budget.budget_id %]"> |
59 |
[% IF ( budget.selected ) %] |
60 |
[% ELSE %] |
60 |
<option selected="selected" value="[% budget.budget_id %]"> |
61 |
<option value="[% budget.budget_id %]"> |
61 |
[% ELSE %] |
62 |
[% END %] |
62 |
<option value="[% budget.budget_id %]"> |
63 |
[% budget.budget_name %] |
63 |
[% END %] |
64 |
</option> |
64 |
[% budget.budget_name %] |
|
|
65 |
</option> |
66 |
[% END %] |
67 |
</select></li> |
68 |
|
69 |
[% IF ( invoiceclosedate ) %] |
70 |
<li><span class="label">Status:</span> |
71 |
Closed on [% invoiceclosedate | $KohaDates %].</li> |
72 |
|
73 |
<li><label for="reopen">Reopen: </label></li> <input type="checkbox" name="reopen" id="reopen" /> |
74 |
[% ELSE %] |
75 |
<li><span class="label">Status:</span> |
76 |
Open.</li> |
77 |
|
78 |
<li><label for="close">Close: </label> <input type="checkbox" name="close" id="close" /> |
79 |
</li> |
65 |
[% END %] |
80 |
[% END %] |
66 |
</select> |
81 |
</ol> |
67 |
<p></p> |
|
|
68 |
<label>Status:</label> |
69 |
[% IF ( invoiceclosedate ) %] |
70 |
Closed on [% invoiceclosedate | $KohaDates %]. |
71 |
<p></p> |
72 |
<input type="checkbox" name="reopen" id="reopen" /> |
73 |
<label for="reopen">Reopen</label> |
74 |
[% ELSE %] |
75 |
Open. |
76 |
<p></p> |
77 |
<input type="checkbox" name="close" id="close" /> |
78 |
<label for="close">Close</label> |
79 |
[% END %] |
80 |
<input type="hidden" name="op" value="mod" /> |
82 |
<input type="hidden" name="op" value="mod" /> |
81 |
<input type="hidden" name="invoiceid" value="[% invoiceid %]" /> |
83 |
<input type="hidden" name="invoiceid" value="[% invoiceid %]" /> |
82 |
<fieldset class="action"> |
84 |
</fieldset> |
83 |
<input type="submit" value="Save"> |
85 |
<fieldset class="action"> |
84 |
</fieldset> |
86 |
<input type="submit" value="Save" /> |
85 |
</fieldset> |
87 |
</fieldset> |
86 |
</form> |
88 |
</form> |
87 |
<p> |
89 |
<p> |
Lines 164-170
Link Here
|
164 |
</tfoot> |
166 |
</tfoot> |
165 |
</table> |
167 |
</table> |
166 |
[% ELSE %] |
168 |
[% ELSE %] |
167 |
<p>No orders yet</p> |
169 |
<div class="dialog message"><p>No orders yet</p></div> |
168 |
[% END %] |
170 |
[% END %] |
169 |
</div> |
171 |
</div> |
170 |
</div> |
172 |
</div> |
171 |
- |
|
|