Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function createLagersystemListQueryBuilder(): QueryBuilder |
||
23 | { |
||
24 | return $this->createQueryBuilder('o') |
||
25 | ->andWhere('o.checkoutState in (:checkoutStates)') |
||
26 | ->setParameter('checkoutStates', [ |
||
27 | OrderCheckoutStates::STATE_COMPLETED, |
||
28 | ]) |
||
29 | |||
30 | ->andWhere('o.shippingState NOT in (:shippingState)') |
||
31 | ->setParameter('shippingState', [ |
||
32 | OrderShippingStates::STATE_SHIPPED, |
||
33 | ]) |
||
34 | |||
35 | ->andWhere('o.paymentState in (:paymentState)') |
||
36 | ->setParameter('paymentState', [ |
||
37 | OrderPaymentStates::STATE_AUTHORIZED, |
||
38 | OrderPaymentStates::STATE_PARTIALLY_AUTHORIZED, |
||
39 | OrderPaymentStates::STATE_PAID, |
||
40 | OrderPaymentStates::STATE_PARTIALLY_PAID, |
||
41 | ]) |
||
45 |