@extends('layouts.master') @section('content')

@lang('crud.add_new') AMC Report

@include('flash::message')

@lang('crud.add_new') AMC Report

@csrf
{!! Form::label('reference_number', 'Reference Number:') !!} {!! Form::text('reference_number', old('reference_number'), [ 'class' => 'form-control', 'id' => 'reference_number', 'readonly' => true, 'placeholder' => 'Auto-generated' ]) !!}
{!! Form::label('date', 'Date:') !!}
{!! Form::text('date', old('date'), [ 'class' => $errors->has('date') ? 'form-control is-invalid' : 'form-control', 'id' => 'date' ]) !!} @if ($errors->has('date')) {{ $errors->first('date') }} @endif
{!! Form::label('inspector_visiting_time', 'Visiting Time:') !!} {!! Form::time('inspector_visiting_time', old('inspector_visiting_time'), [ 'class' => 'form-control', 'id' => 'inspector_visiting_time' ]) !!} (Optional)
{!! Form::label('inspector_leaving_time', 'Leaving Time:') !!} {!! Form::time('inspector_leaving_time', old('inspector_leaving_time'), [ 'class' => 'form-control', 'id' => 'inspector_leaving_time' ]) !!} (Optional)
@section('scripts') @parent @endsection
Project Details
{!! Form::label('company_id', 'Client:') !!} {!! Form::select('company_id', isset($companies) ? $companies->pluck('name','id') : [], old('company_id'), [ 'class' => 'form-control select2', 'placeholder' => 'Select Company', 'id' => 'company_id' ] ) !!}
{!! Form::label('project_id', 'Project:') !!} {!! Form::select('project_id', isset($projects) ? $projects->pluck('name','id') : [], old('project_id'), ['class' => 'form-control select2', 'placeholder' => 'Select Project', 'id' => 'project_id'] ) !!}
{!! Form::label('visit_schedule_id', 'Visit Schedule:') !!} {!! Form::select('visit_schedule_id', isset($visitSchedules) ? $visitSchedules->pluck('name','id') : [], old('visit_schedule_id'), ['class' => 'form-control select2', 'placeholder' => 'Select Schedule', 'id' => 'visit_schedule_id'] ) !!}
{!! Form::label('site_location', 'Location:') !!} {!! Form::text('site_location', old('site_location'), ['class' => 'form-control', 'id' => 'site_location']) !!}
{!! Form::label('site_name', 'Site Name:') !!} {!! Form::text('site_name', old('site_name'), ['class' => 'form-control', 'id' => 'site_name']) !!}
Block Information

Add blocks and fill their inspection details in the tabbed sections below

Required Maintenance Work
Used Items
Notes
📸 Photos (attachment option available against every option above)
  • Attach photos for any defects or non-compliance
  • Label each photo with reference to item/equipment
Reference (Item/Equipment) Photo Attachments Remarks / Label Action

Client Details
{!! Form::label('client_eid_details', 'Client EID Details:') !!} {!! Form::text('client_eid_details', old('client_eid_details'), [ 'class' => $errors->has('client_eid_details') ? 'form-control is-invalid' : 'form-control', 'placeholder' => 'Enter client EID details' ]) !!} @if ($errors->has('client_eid_details')) {{ $errors->first('client_eid_details') }} @endif
{!! Form::label('client_phone', 'Client Phone Number:') !!} {!! Form::text('client_phone', old('client_phone'), [ 'class' => $errors->has('client_phone') ? 'form-control is-invalid' : 'form-control', 'placeholder' => 'Enter client phone number' ]) !!} @if ($errors->has('client_phone')) {{ $errors->first('client_phone') }} @endif
{!! Form::label('scope_attachment', 'Attachment:') !!} {!! Form::file('scope_attachment[]', ['class' => 'form-control', 'multiple' => true]) !!}

Signature

Save signature before report submit
@endsection @section('scripts') @parent @endsection