3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Acquisitions › Invoice</title>
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% INCLUDE 'calendar.inc' %]
8 [% INCLUDE 'datatables.inc' %]
9 <script type="text/javascript">
11 $(document).ready(function() {
12 $("#orderst").dataTable($.extend(true, {}, dataTablesDefaults, {
24 [% INCLUDE 'header.inc' %]
25 [% INCLUDE 'acquisitions-search.inc' %]
27 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a> › <a href="/cgi-bin/koha/acqui/invoice.pl?invoiceid=[% invoiceid %]">[% invoicenumber %]</a></div>
29 <div id="doc3" class="yui-t2">
35 <div class="dialog message">
36 <p>Invoice has been modified</p>
39 <h1>Invoice: [% invoicenumber %]</h1>
41 <p>Vendor: <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% suppliername %]</a></p>
42 <form action="/cgi-bin/koha/acqui/invoice.pl" method="post">
43 <fieldset class="rows">
45 <li><label for="shipmentdate">Shipment date:</label>
46 <input type="text" size="10" id="shipmentdate" name="shipmentdate" value="[% shipmentdate | $KohaDates %]" readonly="readonly" class="datepicker" /></li>
48 <li><label for="billingdate">Billing date:</label>
49 <input type="text" size="10" id="billingdate" name="billingdate" value="[% billingdate | $KohaDates %]" readonly="readonly" class="datepicker" /></li>
51 <li><label for="shipmentcost">Shipment cost:</label>
52 <input type="text" size="10" id="shipmentcost" name="shipmentcost" value="[% shipmentcost %]" /></li>
53 <li><label for="shipment_budget_id">Fund:</label>
54 <select id="shipment_budget_id" name="shipment_budget_id">
55 <option value="">No fund</option>
56 [% FOREACH budget IN budgets_loop %]
57 [% IF ( budget.selected ) %]
58 <option selected="selected" value="[% budget.budget_id %]">
60 <option value="[% budget.budget_id %]">
62 [% budget.budget_name %]
67 [% IF ( invoiceclosedate ) %]
68 <li><span class="label">Status:</span>
69 Closed on [% invoiceclosedate | $KohaDates %].</li>
71 <li><label for="reopen">Reopen: </label> <input type="checkbox" name="reopen" id="reopen" /></li>
73 <li><span class="label">Status:</span>
76 <li><label for="close">Close: </label> <input type="checkbox" name="close" id="close" />
80 <input type="hidden" name="op" value="mod" />
81 <input type="hidden" name="invoiceid" value="[% invoiceid %]" />
83 <fieldset class="action">
84 <input type="submit" value="Save" />
85 [% UNLESS orders_loop.size %]
86 <a href="invoice.pl?op=delete&invoiceid=[% invoiceid %]">Delete</a>
91 <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% invoiceid %]">Go to receipt page</a>
93 <h2>Invoice details</h2>
94 [% IF orders_loop.size %]
109 [% FOREACH order IN orders_loop %]
111 <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">[% order.title %]</a>
112 [% IF ( order.author ) %]
113 <br /><em>by</em> [% order.author %]
117 [% IF ( order.publishercode ) %]
118 <p>[% order.publishercode %]
119 [% IF ( order.publicationyear ) %]
120 - [% order.publicationyear %]
125 <td><p>[% order.branchcode %]</p></td>
126 <td>[% order.rrp %]</td>
127 <td>[% order.ecost %]</td>
128 <td class="number">[% order.quantity %]</td>
129 <td>[% order.total %]</td>
130 <td>[% order.budget_name %]</td>
136 <th colspan="3">Total tax exc.</th>
137 <th>[% total_rrp_gste %]</th>
139 <th>[% total_quantity %]</th>
140 <th>[% total_est_gste %]</th>
144 <th colspan='3'>Tax ([% gist %]%)</th>
145 <th>[% gist_rrp %]</th>
148 <th>[% gist_est %]</th>
152 <th colspan='3'>Total tax inc. ([% currency %])</th>
153 <th>[% total_rrp_gsti %]</th>
155 <th>[% total_quantity %]</th>
156 <th>[% total_est_gsti %]</th>
160 <th colspan="3">Total + shipment cost ([% currency %])</th>
163 <th>[% total_quantity %]</th>
164 <th>[% total_gsti_shipment %]</th>
170 <div class="dialog message"><p>No orders yet</p></div>
175 [% INCLUDE 'acquisitions-menu.inc' %]
178 [% INCLUDE 'intranet-bottom.inc' %]