@if($type == 'All') @foreach($hotel->hotel_rooms as $room) @if($room->rooms_numb > 0)
{!!$room->title!!}
@if($hotel->night_price == 1) @for($rxx = 1; $rxx <= $room->rooms_numb; $rxx++) @if($rxx == 1) @elseif ($rxx == 2) @else @endif @endfor @endif @foreach($room->room_types_a() as $type) @if($type->price1 > 0) breakfast == 'true') style="background-color:#eef9f8" @endif> @if($hotel->night_price == 1) @for ($j = 1; $j <= $room->rooms_numb; $j++) @if($j == 1) @else @if($type->breakfast == 'true') @else @endif @endif @endfor @endif @endif @endforeach
اسم الغرفةشخصشخصين{{$rxx}} أشخاصحجز
{{optional($type->room_info)->name}} @if($type->breakfast == 'true') @endif $ {{$type->price1}}$ {{$type->price1 + $room['price_diff_'.$j]}}$ {{$type->price1 + $room['wb_price_diff_'.$j]}} حجز

تاريخ العرض : من {{get_arabic_day(date('N', strtotime($room->from_date)))}} {{date('d',strtotime($room->from_date))}} {{get_arabic_month(date('n',strtotime($room->from_date)))}} {{date('Y',strtotime($room->from_date))}}           الى {{get_arabic_day(date('N', strtotime($room->to_date)))}} {{date('d',strtotime($room->to_date))}} {{get_arabic_month(date('n',strtotime($room->to_date)))}} {{date('Y',strtotime($room->to_date))}}

ملاحظات : {{$room->text}}

@endif @endforeach @elseif ($type == 'Breakfast') @foreach($hotel->hotel_rooms as $room) @if($room->rooms_numb > 0 && room_has_breakfast($room->id))
{!!$room->title!!}
@if($hotel->night_price == 1) @for($rxx = 1; $rxx <= $room->rooms_numb; $rxx++) @if($rxx == 1) @elseif ($rxx == 2) @else @endif @endfor @endif @foreach($room->room_types_a() as $type) @if($type->price1 > 0 && $type->breakfast == 'true') breakfast == 'true') style="background-color:#eef9f8" @endif> @if($hotel->night_price == 1) @for ($j = 1; $j <= $room->rooms_numb; $j++) @if($j == 1) @else @if($type->breakfast == 'true') @else @endif @endif @endfor @endif @endif @endforeach
اسم الغرفةشخصشخصين{{$rxx}} أشخاصحجز
{{optional($type->room_info)->name}} @if($type->breakfast == 'true') @endif $ {{$type->price1}}$ {{$type->price1 + $room['price_diff_'.$j]}}$ {{$type->price1 + $room['wb_price_diff_'.$j]}} حجز

تاريخ العرض : من {{get_arabic_day(date('N', strtotime($room->from_date)))}} {{date('d',strtotime($room->from_date))}} {{get_arabic_month(date('n',strtotime($room->from_date)))}} {{date('Y',strtotime($room->from_date))}}           الى {{get_arabic_day(date('N', strtotime($room->to_date)))}} {{date('d',strtotime($room->to_date))}} {{get_arabic_month(date('n',strtotime($room->to_date)))}} {{date('Y',strtotime($room->to_date))}}

ملاحظات : {{$room->text}}

@endif @endforeach @elseif ($type == 'WithOutBreakfast') @foreach($hotel->hotel_rooms as $room) @if($room->rooms_numb > 0 && room_has_nobreakfast($room->id))
{!!$room->title!!}
@if($hotel->night_price == 1) @for($rxx = 1; $rxx <= $room->rooms_numb; $rxx++) @if($rxx == 1) @elseif ($rxx == 2) @else @endif @endfor @endif @foreach($room->room_types_a() as $type) @if($type->price1 > 0 && $type->breakfast != 'true') breakfast == 'true') style="background-color:#eef9f8" @endif> @if($hotel->night_price == 1) @for ($j = 1; $j <= $room->rooms_numb; $j++) @if($j == 1) @else @if($type->breakfast == 'true') @else @endif @endif @endfor @endif @endif @endforeach
اسم الغرفةشخصشخصين{{$rxx}} أشخاصحجز
{{optional($type->room_info)->name}} @if($type->breakfast == 'true') @endif $ {{$type->price1}}$ {{$type->price1 + $room['price_diff_'.$j]}}$ {{$type->price1 + $room['wb_price_diff_'.$j]}} حجز

تاريخ العرض : من {{get_arabic_day(date('N', strtotime($room->from_date)))}} {{date('d',strtotime($room->from_date))}} {{get_arabic_month(date('n',strtotime($room->from_date)))}} {{date('Y',strtotime($room->from_date))}}           الى {{get_arabic_day(date('N', strtotime($room->to_date)))}} {{date('d',strtotime($room->to_date))}} {{get_arabic_month(date('n',strtotime($room->to_date)))}} {{date('Y',strtotime($room->to_date))}}

ملاحظات : {{$room->text}}

@endif @endforeach @endif