SetVersion($DBversion);
}
$DBversion = 'XXX';
if ( CheckVersion($DBversion) ) {
$dbh->do("
INSERT INTO systempreferences (variable,value,explanation,type) VALUES ('AcqLateOrderUseCreationDate', 'closing', 'creation|closing', 'Change late order default sort.', 'Choice')");
print "Upgrade to $DBversion done (Bug 12732 - Sort late orders by basket creation or closing date)\n";
=head1 FUNCTIONS
=head2 TableExists($table)
[% ELSE %]
<th></th>
[% END %]
<th class="title-string">Order [% lateOrderSort %] date</th>
[% IF ( lateOrderSort == "creation") %]
<th class="title-string">Order creation date</th>
<th class="title-string">Order closing date</th>
<th class="title-string">Estimated delivery date</th>
<th>Vendor</th>
<th class="anti-the">Information</th>
- "You can use the following fields: price, quantity, budget_code, discount, sort1, sort2"
- "<br/>For example:<br/>price: 947$a|947$c<br/>quantity: 969$h<br/>budget_code: 922$a"
-
- Use
- pref: AcqLateOrderUseCreationDate
choices:
creation: Do
creation: creation date
closing: Don't
closing: closing date
- Use the creation date of the basket to sort late order.
- of the basket to sort late order.
Printing: