Survey Reporting

Site Identification Sheet

Site : {{$wreck->name}} Date : {{$surfer->date_of_survey}} Time : {{date('h:i A', strtotime($surfer->time_of_survey))}}
Statutory Database No : {{$surfer->statutory_database_no}} Name of Statutory Database : @if($surfer->statutory_database_name_option == 1) Australasian Underwater Cultural Heritage Database @else {{$surfer->statutory_database_name}} @endif
Diver/s Name : @if(!empty($divers)) @foreach($divers as $diver) {{ $diver['name']}} @endforeach @endif Number of surveys you have conducted at this site :{{$surfer->number_of_surveys}}
Latitude :{{$surfer->lat}} Longitude :{{$surfer->long}}
Position Format :
@if($surfer->position_format == 'gis') Degrees and Decimal Minutes @elseif($surfer->position_format == 'gps') Decimal Degrees @elseif($surfer->position_format == 'charts') Degrees, Minutes and Seconds @endif
Click one :
{{$surfer->part}}
Datum :
@if($surfer->datum == 'wgs_84') WGS 84 @elseif($surfer->datum == 'nzgd_2000') NZGD2000 @elseif($surfer->datum == 'other') {{$surfer->datum_other}} @else @endif
Distance from nearest Land/Reef (nm) : @if($surfer->reef == 'reef_0') 0 - 1 nm @elseif($surfer->reef == 'reef_1') 1 - 3 nm @elseif($surfer->reef == 'reef_3') 3 - 5 nm @elseif($surfer->reef == 'reef_5') 5 - 10 nm @elseif($surfer->reef == 'reef_10') >10 nm @else @endif
Current at Surface ( Speed in knots ) :{{$surfer->surface_current_speed}}
Current at Surface ( Tick direction ) : @if($surfer->surface_current_direction == 'north') North @elseif($surfer->surface_current_direction == 'north_east') North East @elseif($surfer->surface_current_direction == 'east') East @elseif($surfer->surface_current_direction == 'south_east') South East @elseif($surfer->surface_current_direction == 'south') South @elseif($surfer->surface_current_direction == 'west') West @elseif($surfer->surface_current_direction == 'south_west') South West @elseif($surfer->surface_current_direction == 'north_west') North West @elseif($surfer->surface_current_direction == 'none') None @endif
Tide at Survey :
@if($surfer->tide_at_survey == 'low') Low @elseif($surfer->tide_at_survey == 'ebb') Ebb @elseif($surfer->tide_at_survey == 'flood') Flood @elseif($surfer->tide_at_survey == 'high') High @endif
Freshwater/Saltwater Influence :
@if($surfer->freshwater == 'low') Yes - River @elseif($surfer->freshwater == 'ebb') Yes - Spring @elseif($surfer->freshwater == 'flood') Yes – Run Off @elseif($surfer->freshwater == 'high') Yes – Sea Water @elseif($surfer->freshwater == 'no') No @endif
Flood Plume Visible in Water :
@if($surfer->flood_plume == 'yes') Yes @elseif($surfer->flood_plume == 'no') No @endif

Sea State ( Approx. ) :

@if($surfer->sea_state == 'sea_0') @elseif($surfer->sea_state == 'sea_1') @elseif($surfer->sea_state == 'sea_2') @elseif($surfer->sea_state == 'sea_3') @elseif($surfer->sea_state == 'sea_4') @elseif($surfer->sea_state == 'sea_5') @else @endif
Degree Height (m) Height (ft) Description
0 no wave no wave Calm (Glassy)
1 0–0.10 0.00–0.33 Calm (rippled)
2 0.10–0.50 0.33–1.64 Smooth
3 0.50–1.25 1.6–4.1 Slight
4 1.25–2.50 4.1–8.2 Moderate
5 2.50–4.00 8.2–13.1 Rough
- - - -

Swell Height ( Approx. ) :

