Browse Source

Bon de commande producteur

feature/export_comptable
Fab 4 years ago
parent
commit
85391e90f2
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Repository/OrderShopRepository.php

+ 1
- 0
ShopBundle/Repository/OrderShopRepository.php View File

@@ -300,6 +300,7 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt
$query->select('SUM(orderProduct.quantityOrder) as quantity');

$result = $query->getQuery()->getOneOrNullResult();

return $result['quantity'];

}

Loading…
Cancel
Save