@extends('layouts.master') @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
Back to Dashboard

Supplier Ageing Analysis Form

@csrf

Age Code and Description

Ageing Group Descriptions

Ageing Intervals

Saved Supplier Ageing Analyses

@foreach($ageings as $analysis) @endforeach
Age Code Description Ageing Group Interval Type Interval Custom Age Groups Custom Intervals Actions
{{ $analysis->age_code }} {{ $analysis->description }} {{ $analysis->group_type }} {{ $analysis->interval_type }} @if($analysis->interval_30_days) 30 Days @elseif($analysis->interval_7_days) 7 Days @else Custom @endif @php $customAges = []; for ($i = 1; $i <= 7; $i++) { $field = 'custom_age_' . $i; if (!empty($analysis->$field)) { $customAges[] = $analysis->$field; } } echo implode(', ', $customAges); @endphp @php $customIntervals = []; for ($i = 1; $i <= 6; $i++) { $field = 'custom_interval_' . $i; if (!empty($analysis->$field)) { $customIntervals[] = $analysis->$field; } } echo implode(', ', $customIntervals); @endphp
@endsection