|
@@ -15,10 +15,11 @@ use App\Helpers\HtmlHelper;
|
|
|
$core = Core::getInstance();
|
|
$core = Core::getInstance();
|
|
|
$user = $core->getUser();
|
|
$user = $core->getUser();
|
|
|
|
|
|
|
|
-$company = $document->getCompany();
|
|
|
|
|
$sale = $document->getSale();
|
|
$sale = $document->getSale();
|
|
|
$related_document = $document->getRelatedDocument();
|
|
$related_document = $document->getRelatedDocument();
|
|
|
|
|
|
|
|
|
|
+$location = $document->getLocation();
|
|
|
|
|
+
|
|
|
?>
|
|
?>
|
|
|
<section class="mb-4">
|
|
<section class="mb-4">
|
|
|
<h3>
|
|
<h3>
|
|
@@ -286,6 +287,15 @@ $related_document = $document->getRelatedDocument();
|
|
|
<dd><?=htmlspecialchars($user->formatDateTime($document->getDateTimeCreated()))?></dd>
|
|
<dd><?=htmlspecialchars($user->formatDateTime($document->getDateTimeCreated()))?></dd>
|
|
|
|
|
|
|
|
<?php
|
|
<?php
|
|
|
|
|
+ if($location) {
|
|
|
|
|
+ ?>
|
|
|
|
|
+ <dt><?=htmlspecialchars(__("Location"))?></dt>
|
|
|
|
|
+ <dd>
|
|
|
|
|
+ <a href="<?=htmlspecialchars($location->getUrl())?>"><?=htmlspecialchars($location->getDisplayName())?></a>
|
|
|
|
|
+ </dd>
|
|
|
|
|
+ <?php
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
if($sale) {
|
|
if($sale) {
|
|
|
?>
|
|
?>
|
|
|
<dt><?=htmlspecialchars(__("Related Sale"))?></dt>
|
|
<dt><?=htmlspecialchars(__("Related Sale"))?></dt>
|