Lines 15-20
Link Here
|
15 |
[% INCLUDE 'header.inc' %] |
15 |
[% INCLUDE 'header.inc' %] |
16 |
[% INCLUDE 'acquisitions-search.inc' %] |
16 |
[% INCLUDE 'acquisitions-search.inc' %] |
17 |
|
17 |
|
|
|
18 |
[% SET readonly = NOT CAN_user_acquisition_edit_invoices %] |
19 |
|
18 |
<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 | html %]">[% invoicenumber | html %]</a></div> |
20 |
<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 | html %]">[% invoicenumber | html %]</a></div> |
19 |
|
21 |
|
20 |
<div class="main container-fluid"> |
22 |
<div class="main container-fluid"> |
Lines 35-42
Link Here
|
35 |
<ol> |
37 |
<ol> |
36 |
<li> |
38 |
<li> |
37 |
<label for="shipmentdate" class="required">Invoice number:</label> |
39 |
<label for="shipmentdate" class="required">Invoice number:</label> |
38 |
<input type="text" id="invoicenumber" name="invoicenumber" value="[% invoicenumber | html %]" class="required" required="required"/> |
40 |
[% IF readonly %] |
39 |
<span class="required">Required</span> |
41 |
[% invoicenumber | html %] |
|
|
42 |
[% ELSE %] |
43 |
<input type="text" id="invoicenumber" name="invoicenumber" value="[% invoicenumber | html %]" class="required" required="required"/> |
44 |
<span class="required">Required</span> |
45 |
[% END %] |
40 |
</li> |
46 |
</li> |
41 |
|
47 |
|
42 |
<li><label for="shipmentdate">Shipment date:</label> |
48 |
<li><label for="shipmentdate">Shipment date:</label> |
Lines 71-77
Link Here
|
71 |
<li><span class="label">Status:</span> |
77 |
<li><span class="label">Status:</span> |
72 |
Closed on [% invoiceclosedate | $KohaDates %]</li> |
78 |
Closed on [% invoiceclosedate | $KohaDates %]</li> |
73 |
|
79 |
|
74 |
<li><label for="reopen">Reopen: </label> <input type="checkbox" name="reopen" id="reopen" /></li> |
80 |
<li> |
|
|
81 |
<label for="reopen">Reopen: </label> |
82 |
[% IF CAN_user_acquisition_reopen_closed_invoices %] |
83 |
<input type="checkbox" name="reopen" id="reopen" /> |
84 |
[% ELSE %] |
85 |
<input type="checkbox" name="reopen" id="reopen" readonly="readonly" /> |
86 |
[% END %] |
87 |
</li> |
75 |
[% ELSE %] |
88 |
[% ELSE %] |
76 |
<li><span class="label">Status:</span> |
89 |
<li><span class="label">Status:</span> |
77 |
Open</li> |
90 |
Open</li> |