|
@@ -4,19 +4,25 @@ namespace App;
|
|
|
/**
|
|
/**
|
|
|
* @var Sale[] $sales
|
|
* @var Sale[] $sales
|
|
|
*/
|
|
*/
|
|
|
|
|
+
|
|
|
|
|
+$core = Core::getInstance();
|
|
|
|
|
+$user = $core->getUser();
|
|
|
|
|
+
|
|
|
?>
|
|
?>
|
|
|
<table class="table table-bordered table-hover mb-3">
|
|
<table class="table table-bordered table-hover mb-3">
|
|
|
<colgroup>
|
|
<colgroup>
|
|
|
<col style="width: 1%"/>
|
|
<col style="width: 1%"/>
|
|
|
- <col style="width: 33%"/>
|
|
|
|
|
- <col style="width: 33%"/>
|
|
|
|
|
- <col style="width: 33%"/>
|
|
|
|
|
|
|
+ <col style="width: 55%"/>
|
|
|
|
|
+ <col style="width: 15%"/>
|
|
|
|
|
+ <col style="width: 15%"/>
|
|
|
|
|
+ <col style="width: 15%"/>
|
|
|
<col style="width: 1%"/>
|
|
<col style="width: 1%"/>
|
|
|
</colgroup>
|
|
</colgroup>
|
|
|
<thead>
|
|
<thead>
|
|
|
<tr>
|
|
<tr>
|
|
|
<th><?=htmlspecialchars(__("No."))?></th>
|
|
<th><?=htmlspecialchars(__("No."))?></th>
|
|
|
<th><?=htmlspecialchars(__("Location"))?></th>
|
|
<th><?=htmlspecialchars(__("Location"))?></th>
|
|
|
|
|
+ <th><?=htmlspecialchars(__("Date"))?></th>
|
|
|
<th><?=htmlspecialchars(__("Status"))?></th>
|
|
<th><?=htmlspecialchars(__("Status"))?></th>
|
|
|
<th><?=htmlspecialchars(__("Predicted Sold Date"))?></th>
|
|
<th><?=htmlspecialchars(__("Predicted Sold Date"))?></th>
|
|
|
<th><?=htmlspecialchars(__("Actions"))?></th>
|
|
<th><?=htmlspecialchars(__("Actions"))?></th>
|
|
@@ -36,6 +42,9 @@ namespace App;
|
|
|
<?=htmlspecialchars($location->getDisplayName())?>
|
|
<?=htmlspecialchars($location->getDisplayName())?>
|
|
|
</a>
|
|
</a>
|
|
|
</td>
|
|
</td>
|
|
|
|
|
+ <td>
|
|
|
|
|
+ <?=htmlspecialchars($user->formatDate($sale->getDateTimeCreated()))?>
|
|
|
|
|
+ </td>
|
|
|
<td>
|
|
<td>
|
|
|
<?=htmlspecialchars($sale->getDisplayStatus())?>
|
|
<?=htmlspecialchars($sale->getDisplayStatus())?>
|
|
|
</td>
|
|
</td>
|