@extends('admin.master') @section('title') Supplier Add @endsection @section('sideMenuTitle') Supplier Add @endsection @section('pageTitle') Supplier List @endsection @section('bodyContent')
@if(Session::has('message'))

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

@endif @if(Session::has('error'))

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

@endif @if ($errors->any())
@endif

@if (!isset($editData)) {!! Form::open(['url' => 'supplier/add', 'method' => 'post', 'name' => 'form', 'enctype' => 'multipart/form-data', 'role' => 'form']) !!} @endif @if (isset($editData)) {!! Form::open(['url' => 'supplier/update', 'method' => 'post','name' => 'form', 'enctype' => 'multipart/form-data', 'role' => 'form']) !!} @endif
{!! Form::close() !!}
@endsection