@extends('admin.layouts.app') @include('admin.nav') @section('main')
@csrf @method(isset($due) ? 'put' : 'post')
$errors->has('title'), 'form-control ih-medium ip-gray radius-xs b-light px-15', ]) /> @error('title') {{ $message }} @enderror
$errors->has('month'), 'form-control ih-medium ip-gray radius-xs b-light px-15', ]) /> @error('month') {{ $message }} @enderror
$errors->has('year'), 'form-control ih-medium ip-gray radius-xs b-light px-15', ]) /> @error('year') {{ $message }} @enderror
@if (@$due->dueDates) @foreach (@$due->dueDates as $dueDate)
@endforeach @else
@endif

@error('admin_id') {{ $message }} @enderror
$errors->has('link'), ]) /> @error('link') {{ $message }} @enderror
$errors->has('update'), ]) value="{{ old('update', @$due->update) }}" id="update" placeholder="Enter Important Update" /> @error('update') {{ $message }} @enderror
$errors->has('desc'), 'form-control ih-medium ip-gray radius-xs b-light px-15', ]) value="{{ old('desc', @$due->desc) }}" id="desc" placeholder="Enter Description" /> @error('desc') {{ $message }} @enderror
$errors->has('note'), 'form-control ih-medium ip-gray radius-xs b-light px-15', ]) value="{{ old('note', @$due->note) }}" id="note" placeholder="Enter Description" /> @error('note') {{ $message }} @enderror
@endsection @section('pageJs') @endsection