@if($surfer->swell_height == 'swell_0') @elseif($surfer->swell_height == 'swell_1') @elseif($surfer->swell_height == 'swell_2') @elseif($surfer->swell_height == 'swell_3') @elseif($surfer->swell_height == 'swell_4') @elseif($surfer->swell_height == 'swell_5') @else @endif
Degree Description
0 no swell
1 Very Low (short or average and low wave)
2 Low (long and low wave)
3 Light (short and moderate wave)
4 Moderate (average and moderate wave)
5 Moderate rough (long and moderate wave)
- -

Reference Muckelroy, K., 1976, Maritime archaeology, New Studies in Archaeology, p.164. Table 5.2 The five main classes of wreck site at present apparent in British waters. NB: Option 6 - is for sites that do not fit the pattern above. Add data in the same manner outlined as you see fit.

Site Classification :

@if($surfer->site_classification == 'classification_1') @elseif($surfer->site_classification == 'classification_2') @elseif($surfer->site_classification == 'classification_3') @elseif($surfer->site_classification == 'classification_4') @elseif($surfer->site_classification == 'classification_5') @elseif($surfer->site_classification == 'classification_6') @else @endif
# Structural Remains Organic Remains Other Objects Distribution
Class 1 Extensive Many Many Coherent
Class 2 Elements Some Many Scattered ordered
Class 3 Fragments Some Many Scattered ordered
Class 4 - Few Some Scattered disordered
Class 5 - - Few Scattered disordered
Class 6 {{$surfer->structural_remains}} {{$surfer->organic_remains}} {{$surfer->other_objects}} {{$surfer->distribution}}
- - - - -

Reference Warren, D.J., 2016, Acoustic Positioning and Site Formation on Deep-Water World War II Shipwrecks' in Site Formation Processes of Submerged Shipwrecks, ed. Matthew E. Kieth. University Press of Florida, 2016., pp- 235-248.

Debris Zone Pattern (Approx.) :

@if($surfer->debris_zone == 'debris_zone_a') @elseif($surfer->debris_zone == 'debris_zone_b') @elseif($surfer->debris_zone == 'debris_zone_c') @elseif($surfer->debris_zone == 'debris_zone_other') @endif
Pattern A
Pattern B
Pattern C
Other - {{$surfer->debris_zone_other}}

Reference Warren, D.J., 2016, Acoustic Positioning and Site Formation on Deep-Water World War II Shipwrecks' in Site Formation Processes of Submerged Shipwrecks, ed. Matthew E. Kieth. University Press of Florida, 2016., pp- 235-248.

Site Sketch Sheet

Survey Points:

@foreach($survey_points as $i=> $survey_point) @endforeach
# name
{{ $i +1}} {{$survey_point['name']}}
@foreach($mideas as $midea) @if($midea->function_name == 'mud_pdf1') @foreach($mideaPdfs as $mideaPdf) @if($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) === 'pdf')) @elseif($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) != 'pdf')) @endif @endforeach
Site sketch PDF 1
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'mud_pdf2') @foreach($mideaPdfs as $mideaPdf) @if($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) === 'pdf')) @elseif($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) != 'pdf')) @endif @endforeach
Site sketch PDF 2
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'mud_pdf3') @foreach($mideaPdfs as $mideaPdf) @if($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) === 'pdf')) @elseif($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) != 'pdf')) @endif @endforeach
Site sketch PDF 3
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'mud_pdf4') @foreach($mideaPdfs as $mideaPdf) @if($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) === 'pdf')) @elseif($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) != 'pdf')) @endif @endforeach
Site sketch PDF 4
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'mud_pdf5') @foreach($mideaPdfs as $mideaPdf) @if($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) === 'pdf')) @elseif($mideaPdf->function_name != null && $mideaPdf->file_name == $midea->file_name && pathinfo($mideaPdf->file_name, PATHINFO_EXTENSION) != 'pdf')) @endif @endforeach
Site sketch PDF 5
@endif @endforeach

