https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33653

--- Comment #12 from Katrin Fischer <[email protected]> ---
If I am reading that right:

        {
            '-or' => [
                { 'basket.is_standing' => 1,
                  'orderstatus' => [ 'new', 'ordered', 'partial' ] },
                { 'orderstatus' => [ 'ordered', 'partial' ] }
            ]
        }

* It's a standing order with new, ordered or partial
* It's ordered or partial

That should work ok here.

I believe the standing orders could be an issue, but if I understand the code
correctly, they are already showing up in the late orders:

-            ( orderstatus => { '!=' => 'cancelled' } ),
+            ( orderstatus => { '-not_in' => ['cancelled', 'complete'] } ),


If the delivery date is calculated from the order date, they will all be "late"
for the 'new' order line and there is no way to tell that it is a standing
order in the results list... probably something for a separate bug.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to