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

(-)a/installer/data/mysql/atomicupdate/BZ12732_SORT_LATE_ORDERS_BY_BASKET_CREATION_OR_CLOSING_DATE.perl (+6 lines)
Line 0 Link Here
1
$DBversion = 'XXX';  # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
    $dbh->do("INSERT INTO systempreferences (variable,value,explanation,type) VALUES ('AcqLateOrderUseCreationDate', 'closing', 'creation|closing', 'Change late order default sort.', 'Choice')");
4
    SetVersion( $DBversion );
5
    print "Upgrade to $DBversion done (Bug 12732 - Sort late orders by basket creation or closing date)\n";
6
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-1 / +5 lines)
Lines 116-122 $(document).ready(function() { Link Here
116
            [% ELSE %]
116
            [% ELSE %]
117
                <th></th>
117
                <th></th>
118
            [% END %]
118
            [% END %]
119
            <th class="title-string">Order [% lateOrderSort %] date</th>
119
            [% IF ( lateOrderSort == "creation") %]
120
                <th class="title-string">Order creation date</th>
121
            [% ELSE %]
122
                <th class="title-string">Order closing date</th>
123
            [% END %]
120
            <th class="title-string">Estimated delivery date</th>
124
            <th class="title-string">Estimated delivery date</th>
121
            <th>Vendor</th>
125
            <th>Vendor</th>
122
            <th class="anti-the">Information</th>
126
            <th class="anti-the">Information</th>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref (-4 / +4 lines)
Lines 20-30 Acquisitions: Link Here
20
                  1: always ask for confirmation.
20
                  1: always ask for confirmation.
21
                  2: do not ask for confirmation.
21
                  2: do not ask for confirmation.
22
        -
22
        -
23
            - Use
23
            - pref: AcqLateOrderUseCreationDate
24
            - pref: AcqLateOrderUseCreationDate
24
              choices:
25
              choices:
25
                  creation: Do
26
                  creation: creation date
26
                  closing: Don't
27
                  closing: closing date
27
            - Use the creation date of the basket to sort late order.
28
            - of the basket to sort late order.
28
        -
29
        -
29
            - Show baskets
30
            - Show baskets
30
            - pref: AcqViewBaskets
31
            - pref: AcqViewBaskets
31
- 

Return to bug 12732