Photo Condition Survey

@foreach($photoConditionTables as $i=> $data) @endforeach
Site sketch Grid No* Feature / Location Image Time Depth (m) Direction photo taken No of Photos Observation of physical condition,biological growth and sediment cover
{{$data['mud_map_grid']}} {{$data['feature']}} @if($photo_condition_mideas[$i]) @if($photo_condition_mideas[$i]->function_name == 'image_upload_'.$i) @endif @endif @if($data['time'] != null) {{date('h:i A', strtotime($data['time']))}} @endif {{$data['depth']}} {{$data['direction_photo_taken']}} {{$data['no_of_photos']}} {{$data['physical_condition']}}

Site and Conservation Data Sheet

@if($underwater_sheet->evi_struct_collapse == 'photograph_yes') @foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name =='evi_struct_collapse_image' ) @endif @endif @endforeach @endif @if($underwater_sheet->sediment_gradation == 'sediment_gradation_yes') @endif @if($underwater_sheet->evi_active_corrosion == 'evi_active_corrosion_yes') @endif @if($underwater_sheet->fouling_organisms == 'fouling_organisms_yes') @endif @if($underwater_sheet->timber_infestation == 'timber_infestation_yes') @endif @if($underwater_sheet->evi_of_human_disturbance == 'evi_of_human_yes') @endif @if($underwater_sheet->sediment_buildup == 'sediment_buildup_yes') @endif
Water Temperature at Surface ( °C ):{{$underwater_sheet->w_t_surface}}
Visibility in water : @if($underwater_sheet->water_visibility == 'visibilty_5m') Below 5m @elseif($underwater_sheet->water_visibility == 'visibility_5_10m') 5-10m @elseif($underwater_sheet->water_visibility == 'visibility_10m') Above 10m @endif
Current on Site (eg. 2 knots NE) :{{$underwater_sheet->current_site}}
Site Orientation :@if($underwater_sheet->site_orientation == 'upright') Upright @elseif($underwater_sheet->site_orientation == 'upside_down') Upside down @elseif($underwater_sheet->site_orientation == 'starboard') Lying on port side @elseif($underwater_sheet->site_orientation == 'lying_on') Lying on starboard @elseif($underwater_sheet->site_orientation == 'port_starboard') Listing port @elseif($underwater_sheet->site_orientation == 'listing_to') Listing to starboard @endif
Compass Direction (Stern to Bow) : {{ $underwater_sheet->compass_direction??"-" }}
Evidence of Structural Collapse (photograph) : @if($underwater_sheet->evi_struct_collapse == 'photograph_yes') Yes @elseif($underwater_sheet->evi_struct_collapse == 'photograph_no') No @endif
Depth : {{$underwater_sheet->evi_struct_collapse_depth}}
Location : {{$underwater_sheet->evi_struct_collapse_position}}
Photograph :
Composition of Dominant Wreck Material Visible :@if($underwater_sheet->dominant_wreck_material == 'iron') Iron @elseif($underwater_sheet->dominant_wreck_material == 'aluminium') Aluminium @elseif($underwater_sheet->dominant_wreck_material == 'wood') Wood @endif
Description of lowest point (LP) on wreck (Mark LP location on site sketch) :{{$underwater_sheet->lp_wreck}}
Depth (m) and Temperature ( °C ) at LP on wreck
Depth (m) :{{$underwater_sheet->depth_at_lp}} Temperature ( °C ):{{$underwater_sheet->temperature_at_lp}}
Site Dimensions Length :{{$underwater_sheet->site_dimension_length}} Site Dimensions Width :{{$underwater_sheet->site_dimension_width}}
Mobility of Sediment Surface :{{$underwater_sheet->mobility_sediment_surface}}
General Seabed Topography Near Site : @if($underwater_sheet->seabed_topography == 'seabed_topography_flat') Flat @elseif($underwater_sheet->seabed_topography == 'seabed_topography_crest') Crest @elseif($underwater_sheet->seabed_topography == 'seabed_topography') Slope @endif
Sediment Colour Gradation Over Site :@if($underwater_sheet->sediment_gradation == 'sediment_gradation_yes') Yes @elseif($underwater_sheet->sediment_gradation == 'sediment_gradation_no') No @endif
Photograph: @foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name == 'sediment_gradation_image') @endif @endif @endforeach
Sediment Slope on Wreck Site (gradient) :@if($underwater_sheet->sediment_slope == 'flat') Flat (1 - 2m variation) @elseif($underwater_sheet->sediment_slope == 'slight') Slight incline (2 - 4m variation) @elseif($underwater_sheet->sediment_slope == 'steep') Steep incline (5m or > variation) @endif
General composition seafloor :@if($underwater_sheet->coral == 1) Coral @elseif($underwater_sheet->outcroppings == 1) Limestone outcroppings @elseif($underwater_sheet->sand == 1) Sand @elseif($underwater_sheet->pebbles == 1) Pebbles @elseif($underwater_sheet->boulders == 1) Boulders @elseif($underwater_sheet->clay == 1) Clay @elseif($underwater_sheet->seaweed == 1) Seaweed @elseif($underwater_sheet->seagrass == 1) Seagrass @endif
Vegetation Cover on Seafloor : @if($underwater_sheet->vegetation_cover == 'vegetation_cover_0_20') 0 - 20% @elseif($underwater_sheet->vegetation_cover == 'vegetation_cover') 21 - 40% @elseif($underwater_sheet->vegetation_cover == 'vegetation_cover_41_60') 41 - 60% @elseif($underwater_sheet->vegetation_cover == 'vegetation_cover_61_80') 61 - 80% @elseif($underwater_sheet->vegetation_cover == 'exposed_81_100') 81 - 100% @endif
Percentage of coverage on exposed wreck material by fouling organisms : @if($underwater_sheet->exposed_wreck_material_coverage == 'exposed_wreck_0_20') 0 - 20% @elseif($underwater_sheet->exposed_wreck_material_coverage == 'exposed_wreck_21_40') 21 - 40% @elseif($underwater_sheet->exposed_wreck_material_coverage == 'exposed_wreck_41_60') 41 - 60% @elseif($underwater_sheet->exposed_wreck_material_coverage == 'exposed_wreck_61_80') 61 - 80% @elseif($underwater_sheet->exposed_wreck_material_coverage == 'exposed_wreck_81_100') 81 - 100% @endif
Evidence of Recent Active Corrosion :@if($underwater_sheet->evi_active_corrosion == 'evi_active_corrosion_yes') Yes @elseif($underwater_sheet->evi_active_corrosion == 'evi_active_corrosion_no') No @endif
Depth :{{$underwater_sheet->evi_active_corrosion_depth}}
Location :{{$underwater_sheet->evi_active_corrosion_position}}
Photograph :
@foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name == 'recent_active_corrosion_image') @endif @endif @endforeach
Evidence of Seasonal or Storm/Cyclone Exposure :@if($underwater_sheet->evi_seasonal_storm == 'evi_seasonal_storm_yes') Yes @elseif($underwater_sheet->evi_seasonal_storm == 'evi_seasonal_storm_no') No @endif
Types of fouling organisms on wreck : @if($underwater_sheet->fouling_organisms == 'fouling_organisms_yes') Yes @elseif($underwater_sheet->fouling_organisms == 'fouling_organisms_no') No @endif
Photograph : @foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name == 'fouling_organisms_image' ) @endif @endif @endforeach
Evidence of timber infestation by marine borers :@if($underwater_sheet->timber_infestation == 'timber_infestation_yes') Yes @elseif($underwater_sheet->timber_infestation == 'timber_infestation_no') No @endif
Photograph : @foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name == 'timber_infestation_image' ) @endif @endif @endforeach
Is contemporary rubbish present around the site :@if($underwater_sheet->rubbish_present == 'rubbishYes') Yes @elseif($underwater_sheet->rubbish_present == 'rubbishNo') No @endif @if($underwater_sheet->cans == 1) Beer Cans @elseif($underwater_sheet->bottles == 1) Glass Bottles @elseif($underwater_sheet->nets == 1) Fish Nets @elseif($underwater_sheet->line == 1) Fishing Lines @elseif($underwater_sheet->tyres == 1) Tyres @elseif($underwater_sheet->plastic == 1) Plastic @elseif($underwater_sheet->rope == 1) Rope @endif Other :{{$underwater_sheet->rubbish_present_other}}
Approx. no. of pieces of rubbish around site :@if($underwater_sheet->no_pieces_of_rubbish == 'no_pieces_of_rubbish_0_20') 0 - 20 @elseif($underwater_sheet->no_pieces_of_rubbish == 'no_pieces_of_rubbish_21_40') 21 - 40 @elseif($underwater_sheet->no_pieces_of_rubbish == 'no_pieces_of_rubbish_41_60') 41 - 60 @elseif($underwater_sheet->no_pieces_of_rubbish == 'no_pieces_of_rubbish_61_80') 61 - 80 @elseif($underwater_sheet->no_pieces_of_rubbish == 'no_pieces_of_rubbish_81_100') 81 - 100 @elseif($underwater_sheet->no_pieces_of_rubbish == 'no_pieces_of_rubbish_100') 100 @endif
Evidence of human disturbance :@if($underwater_sheet->evi_of_human_disturbance == 'evi_of_human_yes') Yes @elseif($underwater_sheet->evi_of_human_disturbance == 'evi_of_human_no') No @endif
@if($underwater_sheet->damage == 'damage') Anchor Damage @elseif($underwater_sheet->moved == 'moved') Objects Moved @elseif($underwater_sheet->digging == 'digging') Digging @elseif($underwater_sheet->timbers == 'timbers') Broken Timbers @elseif($underwater_sheet->artefacts == 'artefacts') Exposed Artefacts @endif
Other :{{$underwater_sheet->evi_of_human_disturbance_other}}
Depth :{{$underwater_sheet->evi_of_human_disturbance_depth}}
Location :{{$underwater_sheet->evi_of_human_disturbance_position}}
Photograph :
@foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name == 'evi_of_human_disturbance_image' ) @endif @endif @endforeach
Is there sediment build up on site or around features :@if($underwater_sheet->sediment_buildup == 'sediment_buildup_yes') Yes @elseif($underwater_sheet->sediment_buildup == 'sediment_buildup_no') No @endif
Depth :{{$underwater_sheet->sediment_buildup_depth}}
Location :{{$underwater_sheet->sediment_buildup_position}}
Photograph :
@foreach($underwater_mideas as $underwater_midea) @if($underwater_midea != null) @if($underwater_midea->function_name == 'sediment_buildup_position_image' ) @endif @endif @endforeach
Description of highest point (HP) on wreck :{{$underwater_sheet->highest_point}}
Depth (m) and Temperature ( °C ) at HP on wreck :{{$underwater_sheet->depth_at_hp}}
Temperature ( °C ) :{{$underwater_sheet->temperature_at_hp}}

