Updated: Dipplayed tax incl price of th services/facilities while viewing extra services in order detail page in back-office

This commit is contained in:
Sumit Panwar
2025-06-30 15:01:43 +05:30
parent 569c093b00
commit 9e56e37c5c
3 changed files with 11 additions and 5 deletions

View File

@@ -140,8 +140,9 @@
<thead>
<tr>
<th>{l s='Name'}</th>
<th>{l s='Unit Price'}</th>
<th>{l s='Total Price'}</th>
<th>{l s='Unit Price (tax excl.)'}</th>
<th>{l s='Total Price (tax excl.)'}</th>
<th>{l s='Total Price (tax incl.)'}</th>
</tr>
</thead>
<tbody>
@@ -157,6 +158,7 @@
{/if}
</td>
<td>{displayPrice price=$demand['total_price_tax_excl'] currency=$orderCurrency}</td>
<td>{displayPrice price=$demand['total_price_tax_incl'] currency=$orderCurrency}</td>
</tr>
{/foreach}
{/foreach}

View File

@@ -251,8 +251,9 @@
<th>{l s='ID'}</th>
<th>{l s='Name'}</th>
<th></th>
<th>{l s='Unit Price'}</th>
<th>{l s='Total Price'}</th>
<th>{l s='Unit Price (tax excl.)'}</th>
<th>{l s='Total Price (tax excl.)'}</th>
<th>{l s='Total Price (tax incl.)'}</th>
</tr>
</thead>
</tbody>
@@ -279,6 +280,9 @@
<td>
{displayPrice price=$service['total_price_tax_excl'] currency=$orderCurrency}
</td>
<td>
{displayPrice price=$service['total_price_tax_incl'] currency=$orderCurrency}
</td>
</tr>
{/foreach}
</tbody>

View File

@@ -7173,7 +7173,7 @@ class AdminOrdersControllerCore extends AdminController
$modal = array(
'modal_id' => 'room-extra-demands',
'modal_class' => 'modal-md order_detail_modal',
'modal_class' => 'modal-lg order_detail_modal',
'modal_title' => '<i class="icon icon-file-text"></i> &nbsp'.$this->l('Extra Services'),
'modal_content' => $this->context->smarty->fetch('controllers/orders/modals/_extra_services.tpl'),
);