{** * 2010-2022 Webkul. * * NOTICE OF LICENSE * * All right is reserved, * Please go through LICENSE.txt file inside our module * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade this module to newer * versions in the future. If you wish to customize this module for your * needs please refer to CustomizationPolicy.txt file inside our module for more information. * * @author Webkul IN * @copyright 2010-2022 Webkul IN * @license LICENSE.txt *}

{l s='Ratings Summary' mod='qlohotelreview'}

{$summary.average|string_format:'%.1f'} /5

{l s='Based on ' mod='qlohotelreview'} {$summary.total_reviews} {if $summary.total_reviews > 1} {l s='reviews' mod='qlohotelreview'} {else} {l s='review' mod='qlohotelreview'} {/if}

{if is_array($summary.categories) && count($summary.categories)}

{l s='Categories' mod='qlohotelreview'}

{foreach from=$summary.categories item=category}
{$category.average|string_format:'%.1f'}

{$category.name}

{/foreach}
{/if}