You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <tr class="<?php if(isset($displayOrders) && $displayOrders): ?>order<?php endif; ?>">
- <td class="align-left">
- <?= Html::encode($productOrder->product->name) ?>
- <?php if($productOrder->unit == 'piece' && isset($productOrder->product->weight) && $productOrder->product->weight): ?>
- <span class="weight"> / <?= $productOrder->product->weight ?> g</span>
- <?php endif; ?>
- <?php if(strlen($productOrder->product->description)): ?>
- <br /><small><?= Html::encode($productOrder->product->description) ?></small>
- <?php endif; ?>
- </td>
- <?php if($displayPrices): ?>
- <td class="align-center"><?= Price::format($productOrder->getPrice()) ?></td>
- <?php endif; ?>
- <td class="align-center"><?= $productOrder->quantity * Product::$unitsArray[$productOrder->unit]['coefficient'] ?></td>
- <td class="align-center"><?= Product::strUnit($productOrder->unit, 'wording') ?></td>
- <?php if($displayPrices): ?>
- <?php if(GlobalParam::getCurrentProducer()->taxRate->value != 0): ?>
- <td class="align-center"><?= $productOrder->taxRate->value * 100 ?> %</td>
- <?php endif; ?>
- <td class="align-center"><?= Price::format($productOrder->getPrice() * $productOrder->quantity) ?></td>
- <?php endif; ?>
- </tr>
|