| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?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(__("SKU"))?></strong>
- <?=htmlspecialchars($product->sku)?>
- </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>
|