Exposed Artefacts

@foreach($underwaterArtefacts as $i=>$underwaterArtefact) @endforeach
Material/s Object Description Upload Image/s Apparent Condition % Degree of Completeness Location Description
@if($underwaterArtefact['material'] == 'Ceramic') Ceramic @elseif($underwaterArtefact['material'] == 'Glass') Glass @elseif($underwaterArtefact['material'] == 'Stone') Stone @elseif($underwaterArtefact['material'] == 'Rope') Rope @elseif($underwaterArtefact['material'] == 'Timber') Timber @elseif($underwaterArtefact['material'] == 'Leather Textile') Leather Textile @elseif($underwaterArtefact['material'] == 'Skeletal') Skeletal @endif {{$underwaterArtefact['object_description']}} @foreach($mideas as $midea) @if($midea != null) @if($midea->function_name == 'underwater_artefacts_image'.$i) @endif @endif @endforeach @if($underwaterArtefact['apparent_condition'] == 'very_poor') Very Poor @elseif($underwaterArtefact['apparent_condition'] == 'Poor') Poor @elseif($underwaterArtefact['apparent_condition'] == 'Fair') Fair @elseif($underwaterArtefact['apparent_condition'] == 'Good') Good @elseif($underwaterArtefact['apparent_condition'] == 'Excellent') Excellent @endif @if($underwaterArtefact['degree_of_completeness'] == 'val1') 0-20 @elseif($underwaterArtefact['degree_of_completeness'] == 'val2') 21-40 @elseif($underwaterArtefact['degree_of_completeness'] == 'val3') 41-60 @elseif($underwaterArtefact['degree_of_completeness'] == 'val4') 61-80 @elseif($underwaterArtefact['degree_of_completeness'] == 'val5') 81-100 @endif Time :{{date('h:i A', strtotime($underwaterArtefact['location_time']))}} Depth :{{$underwaterArtefact['location_depth']}} Location :{{$underwaterArtefact['location_location']}}

