| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- namespace App;
- /**
- * @var Product $product
- */
- $supplier = $product->getSupplier();
- ?>
- <div class="row mb-2">
- <div class="col">
- <h3>
- <?=htmlspecialchars($product->name)?>
- </h3>
- </div>
- <div class="col-auto">
- <a class="btn btn-primary" href="<?=htmlspecialchars($product->getUrl())?>/update">
- <i class="fa fa-fw fa-pencil"></i>
- <?=htmlspecialchars(__("Update"))?>
- </a>
- </div>
- </div>
- <h4><?=htmlspecialchars(__("Details"))?></h4>
- <div class="list-group">
- <div class="list-group-item d-flex justify-content-between">
- <strong><?=htmlspecialchars(__("Supplier"))?></strong>
- <a href="<?=htmlspecialchars($supplier->getUrl())?>">
- <?=htmlspecialchars($supplier->name)?>
- </a>
- </div>
- <div class="list-group-item d-flex justify-content-between">
- <strong><?=htmlspecialchars(__("Type"))?></strong>
- <?=htmlspecialchars($product->getDisplayType())?>
- </div>
- <div class="list-group-item d-flex justify-content-between">
- <strong><?=htmlspecialchars(__("Price"))?></strong>
- <?=htmlspecialchars($product->getDisplayPrice())?>
- </div>
- </div>
|