|
|
@@ -155,25 +155,6 @@ if(empty($documents)) {
|
|
|
else {
|
|
|
?>
|
|
|
<table class="table table-bordered table-hover mb-3">
|
|
|
- <colgroup>
|
|
|
- <col style="width: 1%"/>
|
|
|
- <col style="width: 10%"/>
|
|
|
- <?php
|
|
|
- if(!$status_options) {
|
|
|
- ?>
|
|
|
- <col style="width: 20%"/>
|
|
|
- <?php
|
|
|
- }
|
|
|
- else {
|
|
|
- ?>
|
|
|
- <col style="width: 30%"/>
|
|
|
- <col style="width: 10%"/>
|
|
|
- <?php
|
|
|
- }
|
|
|
- ?>
|
|
|
- <col style="width: 50%"/>
|
|
|
- <col style="width: 1%"/>
|
|
|
- </colgroup>
|
|
|
<thead>
|
|
|
<tr>
|
|
|
<th><?=htmlspecialchars(__("Ref."))?></th>
|
|
|
@@ -199,6 +180,15 @@ else {
|
|
|
?>
|
|
|
|
|
|
<th><?=htmlspecialchars(__("Items"))?></th>
|
|
|
+
|
|
|
+ <?php
|
|
|
+ if($is_sale_order) {
|
|
|
+ ?>
|
|
|
+ <th><?=htmlspecialchars(__("Value"))?></th>
|
|
|
+ <?php
|
|
|
+ }
|
|
|
+ ?>
|
|
|
+
|
|
|
<th><?=htmlspecialchars(__("Actions"))?></th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
@@ -256,6 +246,15 @@ else {
|
|
|
View::include("components/document_items_unstyled_list", ["items" => $document->getItems()]);
|
|
|
?>
|
|
|
</td>
|
|
|
+ <?php
|
|
|
+ if($is_sale_order) {
|
|
|
+ ?>
|
|
|
+ <td class="text-end">
|
|
|
+ <?=htmlspecialchars($document->getDisplaySubtotal())?>
|
|
|
+ </td>
|
|
|
+ <?php
|
|
|
+ }
|
|
|
+ ?>
|
|
|
<td class="p-1">
|
|
|
<a class="btn btn-sm btn-primary" href="<?=htmlspecialchars($document->getUrl())?>">
|
|
|
<?=htmlspecialchars(__("View"))?>
|