@extends('admin_dashboard') @section('admin')

Wings (Land)

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif
Add Wings Record
@php $editWing = request()->has('edit') ? ($wings->firstWhere('id', request('edit')) ?? null) : null; @endphp
@csrf @if($editWing) @method('PUT') @endif
Photo supports: jpg, png, jpeg, pdf
All Wings Records
@foreach($wings as $w) @endforeach
# Wings No Record Type File Notes Action
{{ $w->id }} @if($w->file_path) {{ $w->wings_no }} @else {{ $w->wings_no }} @endif {{ $w->record_type }} @if($w->file_path) Open Download @endif {{ $w->notes }} Edit
@csrf @method('DELETE')
@endsection