@extends('admin.layout.master') @section('title', 'Room Clean Status') @section('custom_style') @endsection @section('content') @include('flash-message')
| Floor | Room | Room Type | Room Status |
HK Status
|
Modify |
|---|---|---|---|---|---|
| {{ $room->floor->floor_no }} | {{ $room->room_number }} | {{ $room->roomType ? $room->roomType->name : null }} | {{ Form::select('', ['1' => 'Ready', '2' => 'In Used', '3' => 'Dirty', '4' => 'Out Of order'], $room->room_clean_status, ['class' => 'form-control', 'id' => 'room_clean_status'.$room->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 Room 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->room_clean_status, [2,3,4]) && $room->hk_room_status == 1) {{-- Accept --}} Accept @endif {{-- If Room Not Dirty --}} @if( $room->room_clean_status ==1 || in_array($room->hk_room_status, [2,4])) @else {{-- --}} @endif |