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

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

Return to bug 5336