@extends('adminlte::page') @section('title', 'Comprehensive Report') @section('content_header')

Comprehensive Report

@endsection ; @section('content')
{!! html()->form('POST', route('comprehensive-reports.threat-export-excel'))->id('comprehensiveReportThreatForm')->open() !!}

Threat Report - Choose option(s) to generate comprehensive report

{{-- Include the asset hierarchy dropdown --}} @include('backend.threats.threat-assest-hierarchy-dropdown', [ 'masterSites' => $masterSites, ])
{!! html()->form()->close() !!}
{!! html()->form('POST', route('comprehensive-reports.short-threat-export-excel'))->id('comprehensiveReportShortThreatForm')->open() !!}

Short Term Threat Report - Choose option(s) to generate comprehensive report

{!! html()->label('Level 1 (Site)', 'short_master_site_id')->toHtml() !!} {!! html()->select('short_master_site_id[]', $masterSites->toArray() ?? [])->multiple()->class('form-control')->id('short_master_site_id') !!}
{{-- Production Unit --}}
{!! html()->label('Production Unit', 'sel2ProductionUnit')->toHtml() !!} {!! html()->select('sel2ProductionUnit[]', [])->multiple()->class('form-control select2 sel2ProductionUnit')->id('sel2ProductionUnit')->attribute('placeholder', 'Select Production Unit') !!}
{!! html()->label('Unit', 'sel2Unit')->toHtml() !!} {!! html()->select('sel2Unit[]', [])->class('form-control select2 sel2Unit')->id('sel2Unit')->multiple()->attribute('placeholder', 'Select Unit') !!}
{!! html()->label('Short Term Threat Status', 'sel2ShortTermThreatStatus')->toHtml() !!} {!! html()->select('sel2ShortTermThreatStatus[]', ['' => 'Select Short Term Threat Status'] + $statusOptions ?? [])->class('form-control')->id('sel2ShortTermThreatStatus')->attribute('placeholder', 'Select Short Term Threat Status') !!}
{!! html()->form()->close() !!}
{!! html()->form('POST', route('comprehensive-reports.ipf-export-excel'))->id('comprehensiveReportIpfForm')->open() !!}

IPF - Choose option(s) to generate comprehensive report

{!! html()->label('Level 1 (Site)', 'ipf_master_site_id')->toHtml() !!} {!! html()->select('ipf_master_site_id[]', $masterSites->toArray() ?? [])->class('form-control select2')->multiple()->id('ipf_master_site_id') !!}
{{-- Production Unit --}}
{!! html()->label('Production Unit', 'ipfsel2ProductionUnit')->toHtml() !!} {!! html()->select('ipfsel2ProductionUnit[]', [])->multiple()->class('form-control select2 ipfsel2ProductionUnit')->id('ipfsel2ProductionUnit')->attribute('placeholder', 'Select Production Unit') !!}
{!! html()->label('Unit', 'ipfsel2Unit')->toHtml() !!} {!! html()->select('ipfsel2Unit[]', [])->multiple()->class('form-control select2 ipfsel2Unit')->id('ipfsel2Unit')->attribute('placeholder', 'Select Unit') !!}
{!! html()->form()->close() !!}
@endsection @push('js') @endpush