Video Transect

@foreach($video_transect as $i => $video)

Video Transect form

Camera System and Lens :{{$video->camera_lens}} Transect name :{{$video->transect_name}}
Data Format : @if($video->type_of_video == 'mov') MOV @elseif($video->type_of_video == 'wmv') WMV @elseif($video->type_of_video == 'mp4') MP4 @elseif($video->type_of_video == 'avi') AVI @elseif($video->type_of_video == 'mov') MOV @elseif($video->type_of_video == 'other') {{$video->other_video_types}} @endif
Time Length of Video Recording :{{$video->video_time_length}}
Site sketch Grid No* Name / Description of Location ‘A’ Depth at A (m) Compass bearing from A to B Observation of conditions and biological growth from A to B. Height of swim over from A to B (Tick One)
{{$video->mud_map_grid_no}} {{$video->description_of_location}} {{$video->depth_at_a}} {{$video->bearing_a_to_b}} {{$video->observation}} @if($video->swim_over_height_a_to_b == 'swim_over_height_a_to_b_1m') Below 1m @elseif($video->swim_over_height_a_to_b == 'swim_over_height_a_to_b_1_2m') 2m @elseif($video->swim_over_height_a_to_b == 'swim_over_height_a_to_b_3m') 3m @elseif($video->swim_over_height_a_to_b == 'a_to_b_greater_than_3m') Above 3m @endif
@endforeach

