|
|
|
|
|
|
|
|
use domain\Feature\Feature\Feature; |
|
|
use domain\Feature\Feature\Feature; |
|
|
use domain\Feature\Feature\FeatureModule; |
|
|
use domain\Feature\Feature\FeatureModule; |
|
|
use domain\Order\Order\Order; |
|
|
use domain\Order\Order\Order; |
|
|
|
|
|
use domain\Order\Order\OrderRepositoryQuery; |
|
|
use domain\PointSale\PointSale\PointSaleModule; |
|
|
use domain\PointSale\PointSale\PointSaleModule; |
|
|
use domain\Producer\Producer\ProducerModule; |
|
|
use domain\Producer\Producer\ProducerModule; |
|
|
use domain\Product\Product\ProductModule; |
|
|
use domain\Product\Product\ProductModule; |
|
|
|
|
|
|
|
|
]) |
|
|
]) |
|
|
->params([':date_today' => date('Y-m-d')]) |
|
|
->params([':date_today' => date('Y-m-d')]) |
|
|
->andWhere('distribution.date >= :date_today') |
|
|
->andWhere('distribution.date >= :date_today') |
|
|
|
|
|
->andWhere(OrderRepositoryQuery::getSqlFilterIsValid()) |
|
|
->count(); |
|
|
->count(); |
|
|
$labelOrders = $countOrders > 0 ? 'success' : 'default'; |
|
|
$labelOrders = $countOrders > 0 ? 'success' : 'default'; |
|
|
|
|
|
|