@extends('layouts.master') @push('css') @endpush @section('content')
{!! Form::open(['url' => url()->current(), 'method' => 'GET']) !!}
{!! Form::text('cari', Request::get('cari'), ['class' => 'form-control', 'placeholder' => 'Cari...']) !!}
{!! Form::close() !!}
@if(Session::has('message'))
{{Session::get('message.text')}}
@endif {{-- --}} @foreach($divisi as $div) {{-- --}} @endforeach
No DepartemenPerusahaanKode Departemen Action
{{ $loop->iteration + $divisi->firstItem() - 1 }} {{$div->name}}{{$div->perusahaan->name}}{{$div->kode_divisi}} {!! Form::open(['route'=>['divisi.destroy',$div->id],'method'=>'DELETE']) !!} {!! Form::close() !!}
{!! $divisi->links() !!}
@endsection @push('js') @endpush