|
|
|
|
|
|
|
|
<div class="info-box-content"> |
|
|
<div class="info-box-content"> |
|
|
<span class="info-box-text">Commandes</span> |
|
|
<span class="info-box-text">Commandes</span> |
|
|
<?php foreach($model->orders as $order): ?> |
|
|
<?php foreach($model->orders as $order): ?> |
|
|
<a class="btn btn-sm btn-default" href="<?= Yii::$app->urlManager->createUrl(['distribution/index', 'idOrderUpdate' => $order->id]); ?>"> |
|
|
|
|
|
<?= date('d/m/Y', strtotime($order->distribution->date)) ?> |
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
<?php if($order->distribution): ?> |
|
|
|
|
|
<a class="btn btn-sm btn-default" href="<?= Yii::$app->urlManager->createUrl(['distribution/index', 'idOrderUpdate' => $order->id]); ?>"> |
|
|
|
|
|
<?= date('d/m/Y', strtotime($order->distribution->date)) ?> |
|
|
|
|
|
</a> |
|
|
|
|
|
<?php endif; ?> |
|
|
<?php endforeach; ?> |
|
|
<?php endforeach; ?> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div class="panel-body"> |
|
|
<div class="panel-body"> |
|
|
<div id="block-list-products"> |
|
|
<div id="block-list-products"> |
|
|
<table class="table table-bordered" v-if="total > 0"> |
|
|
|
|
|
|
|
|
<table class="table table-bordered" v-if="Object.keys(ordersArray).length > 0"> |
|
|
<thead> |
|
|
<thead> |
|
|
<tr> |
|
|
<tr> |
|
|
<th>Nom</th> |
|
|
<th>Nom</th> |