{{-- Boostrap --}} {{-- Jquery --}} {{-- AJAX --}} {{-- Import Hotel Settings Control --}} {{-- My Styles --}}
{{-- Logo --}} @if (Auth::user()->profile_photo === null) @else @endif {{-- Titulo --}}

@if($hotel->business_name != '') {{$hotel->business_name}}
@endif - {{ __('tickets')['hotel']['consumption_tickets']['title'] }} -

{{-- Detalles Generales --}}

{{ __('tickets')['hotel']['consumption_tickets']['reservation'] }}   {{ $reservation->id }}
{{ __('tickets')['hotel']['consumption_tickets']['date'] }} {{ $reservation->date_entry }} @if($hotel->business_address != '')
{{ __('tickets')['hotel']['consumption_tickets']['address'] }}  {{$hotel->business_address}} @endif

{{-- Resumen del Pedido --}} {{-- Illusionary Divisor --}} {{-- Productos Solicitados --}} @forelse($reservation->consumptionCharges->where('status', 'Activo') as $charges) @empty @endforelse {{-- Illusionary Divisor --}}
{{ __('tickets')['hotel']['consumption_tickets']['consumption_date'] }} {{ __('tickets')['hotel']['consumption_tickets']['consumption_concat'] }} {{ __('tickets')['hotel']['consumption_tickets']['consumption_amount'] }}
{{ $charges->consumption_date->format('Y-m-d H:i') }} {{ $charges->consumption_concept}} {{ \App\Helpers\Formats\FormatCurrencyHelper::formatCurrency( number_format($charges->consumption_price, 2) ) }}
--- --- ---
{{-- Importes --}} @php $chargesCount = $reservation->consumptionCharges->where('status', 'Activo'); $totalCharges = $chargesCount->sum('consumption_price'); @endphp

{{ __('tickets')['hotel']['consumption_tickets']['global_quantities'] }}  {{ count($chargesCount) }}

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

{{-- Redes Sociales --}}

{{ __('tickets')['hotel']['consumption_tickets']['acknowledgments'] }} @if($hotel->business_phone != '')
{{ __('tickets')['hotel']['consumption_tickets']['phone'] }} {{$hotel->business_phone}} @endif

{{-- Print Control --}}