@extends('layouts/gnr_layout') @section('title', '| Home') @section('content')
New Supplier
{!! Form::open(array('url' => 'addSupplierItem', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('name', 'Name:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('name', $value = null, ['class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter Supplier Name']) !!}

{!! Form::label('supplierCompanyName', "Company Name:", ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('supplierCompanyName', $value = null, ['class' => 'form-control', 'id' => 'supplierCompanyName', 'type' => 'text', 'placeholder' => " Enter supplier's company name"]) !!}

{!! Form::label('email', 'Email:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('email', $value = null, ['class' => 'form-control', 'id' => 'email', 'type' => 'text', 'placeholder' => 'Enter email address']) !!}

{!! Form::label('mailForNotify', 'Emails for Notify:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('mailForNotify', $value = null, ['class' => 'form-control', 'id' => 'mailForNotify', 'rows' => 2, 'type' => 'text', 'placeholder' => 'Emails for Notify']) !!}

{!! Form::label('phone', 'Mobile:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('phone', $value = null, ['class' => 'form-control', 'id' => 'phone', 'type' => 'text', 'placeholder' => 'Enter phone number']) !!}

{!! Form::label('address', 'Address:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('address', $value = null, ['class' => 'form-control', 'id' => 'address', 'rows' => 2, 'type' => 'text', 'placeholder' => 'Enter address']) !!}

{!! Form::label('website', 'Website:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('website', $value = null, ['class' => 'form-control', 'id' => 'website', 'type' => 'text', 'placeholder' => 'Enter web address']) !!}

{!! Form::label('description', 'Description:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('description', $value = null, ['class' => 'form-control', 'id' => 'description', 'rows' => 2, 'type' => 'text', 'placeholder' => 'Enter description']) !!}

{!! Form::label('refNo', 'Reference No:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('refNo', $value = null, ['class' => 'form-control', 'id' => 'refNo', 'type' => 'text', 'placeholder' => 'Enter reference number']) !!}

{!! Form::label('attentionFirst', 'Attention 1:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('attentionFirst', $value = null, ['class' => 'form-control', 'id' => 'attentionFirst', 'rows' => 2, 'type' => 'text', 'placeholder' => 'Attention 1']) !!}

{!! Form::label('attentionSecond', 'Attention 2:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('attentionSecond', $value = null, ['class' => 'form-control', 'id' => 'attentionSecond', 'rows' => 2, 'type' => 'text', 'placeholder' => 'Attention 2']) !!}

{!! Form::label('attentionThird', 'Attention 3:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('attentionThird', $value = null, ['class' => 'form-control', 'id' => 'attentionThird', 'rows' => 2, 'type' => 'text', 'placeholder' => 'Attention 3']) !!}

{!! Form::label('submit', ' ', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} @if(@$name == 'fromPurchaseF') Back @else Close @endif
{!! Form::close() !!}
@endsection