diff --git a/admin/themes/default/template/controllers/orders/_hotel_service_products_table.tpl b/admin/themes/default/template/controllers/orders/_hotel_service_products_table.tpl index eb4a22fd2..6d3920f82 100644 --- a/admin/themes/default/template/controllers/orders/_hotel_service_products_table.tpl +++ b/admin/themes/default/template/controllers/orders/_hotel_service_products_table.tpl @@ -25,18 +25,17 @@
| {l s='Image'} | +{l s='Image'} | {l s='Name'} | {l s='Quantity'} | {l s='Price (Tax excl.)'} | {l s='Total Tax'} | {l s='Total Price (Tax incl.)'} | {if isset($refundReqProducts) && $refundReqProducts} -{l s='Refund State'} | -{l s='Refunded amount'} | +{l s='Refund'} {l s='Refund requests'} |
{/if}
- {if $can_edit}
- {l s='Actions'} | + {if ($can_edit)} +{l s='Actions'} | {/if}
- {if $product.id_service_product_order_detail|in_array:$refundReqProducts}
- {if $product.is_cancelled}
- {l s='Cancelled'}
- {elseif isset($product.refund_info) && (!$product.refund_info.refunded || $product.refund_info.id_customization)}
- {$product.refund_info.name|escape:'html':'UTF-8'}
- {else}
- --
+ {if $product.refund_count}
+ {if $product.refund_amount}
+ + {convertPriceWithCurrency price=$product.refund_amount currency=$currency->id} + {/if} + {$product.refund_count} {else} - -- - {/if} - |
-
- {if $product.is_refunded && isset($product.refund_info) && $product.refund_info}
- {convertPriceWithCurrency price=$product.refund_info.refunded_amount currency=$currency->id}
- {else}
- --
+ -- {/if} |
{/if}
- {if ($can_edit && !$order->hasBeenDelivered())}
+ {if ($can_edit)}
- + | {* edit/delete controls *} {if isset($refundReqProducts) && $refundReqProducts && $product.id_service_product_order_detail|in_array:$refundReqProducts && $product.is_cancelled} |
|---|
- {if $data.id|in_array:$refundReqBookings} - {if $data.is_cancelled} - {l s='Cancelled'} - {elseif isset($data.refund_info) && (!$data.refund_info.refunded || $data.refund_info.id_customization)} - {$data.refund_info.name|escape:'html':'UTF-8'} - {else} - -- - {/if} - {else} - -- - {/if} -
- {if $data.is_refunded && isset($data.refund_info) && $data.refund_info} -- {convertPriceWithCurrency price=$data.refund_info.refunded_amount currency=$currency->id} -
- {/if} + {if $data.refund_count} + {if $data.refund_amount} ++ {convertPriceWithCurrency price=$data.refund_amount currency=$currency->id} +
+ {/if} + {$data.refund_count} + {else} +--
+ {/if}| {l s='Image'} | +{l s='Image'} | {l s='Name'} | {l s='Quantity'} | {l s='Price (Tax excl.)'} | {l s='Total Tax'} | {l s='Total Price (Tax incl.)'} | {if isset($refundReqProducts) && $refundReqProducts} -{l s='Refund State'} | -{l s='Refunded amount'} | +{l s='Refund'} {l s='Refund requests'} |
{/if}
{if ($can_edit)}
- {l s='Actions'} | +{l s='Actions'} | {/if}
- {if $product.id_service_product_order_detail|in_array:$refundReqProducts}
- {if $product.is_cancelled}
- {l s='Cancelled'}
- {elseif isset($product.refund_info) && (!$product.refund_info.refunded || $product.refund_info.id_customization)}
- {$product.refund_info.name|escape:'html':'UTF-8'}
- {else}
- --
+ {if $product.refund_count}
+ {if $product.refund_amount}
+ + {convertPriceWithCurrency price=$product.refund_amount currency=$currency->id} + {/if} ++ {$product.refund_count} {else} - -- - {/if} - |
-
- {if $product.is_refunded && isset($product.refund_info) && $product.refund_info}
- {convertPriceWithCurrency price=$product.refund_info.refunded_amount currency=$currency->id}
- {else}
- --
+ -- {/if} |
{/if}
- {if ($can_edit && !$order->hasBeenDelivered())}
+ {if ($can_edit)}
- + | {* edit/delete controls *} {if isset($refundReqProducts) && $refundReqProducts && $product.id_service_product_order_detail|in_array:$refundReqProducts && $product.is_cancelled} |
|---|