Browse Source

Merge branch 'dev'

master
Guillaume Bourgeois 5 years ago
parent
commit
112d2cf80e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      backend/views/producer/update.php
  2. +1
    -1
      producer/views/order/order.php

+ 1
- 1
backend/views/producer/update.php View File

echo '<input type="checkbox" name="delete_logo" id="delete_logo" /> <label for="delete_logo">Supprimer le logo</label><br /><br />'; echo '<input type="checkbox" name="delete_logo" id="delete_logo" /> <label for="delete_logo">Supprimer le logo</label><br /><br />';
} }
?> ?>
<?= $form->field($model, 'photo')->fileInput() ?>
<?= $form->field($model, 'photo')->fileInput()->hint('Format idéal : 900 x 150 px') ?>
<?php <?php
if (strlen($model->photo)) { if (strlen($model->photo)) {
echo '<img src="'.Yii::$app->urlManagerProducer->getHostInfo().'/'.Yii::$app->urlManagerProducer->baseUrl.'/uploads/' . $model->photo . '" width="400px" /><br />'; echo '<img src="'.Yii::$app->urlManagerProducer->getHostInfo().'/'.Yii::$app->urlManagerProducer->baseUrl.'/uploads/' . $model->photo . '" width="400px" /><br />';

+ 1
- 1
producer/views/order/order.php View File

</transition> </transition>
</div> </div>
</div> </div>
<div id="infos" v-if="producer != null && producer.order_infos.length">
<div id="infos" v-if="producer != null && producer.order_infos != null && producer.order_infos.length">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
Informations Informations

Loading…
Cancel
Save