$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do("INSERT INTO systempreferences (variable,value,explanation,type) VALUES ('AcqLateOrderUseCreationDate', 'closing', 'creation|closing', 'Change late order default sort.', 'Choice')");
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 12732 - Sort late orders by basket creation or closing date)\n";
}
[% 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>
1: always ask for confirmation.
2: do not ask for confirmation.
-
- 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.
- Show baskets
- pref: AcqViewBaskets