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

Bulletin Header

{!! Form::open(['url' => 'backdoor/bulletins/type/search', 'class' => 'form-inline', 'role' => 'form', 'autocomplete' => 'off']) !!}
{!! Form::text('search', $search, ['class' => 'form-control', 'placeholder' => 'search bulletin header', 'required']) !!}
{!! Form::button('', ['class' => 'btn btn-outline-secondary', 'type' => 'submit', 'title' => 'Search']) !!}
{!! Form::close() !!}
@if($types->isEmpty())
No record(s) found.
@else @foreach($types as $type) @endforeach
Bulletin Type No. of Bulletins Status
{{ $type->bt_name }} {{ $type->bulletins->count() == 0 ? '' : $type->bulletins->count() }} {!! $type->is_active == 1 ? '' : '' !!}
@if($types->render()) @endif @endif
@stop