Photogrammetry Survey

@foreach($photogrammetryTables as $i=>$photogrammetry)
Coded target No/ID Depth of coded target Survey point feature name/ID Site sketch grid number Link to 3D model' Attach image of model PDF/JPG
{{$photogrammetry['coded_target_id']}} {{$photogrammetry['coded_target_depth']}} {{$photogrammetry['survey_point_feature']}} {{$photogrammetry['mud_map_grid_no']}} {{$photogrammetry['link_to_model']}}
@foreach($mideas as $midea) @if($midea->row_id == $i && $midea->function_name != 'mud_pdf1' && $midea->function_name != 'mud_pdf2' && $midea->function_name != 'mud_pdf3' && $midea->function_name != 'mud_pdf4' && $midea->function_name != 'mud_pdf5' && (strpos($midea->function_name, 'pdfUploads') !== false)) @foreach($mideaPdfs as $pdf) @if($midea->function_name != null && $pdf->function_name !='marine_pdf1' && $pdf->function_name !='marine_pdf2' && $pdf->function_name !='marine_pdf3' && $pdf->function_name !='marine_pdf4' && $pdf->function_name !='marine_pdf5' && $pdf->file_name == $midea->file_name && pathinfo($pdf->file_name, PATHINFO_EXTENSION) === 'pdf')
@elseif($midea->function_name != null && $pdf->function_name !='marine_pdf1' && $pdf->function_name !='marine_pdf2' && $pdf->function_name !='marine_pdf3' && $pdf->function_name !='marine_pdf4' && $pdf->function_name !='marine_pdf5' && $pdf->file_name == $midea->file_name && pathinfo($pdf->file_name, PATHINFO_EXTENSION) != 'pdf')
@endif @endforeach @endif @endforeach
@endforeach

