@extends('layouts.app') @section('content')

Document CheckList # {{ $documenttype->id }}

{!! Form::open([ 'method'=>'DELETE', 'url' => ['admin/trans-document-type', $documenttype->id], 'style' => 'display:inline' ]) !!} {!! Form::button(' Delete', array( 'type' => 'submit', 'class' => 'btn red btn-xs', 'title' => 'Delete', 'onclick'=>'return confirm("Confirm delete?")' ))!!} {!! Form::close() !!}

@if($documenttype->alert_period != 0 ) @else @endif
ID{{ $documenttype->id }}
Charge {{ $documenttype->Charge['name'] }}
Equipment {{ $documenttype->Equipment['name'] }}
Status {!! $documenttype->status == 0 ? 'Inactive' : 'Active' !!}
Validity Active {!! $documenttype->validity_active == 0 ? 'No' : 'Yes' !!}
Pre Alert Period{{ $documenttype->alert_period }} days-
@endsection