@extends('admin.layout.master') @section('title', 'Bed Cleaning Status') @section('custom_style') @endsection @section('content') @include('flash-message')
| Floor | Room | Bed | Bed Status |
HK Status
|
Modify |
|---|---|---|---|---|---|
| {{ $room->floor->floor_no }} | {{ $room->parentRoom ? $room->parentRoom->room_number : null }} | {{ $room ? $room->room_number : null }} | {{ Form::select('', ['1' => 'Ready', '2' => 'In Used', '3' => 'Dirty', '4' => 'Out Of order'], $room->bed_status, ['class' => 'form-control', 'id' => '','disabled']) }} | {{ Form::select('hk_room_status[]', ['1' => 'Ready', '2' => 'In Used', '3' => 'Dirty', '4' => 'Out Of order'], $room->hk_room_status, ['class' => 'form-control showSelected', 'data-id'=>$room->id, 'id' =>'hk_room_status'. $room->id, 'required', 'placeholder' => 'Select Bed Status']) }} {{ Form::hidden('reason[]', null, ['class' => 'form-control out_of_order_reason', 'id' => 'out_of_order_reason'.$room->id,'placeholder'=>'Type Reason']) }} | @if(in_array($room->bed_status, [2,3,4]) && $room->hk_room_status == 1) {{-- @if($room->bed_status == 3 && $room->hk_room_status == 1) --}} Accept @endif {{-- If Room Not Dirty --}} @if( $room->bed_status ==1 || in_array($room->hk_room_status, [2,4])) {{-- @if($room->bed_status !== 3 && $room->hk_room_status !== 3) --}} @else {{-- --}} @endif |