Threat Assessment

@foreach($threat_assessments as $threat_assessment) @endforeach
Threat Likelihood Consequence Rating
{{$threat_assessment['threat']}} @if($threat_assessment['likelihood'] == 'highly_likely') Highly Likely @elseif($threat_assessment['likelihood'] == 'possibility_possible') Possible @elseif($threat_assessment['likelihood'] == 'unlikely') Unlikely @elseif($threat_assessment['likelihood'] == 'rare') Rare @endif @if($threat_assessment['consequences'] == 'minor') Minor @elseif($threat_assessment['consequences'] == 'moderate') Moderate @elseif($threat_assessment['consequences'] == 'high') High @elseif($threat_assessment['consequences'] == 'major') Major @elseif($threat_assessment['consequences'] == 'critical') Critical @endif @if($threat_assessment['threat_rating'] == 'severe') Severe @elseif($threat_assessment['threat_rating'] == 'high') High @elseif($threat_assessment['threat_rating'] == 'medium') Medium @elseif($threat_assessment['threat_rating'] == 'low') Low @endif


@if($other_sheet->rating == 'severe') @elseif($other_sheet->rating == 'high') @elseif($other_sheet->rating == 'medium') @elseif($other_sheet->rating == 'low') @endif

Marine Survey

@foreach($mideas as $midea) @if($midea->function_name == 'marine_pdf1') @if(!empty($marien_survey_points)) @endif @foreach($mideaPdfs as $mideaPdf) @if($midea->function_name =='marine_pdf1' && $mideaPdf->file_name == $midea->file_name) @endif @endforeach
Marine PDF 1
Title :{{$marien_survey_points[0]['name']}}
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'marine_pdf2') @if(!empty($marien_survey_points)) @endif @foreach($mideaPdfs as $mideaPdf) @if($midea->function_name =='marine_pdf2' && $mideaPdf->file_name == $midea->file_name) @endif @endforeach
Marine PDF 2
Title :{{$marien_survey_points[1]['name']}}
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'marine_pdf3') @if(!empty($marien_survey_points)) @endif @foreach($mideaPdfs as $mideaPdf) @if($midea->function_name =='marine_pdf3' && $mideaPdf->file_name == $midea->file_name) @endif @endforeach
Marine PDF 3
Title :{{$marien_survey_points[2]['name']}}
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'marine_pdf4') @if(!empty($marien_survey_points)) @endif @foreach($mideaPdfs as $mideaPdf) @if($midea->function_name =='marine_pdf4' && $mideaPdf->file_name == $midea->file_name) @endif @endforeach
Marine PDF 4
Title :{{$marien_survey_points[3]['name']}}
@endif @endforeach @foreach($mideas as $midea) @if($midea->function_name == 'marine_pdf5') @if(!empty($marien_survey_points)) @endif @foreach($mideaPdfs as $mideaPdf) @if($midea->function_name =='marine_pdf5' && $mideaPdf->file_name == $midea->file_name) @endif @endforeach
Marine PDF 5
Title :{{$marien_survey_points[4]['name']}}
@endif @endforeach