@extends('layouts.app') @section('title', 'System Sizer II - Recommendations') @section('content')

Recommendations

Based on water test conditions

New Test
{{-- Water Conditions Summary --}}

Water Conditions

@if($conditions->hardnessGpg !== null)
Hardness: {{ $conditions->hardnessGpg }} gpg
@endif @if($conditions->ironPpm !== null)
Iron: {{ $conditions->ironPpm }} ppm
@endif @if($conditions->manganesePpm !== null)
Manganese: {{ $conditions->manganesePpm }} ppm
@endif @if($conditions->tanninPpm !== null)
Tannin: {{ $conditions->tanninPpm }} ppm
@endif @if($conditions->ph !== null)
pH: {{ $conditions->ph }}
@endif @if($conditions->tdsPpm !== null)
TDS: {{ $conditions->tdsPpm }} ppm
@endif @if($conditions->ammoniaPpm !== null)
Ammonia: {{ $conditions->ammoniaPpm }} ppm
@endif @if($conditions->arsenicPpb !== null)
Arsenic: {{ $conditions->arsenicPpb }} ppb
@endif @if($conditions->pfoas)
PFOAs: Detected
@endif @if($conditions->glyphosate)
Glyphosate: Detected
@endif @if($conditions->chromiumVi)
Chromium-VI: Detected
@endif
{{-- Recommendations --}} @if($recommendations->isEmpty())

No matching systems found for the given water conditions.

Try different conditions
@else
@foreach($recommendations as $rec)
@if($loop->first)
TOP RECOMMENDATION
@endif

{{ $rec->system->name }}

{{ $rec->system->system_id }} | {{ $rec->system->type }}

{{ $rec->matchScore }}% Match

{{ $rec->system->description }}

Tanks
{{ $rec->system->getTankDescription() }}
Media
{{ $rec->system->media_type }}
Regeneration
{{ ucfirst($rec->system->regeneration_type) }}
{{-- Matched Contaminants --}} @if(!empty($rec->matchedContaminants))

Treats:

@foreach($rec->matchedContaminants as $matched) {{ $matched }} @endforeach
@endif {{-- Unmatched Contaminants --}} @if(!empty($rec->unmatchedContaminants))

Not Addressed:

@foreach($rec->unmatchedContaminants as $unmatched) {{ $unmatched }} @endforeach
@endif {{-- Notes --}} @if(!empty($rec->notes))

Notes:

{{ $rec->notes }}

@endif {{-- Valve Programming --}}

Valve Programming ({{ $rec->system->valve_type }})

Backwash: {{ $rec->system->backwash_min }} min
Brine Draw: {{ $rec->system->brine_draw_slow_rinse_min }} min
Rapid Rinse: {{ $rec->system->rapid_rinse_min }} min
Brine Fill: {{ $rec->system->brine_fill_min }} min
Injector: {{ $rec->system->injector_color }} ({{ $rec->system->injector_gpm }} GPM)
Salt: {{ $rec->system->salt_per_regeneration_lbs }} lbs
Brine Tank: {{ $rec->system->brine_tank_size }}
Regen Time: {{ $rec->system->regen_time }}
@if($rec->system->valve_notes)

{{ $rec->system->valve_notes }}

@endif
@endforeach
@endif
@endsection