@php $chargesCount = $reservation->consumptionCharges->where('status', 'Activo'); $totalCharges = $chargesCount->sum('consumption_price'); @endphp

{{-- Items Quantity --}} {{ __('tickets')['hotel']['consumption_tickets']['global_quantities'] }}  {{ count($chargesCount) }} {{-- Subtotal --}}

{{ __('tickets')['hotel']['consumption_tickets']['amount'] }}  {{ \App\Helpers\Formats\FormatCurrencyHelper::formatCurrency( number_format($totalCharges, 2) ) }} {{-- IVA % --}}
{{ __('tickets')['hotel']['consumption_tickets']['iva'] }}  {{ \App\Helpers\Formats\FormatCurrencyHelper::formatCurrency( number_format(($totalCharges * 0.16) , 2) ) }} {{-- Total --}}
{{ __('tickets')['hotel']['consumption_tickets']['total'] }}  {{ \App\Helpers\Formats\FormatCurrencyHelper::formatCurrency( number_format(($totalCharges * 1.16) , 2), false) }}