View | Details | Raw Unified | Return to bug 5336
Collapse All | Expand All

(-)a/installer/data/mysql/updatedatabase.pl (-1 / +1 lines)
Lines 7169-7175 if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { Link Here
7169
    $dbh->do("UPDATE aqorders SET orderstatus=2 WHERE quantity > quantityreceived AND quantityreceived > 0");
7169
    $dbh->do("UPDATE aqorders SET orderstatus=2 WHERE quantity > quantityreceived AND quantityreceived > 0");
7170
    $dbh->do("UPDATE aqorders SET orderstatus=3 WHERE quantity=quantityreceived");
7170
    $dbh->do("UPDATE aqorders SET orderstatus=3 WHERE quantity=quantityreceived");
7171
    $dbh->do("UPDATE aqorders SET orderstatus=4 WHERE datecancellationprinted IS NOT NULL");
7171
    $dbh->do("UPDATE aqorders SET orderstatus=4 WHERE datecancellationprinted IS NOT NULL");
7172
    print "Upgrade to $DBversion done (Add category ORDRSTATUS values in authorised_values table)\n";
7172
    print "Upgrade to $DBversion done (Bug 5336: Add the new column aqorders.orderstatus)\n";
7173
    SetVersion($DBversion);
7173
    SetVersion($DBversion);
7174
}
7174
}
7175
7175
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tt (-3 / +2 lines)
Lines 32-38 Link Here
32
	
32
	
33
[% UNLESS ( order_loop ) %]<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
33
[% UNLESS ( order_loop ) %]<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
34
<fieldset class="rows">
34
<fieldset class="rows">
35
	<legend>Search Orders</legend>
35
    <legend>Search orders</legend>
36
		<ol>
36
		<ol>
37
		<li><label for="title">Title: </label> <input type="text" name="title" id="title" value="[% title %]" /></li>
37
		<li><label for="title">Title: </label> <input type="text" name="title" id="title" value="[% title %]" /></li>
38
		<li><label for="author">Author: </label> <input type="text" name="author" id="author" value="[% author %]" /></li>
38
		<li><label for="author">Author: </label> <input type="text" name="author" id="author" value="[% author %]" /></li>
Lines 49-55 Link Here
49
        </li>
49
        </li>
50
50
51
        <li>
51
        <li>
52
            <label for="orderstatus">Order Status: </label>
52
            <label for="orderstatus">Order status: </label>
53
            <select name="orderstatus" id="orderstatus">
53
            <select name="orderstatus" id="orderstatus">
54
                <option value=""></option>
54
                <option value=""></option>
55
                <option value="0">New</option>
55
                <option value="0">New</option>
56
- 

Return to bug 5336