|
@@ -1,4 +1,4 @@
|
|
|
-<?php
|
|
|
|
|
|
|
+<?php /** @noinspection PhpUnhandledExceptionInspection */
|
|
|
|
|
|
|
|
namespace App;
|
|
namespace App;
|
|
|
|
|
|
|
@@ -23,25 +23,36 @@ $supplier = $product->getSupplier();
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
-<h4><?=htmlspecialchars(__("Details"))?></h4>
|
|
|
|
|
|
|
+<section class="mb-4">
|
|
|
|
|
+ <h4 class="mb-3"><?=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 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 class="list-group-item d-flex justify-content-between">
|
|
|
|
|
+ <strong><?=htmlspecialchars(__("URL"))?></strong>
|
|
|
|
|
+ <span>
|
|
|
|
|
+ <i class="fa fa-fw fa-external-link"></i>
|
|
|
|
|
+ <a href="<?=htmlspecialchars($product->url)?>" target="_blank">
|
|
|
|
|
+ <?=htmlspecialchars(__("View"))?>
|
|
|
|
|
+ </a>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="list-group-item d-flex justify-content-between">
|
|
|
|
|
- <strong><?=htmlspecialchars(__("Price"))?></strong>
|
|
|
|
|
- <?=htmlspecialchars($product->getDisplayPrice())?>
|
|
|
|
|
- </div>
|
|
|
|
|
-</div>
|
|
|
|
|
|
|
+</section>
|