@extends('layouts.master') @section('content') @if($currentSchemaLabel != "Agency") Add {{$currentSchemaLabel}} @endif @include('Schema.filterForm')
{{ $currentSchema->appends(request()->input())->links() }}
@foreach($currentSchema as $schemaItem)

@if($allowEdit == true) {{ $schemaItem[$mainAttributeName] }} @else {{ $schemaItem[$mainAttributeName] }} @endif

@if($schemaItem->updated_at) {{ $schemaItem->updated_at->format('m/d/Y') }} @endif

@if($allowEdit == true) Edit @else Delete @endif
@endforeach
{{ $currentSchema->appends(request()->input())->links() }}
@stop