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

$query->select('SUM(orderProduct.quantityOrder) as quantity'); $query->select('SUM(orderProduct.quantityOrder) as quantity');


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

return $result['quantity']; return $result['quantity'];


} }

Loading…
Cancel
Save