Browse Source

Merge branch 'dev'

master
Guillaume Bourgeois 5 years ago
parent
commit
f364588b67
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      backend/views/layouts/header.php

+ 0
- 2
backend/views/layouts/header.php View File

@@ -74,7 +74,6 @@ $producer = Producer::getCurrent() ;
<?php
$pastDistributionsArray = Distribution::find()
->with('order')
->where(['<', 'distribution.date', date('Y-m-d')])
->andWhere([
'distribution.id_producer' => Producer::getId(),
@@ -87,7 +86,6 @@ $producer = Producer::getCurrent() ;
$pastDistributionsArray = array_reverse($pastDistributionsArray) ;
$incomingDistributionsArray = Distribution::find()
->with('order')
->where(['>=', 'distribution.date', date('Y-m-d')])
->andWhere([
'distribution.id_producer' => Producer::getId(),

Loading…
Cancel
Save