@extends('layouts.app') @section('content')
@include('layouts.includes.header')

Business Details

@if($Account_details)

Accounting Details

{!! Form::open(array('url'=>'company/accounting_update', 'files'=>true)) !!} {{ csrf_field() }}
{!! Form::label('pan', 'Pan No') !!} {!! Form::text('pan', $value = $Account_details->pan_number, ['class' => 'form-control rounded', 'maxlength' => '10']) !!} @if ($errors->has('pan')) {{ $errors->first('pan') }} @endif
{!! Form::label('gst', 'GSTIN') !!} {!! Form::text('gst', $value = $Account_details->gstin_no, ['class' => 'form-control rounded']) !!} @if ($errors->has('gst')) {{ $errors->first('gst') }} @endif
{!! Form::label('invoice_prefix', 'Invoice Prefix', array('class' => 'required') ) !!} {!! Form::text('invoice_prefix', $value = $Account_details->invoice_prefix, ['class' => 'form-control rounded']) !!} @if ($errors->has('invoice_prefix')) {{ $errors->first('invoice_prefix') }} @endif
{!! Form::label('invoice_suffix', 'Invoice Suffix', array('class' => 'required')) !!} {!! Form::text('invoice_suffix', $value = $Account_details->invoice_suffix, ['class' => 'form-control rounded' , 'readonly'=>'readonly']) !!} @if ($errors->has('invoice_suffix')) {{ $errors->first('invoice_suffix') }} @endif
@if ($errors->has('signature')) {{ $errors->first('signature') }} @endif

Bank Verification Details

{!! Form::label('ifsc_code', 'IFSC Code') !!} {!! Form::text('ifsc_code', $value = $Account_details->ifsc_code, ['onkeypress'=>"return AvoidSpace(event)",'class' => 'form-control rounded', 'maxlength' => '11']) !!} @if ($errors->has('ifsc_code')) {{ $errors->first('ifsc_code') }} @endif
{!! Form::label('beneficiary_name', 'Beneficiary Name') !!} {!! Form::text('beneficiary_name', $value = $Account_details->beneficiary_name, ['class' => 'form-control rounded']) !!} @if ($errors->has('beneficiary_name')) {{ $errors->first('beneficiary_name') }} @endif
@if ($errors->has('cheque_pic')) {{ $errors->first('cheque_pic') }} @endif
{!! Form::close() !!}
@else

Accounting Details

{!! Form::open(array('url'=>'company/accounting_save', 'files'=>true)) !!} {{ csrf_field() }}
{!! Form::label('pan', 'Pan No') !!} {!! Form::text('pan', null, ['class' => 'form-control rounded', 'maxlength' => '10']) !!} @if ($errors->has('pan')) {{ $errors->first('pan') }} @endif
{!! Form::label('gst', 'GSTIN') !!} {!! Form::text('gst', null, ['class' => 'form-control rounded']) !!} @if ($errors->has('gst')) {{ $errors->first('gst') }} @endif
{!! Form::label('invoice_prefix', 'Invoice Prefix required') !!} {!! Form::text('invoice_prefix', null, ['class' => 'form-control rounded']) !!} @if ($errors->has('invoice_prefix')) {{ $errors->first('invoice_prefix') }} @endif
{!! Form::label('invoice_suffix', 'Invoice Suffix required') !!} {!! Form::text('invoice_suffix', 0, ['class' => 'form-control rounded', 'readonly'=>'readonly']) !!} @if ($errors->has('invoice_suffix')) {{ $errors->first('invoice_suffix') }} @endif
@if ($errors->has('signature')) {{ $errors->first('signature') }} @endif

Bank Verification Details

{!! Form::label('ifsc_code', 'IFSC Code') !!} {!! Form::text('ifsc_code', null, ['class' => 'form-control rounded', 'maxlength' => '11']) !!} @if ($errors->has('ifsc_code')) {{ $errors->first('ifsc_code') }} @endif
{!! Form::label('beneficiary_name', 'Beneficiary Name') !!} {!! Form::text('beneficiary_name', null, ['class' => 'form-control rounded']) !!} @if ($errors->has('beneficiary_name')) {{ $errors->first('beneficiary_name') }} @endif
@if ($errors->has('cheque_pic')) {{ $errors->first('cheque_pic') }} @endif
{!! Form::close() !!}
@endif
@endsection