@extends('layouts/pos_layout') @section('title', '| Supplier') @section('content')
Supplier
{!! Form::open(array('url' => '' , 'enctype' => 'multipart/form-data', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('name', 'Name:*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('name', $supplier->name, ['class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => 'Enter name']) !!}

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

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

{!! Form::label('email_for_notify', 'Emails for Notify:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('email_for_notify', $supplier->email_for_notify, ['class' => 'form-control', 'id' => 'email_for_notify', 'type' => 'text', 'rows' => '4', 'placeholder' => 'Enter email for notify']) !!}

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

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

{!! Form::label('website', 'Website:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('website', $supplier->web_site, ['class' => 'form-control', 'id' => 'website', 'type' => 'text', 'placeholder' => 'Enter website', 'cols' => '50']) !!}

{!! Form::label('is_own_pid_active', 'PID/IMEI Number', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::checkbox('is_own_pid_active', $value = null, $supplier->is_own_pid_active, ['id' => 'is_own_pid_active']) !!}

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

{!! Form::label('ref_no', 'Reference No:*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::text('ref_no', $supplier->ref_no, ['class' => 'form-control', 'id' => 'ref_no', 'type' => 'text', 'placeholder' => 'Enter Reference No:', 'cols' => '50']) !!}

{!! Form::label('attention_one', 'Attention 1:*', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('attention_one', $supplier->attention_one, ['class' => 'form-control', 'id' => 'attention_one', 'type' => 'text', 'rows' => '4', 'placeholder' => 'Enter Attention 1']) !!}

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

{!! Form::label('attention_three', 'Attention 3:', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::textarea('attention_three', $supplier->attention_three, ['class' => 'form-control', 'id' => 'attention_three', 'type' => 'text', 'rows' => '4', 'placeholder' => 'Enter Attention 3']) !!}

{!! Form::label('submit', ' ', ['class' => 'col-sm-2 control-label']) !!}
{!! Form::submit('Update', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@endsection