@extends('admin.layout.master') @section('title', 'Bed Cleaning Status') @section('custom_style') @endsection @section('content') @include('flash-message')

Bed Cleaning Status

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{ Form::open(['route' => ['housekeeping.bed_clean.status'], 'method' => 'get', 'class' => 'form-horizontal']) }}
{{ Form::select('floor_id', $repository->floors(), null, ['class' => 'form-control text-right', 'id' => 'warehouse_id', 'placeholder' => 'Select Floor']) }}
{{ Form::select('room_id', $repository->rooms(), null, ['class' => 'form-control', 'id' => 'room_type', 'placeholder' => 'Select Room']) }}
{{ Form::close() }}
{{ Form::open(['route' => ['housekeeping.bed_clean.status.update'], 'method' => 'put', 'class' => 'form-horizontal', 'id' => 'myform', 'enctype' => 'multipart/form-data']) }}
@foreach ($rooms as $room) {{-- @if ($room->parentRoom->room_status != 1) --}} {{-- @endif --}} @endforeach
Floor Room Bed Bed Status
HK Status
{{ Form::select('', ['1' => 'Ready', '2' => 'In Used', '3' => 'Dirty', '4' => 'Out Of order'], null, ['class' => 'form-control', 'id' => 'room_status', 'placeholder' => 'Select Bed 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']) }}  
{{ Form::close() }}
@endsection @section('script') @endsection