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

Suppliers

@if(Session::has('flash_message'))

{{ Session::get('flash_message') }}

@endif
Supplier Records
@foreach($supplier as $item) @endforeach
Name Service Module Status Actions
{{ $item->name }} {{ $item->service }} {!! $item->status == 0 ? 'Inactive' : 'Active' !!} {!! Form::open([ 'method'=>'DELETE', 'url' => ['/admin/supplier', $item->id], 'style' => 'display:inline' ]) !!} {!! Form::button('', array( 'type' => 'submit', 'class' => 'btn red btn-xs', 'title' => 'Delete Supplier', 'onclick'=>'return confirm("Confirm delete?")' )) !!} {!! Form::close() !!}
@endsection