|
|
|
|
|
|
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th></th> |
|
|
<th></th> |
|
|
|
|
|
<th>Historique</th> |
|
|
<th>Date</th> |
|
|
<th>Date</th> |
|
|
<th>Client</th> |
|
|
<th>Client</th> |
|
|
<th>Produits</th> |
|
|
<th>Produits</th> |
|
|
|
|
|
|
|
|
</thead> |
|
|
</thead> |
|
|
<tbody> |
|
|
<tbody> |
|
|
<?php foreach($commandes as $c): ?> |
|
|
<?php foreach($commandes as $c): ?> |
|
|
<tr> |
|
|
|
|
|
<td><?= $c->getStrType(true); ?></td> |
|
|
|
|
|
|
|
|
<tr class="<?php if(!is_null($c->date_update)): ?>commande-update<?php endif; ?>"> |
|
|
|
|
|
<td class="infos"><?= $c->getStrType(true); ?></td> |
|
|
|
|
|
<td class="historique"> |
|
|
|
|
|
<div class="small"><span class="glyphicon glyphicon-plus"></span> Création <br /> <strong><?= date('d/m/Y à G\hi', strtotime($c->date)) ?></strong></div> |
|
|
|
|
|
<?php if(!is_null($c->date_update)): ?> |
|
|
|
|
|
<div class="small"><span class="update"><span class="glyphicon glyphicon-pencil"></span> Dernière modification</span><br /> <strong><?= date('d/m/Y à G\hi', strtotime($c->date_update)) ?></strong></div> |
|
|
|
|
|
<?php endif; ?> |
|
|
|
|
|
</td> |
|
|
<td class="date"> |
|
|
<td class="date"> |
|
|
<div class="bloc-date"> |
|
|
<div class="bloc-date"> |
|
|
<div class="jour"><?= strftime('%A', strtotime($c->production->date)) ?></div> |
|
|
<div class="jour"><?= strftime('%A', strtotime($c->production->date)) ?></div> |
|
|
|
|
|
|
|
|
</td> |
|
|
</td> |
|
|
<td> |
|
|
<td> |
|
|
<?= $c->getStrUser(); ?><br /> |
|
|
<?= $c->getStrUser(); ?><br /> |
|
|
<span class="small">Le <?= date('d/m/Y à G\hi', strtotime($c->date)) ?></span> |
|
|
|
|
|
</td> |
|
|
</td> |
|
|
<td><?= $c->getResumePanier() ; ?></td> |
|
|
<td><?= $c->getResumePanier() ; ?></td> |
|
|
<td><?= $c->getResumePointVente() ; ?></td> |
|
|
<td><?= $c->getResumePointVente() ; ?></td> |