@extends('admin.template.master') @section('title')

Supplier insert update supplier information

@endsection @section('main-content')

Entry

{!! Form::open(['url' => '/admin/suppliers/']) !!}
{!! Form::label('Supplier Name') !!} {!! Form::text('supplier_name', null, ['class' => 'form-control', 'placeholder' => 'Enter supplier name']) !!} @if ($errors->has('supplier_name')){!! $errors->first('supplier_name') !!}@endif
{!! Form::label('Contact') !!} {!! Form::text('supplier_contact', null, ['class' => 'form-control', 'placeholder' => 'Enter supplier contact']) !!} @if ($errors->has('supplier_contact')){!! $errors->first('supplier_contact') !!}@endif
{!! Form::label('Address') !!} {!! Form::textarea('supplier_address', null, ['class' => 'form-control', 'placeholder' => 'Enter address']) !!} @if ($errors->has('supplier_address')){!! $errors->first('supplier_address') !!}@endif
{!! Form::label('status','Status') !!} {!! Form::select('supplier_is_exist',['1' => 'Active','0' => 'Inactive'],null,['class' =>'form-control']) !!} @if ($errors->has('supplier_is_exist')) {!! $errors->first('supplier_is_exist') !!} @endif
{!! Form::close() !!}
@endsection