@extends('admin.layouts.app') @php $mode = (!empty($id)) ? "Edit" : "Add"; $action = route('dr.add'); $document_section = config('common.document_section'); if(!empty($agency_type) && $agency_type == 3) { unset($document_section[1]); } if(!empty($id)){ $mode = "Edit"; $action = route('dr.edit',$id); } else{ $id = ""; } @endphp @section('content')

Document Manager

{{ $mode }} Document Requirement

@include('admin.includes.status')
{{ csrf_field() }} @if($agency_id == 0)
@else @endif @if($agency_type == 2) @else
@endif
@if($mode == 'Edit' && !empty($document->document_template)) {{$document->document_template}} @endif
@endsection @section('scripts') @endsection