@extends('layout.app') @section('title','Create Customer') @push('header_script') @endpush @section('content')
{!! Form::open(['route' => ['customer.store'], 'onsubmit'=>'BtnSubmit.disabled = true', 'class'=>'row g-3 needs-validation', 'method' => 'post', 'autocomplete'=>'off']) !!}
{{$errors->first('customer_name')}}
{{$errors->first('mobile_no')}}
{{$errors->first('email')}}
{{$errors->first('address')}}
{{$errors->first('country')}}
{!! Form::select('state_id', [''=>'--Select--',]+$state, old('state_id'), ['class'=>'form-control select2','id'=>'state_id','required']) !!}
{{$errors->first('state_id')}}
{{$errors->first('city')}}
{{$errors->first('pin_code')}}
{!! Form::select('register_type', ['Regular'=>'Regular','Composition'=>'Composition','Unregistered'=>'Unregistered'], old('register_type'), ['class'=>'form-control','id'=>'register_type','required']) !!}
{{$errors->first('register_type')}}
{{$errors->first('gst_no')}}
{{$errors->first('pan_no')}}
{{$errors->first('opening_balance')}}
{{$errors->first('starting_date')}}
{{--
{{$errors->first('receiving_pending')}}
{{$errors->first('payment_pending')}}
--}} @if(\App\Http\Helpers\CommonHelper::checkGeneralSetting('maintain_balance') == 'yes')
{{$errors->first('maintain_bal_bil')}}
@endif
{!! Form::close() !!}
@endsection @push('footer_script') @endpush