Pārlūkot izejas kodu

[Backend] Documents > voir : alerte "Aucun produit" si montant 0 € #752

refactoring
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
188808451c
1 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. +6
    -4
      backend/views/document/_form.php

+ 6
- 4
backend/views/document/_form.php Parādīt failu

@@ -196,9 +196,11 @@ use common\models\Producer;
<div class="info-box-content">
<span class="info-box-text">Commandes</span>
<?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; ?>
</div>
</div>
@@ -297,7 +299,7 @@ use common\models\Producer;
</div>
<div class="panel-body">
<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>
<tr>
<th>Nom</th>

Notiek ielāde…
Atcelt
Saglabāt