@extends('layouts.auth') @section('title', __('lang_v1.register')) @section('content')

{{ config('app.name', 'POS') }}

{{ __('business.already_registered')}} {{ __('business.sign_in') }}
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif

@lang('business.register_and_get_started_in_minutes')

{!! Form::open(['url' => route('business.postRegister'), 'method' => 'post', 'id' => 'business_register_form','files' => true ]) !!}

@lang('business.business')

@lang('business.business_details'):
{!! Form::label('name', __('business.business_name') . ':' ) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder' => __('business.business_name'), 'required']); !!}
{!! Form::label('start_date', __('business.start_date') . ':') !!}
{!! Form::text('start_date', null, ['class' => 'form-control start-date-picker','placeholder' => __('business.start_date'), 'readonly']); !!}
{!! Form::label('currency_id', __('business.currency') . ':') !!}
{!! Form::select('currency_id', $currencies, '', ['class' => 'form-control select2','placeholder' => __('business.currency_placeholder'), 'required']); !!}
{!! Form::label('business_logo', __('business.upload_logo') . ':') !!} {!! Form::file('business_logo', ['accept' => 'image/*']); !!}
{!! Form::label('country', __('business.country') . ':') !!}
{!! Form::text('country', null, ['class' => 'form-control','placeholder' => __('business.country'), 'required']); !!}
{!! Form::label('state',__('business.state') . ':') !!}
{!! Form::text('state', null, ['class' => 'form-control','placeholder' => __('business.state'), 'required']); !!}
{!! Form::label('city',__('business.city'). ':') !!}
{!! Form::text('city', null, ['class' => 'form-control','placeholder' => __('business.city'), 'required']); !!}
{!! Form::label('zip_code', __('business.zip_code') . ':') !!}
{!! Form::text('zip_code', null, ['class' => 'form-control','placeholder' => __('business.zip_code_placeholder'), 'required']); !!}
{!! Form::label('landmark', __('business.landmark') . ':') !!}
{!! Form::text('landmark', null, ['class' => 'form-control','placeholder' => __('business.landmark'), 'required']); !!}
{!! Form::label('time_zone', __('business.time_zone') . ':') !!}
{!! Form::select('time_zone', $timezone_list, 'Asia/Kolkata', ['class' => 'form-control select2','placeholder' => __('business.time_zone'), 'required']); !!}

@lang('business.business_settings')

@lang('business.business_settings'):
{!! Form::label('tax_label_1', __('business.tax_1_name') . ':') !!}
{!! Form::text('tax_label_1', null, ['class' => 'form-control','placeholder' => __('business.tax_1_placeholder')]); !!}
{!! Form::label('tax_number_1', __('business.tax_1_no') . ':') !!}
{!! Form::text('tax_number_1', null, ['class' => 'form-control']); !!}
{!! Form::label('tax_label_2',__('business.tax_2_name') . ':') !!}
{!! Form::text('tax_label_2', null, ['class' => 'form-control','placeholder' => __('business.tax_1_placeholder')]); !!}
{!! Form::label('tax_number_2',__('business.tax_2_no') . ':') !!}
{!! Form::text('tax_number_2', null, ['class' => 'form-control',]); !!}
{!! Form::label('fy_start_month', __('business.fy_start_month') . ':') !!} @show_tooltip(__('tooltip.fy_start_month'))
{!! Form::select('fy_start_month', $months, null, ['class' => 'form-control select2', 'required', 'style' => 'width:100%;']); !!}
{!! Form::label('accounting_method', __('business.accounting_method') . ':') !!}
{!! Form::select('accounting_method', $accounting_methods, null, ['class' => 'form-control select2', 'required', 'style' => 'width:100%;']); !!}

@lang('business.owner')

@lang('business.owner_info')
{!! Form::label('surname', __('business.prefix') . ':') !!}
{!! Form::text('surname', null, ['class' => 'form-control','placeholder' => __('business.prefix_placeholder')]); !!}
{!! Form::label('first_name', __('business.first_name') . ':') !!}
{!! Form::text('first_name', null, ['class' => 'form-control','placeholder' => __('business.first_name'), 'required']); !!}
{!! Form::label('last_name', __('business.last_name') . ':') !!}
{!! Form::text('last_name', null, ['class' => 'form-control','placeholder' => __('business.last_name')]); !!}
{!! Form::label('username', __('business.username') . ':') !!}
{!! Form::text('username', null, ['class' => 'form-control','placeholder' => __('business.username'), 'required']); !!}
{!! Form::label('email', __('business.email') . ':') !!}
{!! Form::text('email', null, ['class' => 'form-control','placeholder' => __('business.email')]); !!}
{!! Form::label('password', __('business.password') . ':') !!}
{!! Form::password('password', ['class' => 'form-control','placeholder' => __('business.password'), 'required']); !!}
{!! Form::label('confirm_password', __('business.confirm_password') . ':') !!}
{!! Form::password('confirm_password', ['class' => 'form-control','placeholder' => __('business.confirm_password'), 'required']); !!}
{!! Form::close() !!}
@endsection