@extends('layouts.app_rest') @section('content')
{!! Form::open(['url' => action('BussinessController@store'), 'method' => 'post', 'id' => 'bussiness_edit_form', 'files' => true ]) !!}

Business Setting

{!! Form::label('name',__('Business Name') . ':*') !!} {!! Form::text('name', $business->name ?? '', ['class' => 'form-input', 'required', 'placeholder' => __('Business Name')]); !!}
@php $start_date = null; if(!empty($business->start_date)){ $start_date = date('m/d/Y', strtotime($business->start_date)); } @endphp {!! Form::label('start_date', __('Start Date') . ':') !!}
{!! Form::label('default_profit_percent', __('Default Profit Percent') . ':') !!} @show_tooltip(__('Default Profit Percent')) {!! Form::number('default_profit_percent', $business->default_profit_percent, ['class' => 'form-input', 'min' => 0, 'step' => 0.01, 'max' => 100]); !!}
{!! Form::label('currency_id', __('Currency') . ':') !!} {!! Form::select('currency_id', $currencies, $business->currency_id, ['class' => 'form-input','placeholder' => __('Currency'), 'required']); !!}
{!! Form::label('time_zone', __('Timezone') . ':') !!} {!! Form::select('time_zone', $timezone_list, $business->time_zone, ['class' => 'form-input', 'required']); !!}
{!! Form::label('business_logo', __('Business Logo') . ':') !!}

@lang('Previous logo (if exists) will be replaced')

{!! Form::label('fy_start_month', __('Financial year start month') . ':') !!} @show_tooltip(__('Starting month of The Financial Year for your business')) {!! Form::select('fy_start_month', $months, $business->fy_start_month, ['class' => 'form-input', 'required']); !!}
{!! Form::label('accounting_method', __('Accounting Method') . ':*') !!} @show_tooltip(__('Accounting method')) {!! Form::select('accounting_method', $accounting_methods, $business->accounting_method, ['class' => 'form-input', 'required']); !!}
{!! Form::label('country',__('Country') . ':*') !!} {!! Form::text('country', $business->country, ['class' => 'form-input', 'required', 'placeholder' => __('Country')]); !!}
{!! Form::label('reg_doc_no',__('Reg Doc No') . ':*') !!} {!! Form::text('reg_doc_no', $business->reg_doc_no, ['class' => 'form-input', 'placeholder' => __('Reg Doc No')]); !!}
{!! Form::label('fax_no',__('Fax No') . ':') !!} {!! Form::text('fax_no', $business->fax_no, ['class' => 'form-input', 'placeholder' => __('Fax No')]); !!}
{!! Form::label('website',__('Website') . ':') !!} {!! Form::text('website', $business->website, ['class' => 'form-input', 'placeholder' => __('website')]); !!}
{!! Form::label('day_duration', __('Duration') . ':*') !!} @show_tooltip(__('Consider No of Hours')) {!! Form::number('day_duration', $business->day_duration, ['class' => 'form-input', 'min' => 0, 'max' => 24]); !!}
{!! Form::label('address',__('Address Line 1') . ':*') !!} {!! Form::text('address', $business->address, ['class' => 'form-input', 'placeholder' => __('Address')]); !!}
{!! Form::label('address_two',__('Address Line 2') . ':') !!} {!! Form::text('address_two', $business->address_two, ['class' => 'form-input', 'placeholder' => __('Address')]); !!}
{!! Form::label('city',__('City') . ':') !!} {!! Form::text('city', $business->city, ['class' => 'form-input', 'placeholder' => __('city')]); !!}
{!! Form::label('mobile',__('Mobile') . ':') !!} {!! Form::text('mobile', $business->mobile, ['class' => 'form-input', 'placeholder' => __('mobile')]); !!}
{!! Form::label('phone',__('Phone') . ':') !!} {!! Form::text('phone', $business->phone, ['class' => 'form-input', 'placeholder' => __('phone')]); !!}
{!! Form::label('email',__('Email') . ':') !!} {!! Form::text('email', $business->email, ['class' => 'form-input', 'placeholder' => __('email')]); !!}
{!! Form::label('printer_display', __('Printer Display') . ':') !!} {!! Form::select('printer_display',['KotDisplay' => 'KotDisplay', 'DirectPrint' => 'Direct Print'], $business->printer_display, ['class' => 'form-input','placeholder' => __('Currency'), 'required']); !!}

Restaurant Setting

{!! Form::close() !!} @endsection