Преглед изворни кода

Merge branch 'dev'

prodstable
Guillaume пре 3 година
родитељ
комит
5dc18cec66
2 измењених фајлова са 3 додато и 2 уклоњено
  1. +1
    -1
      producer/views/order/order.php
  2. +2
    -1
      producer/views/site/index.php

+ 1
- 1
producer/views/order/order.php Прегледај датотеку

@@ -236,7 +236,7 @@ $producer = GlobalParam::getCurrentProducer() ;
<span class="other">
<span v-if="product.description.length">/</span>
<span class="description">{{ product.description }}</span>
<span v-if="product.weight">({{ product.weight }}g)</span>
<span v-if="product.weight">({{ product.weight }}&nbsp;g)</span>
</span>
<span v-if="product.quantity_max > 0 && ((product.quantity_form / product.coefficient_unit == product.quantity_remaining) || ((product.quantity_remaining * product.coefficient_unit) - product.quantity_form) < product.step)" class="label label-danger">
Épuisé

+ 2
- 1
producer/views/site/index.php Прегледај датотеку

@@ -173,9 +173,10 @@ $this->setPageTitle(Html::encode($producer->type.' à '.$producer->city)) ;
if($hasProductWeight) {
$columnsProducts[] = [
'attribute' => 'weight',
'format' => 'raw',
'value' => function($model) {
if(strlen($model->weight)) {
return $model->weight.' g' ;
return $model->weight.'&nbsp;g' ;
}
return '' ;
}

Loading…
Откажи
Сачувај