@extends('layouts.app') @section('title', __('business.business_settings')) @section('content') @lang('business.business_settings') {!! Form::open(['url' => action('BusinessController@postBusinessSettings'), 'method' => 'post', 'id' => 'bussiness_edit_form', 'files' => true ]) !!} @lang('business.business') {!! Form::label('name',__('business.business_name') . ':*') !!} {!! Form::text('name', $business->name, ['class' => 'form-control', 'required', 'placeholder' => __('business.business_name')]); !!} {!! Form::label('start_date', __('business.start_date') . ':') !!} @php $start_date = null; if(!empty($business->start_date)){ $start_date = date('m/d/Y', strtotime($business->start_date)); } @endphp {!! Form::text('start_date', $start_date, ['class' => 'form-control start-date-picker','placeholder' => __('business.start_date'), 'readonly']); !!} {!! Form::label('default_profit_percent', __('business.default_profit_percent') . ':*') !!} @show_tooltip(__('tooltip.default_profit_percent')) {!! Form::number('default_profit_percent', $business->default_profit_percent, ['class' => 'form-control', 'min' => 0, 'step' => 0.01, 'max' => 100]); !!} {!! Form::label('currency_id', __('business.currency') . ':') !!} {!! Form::select('currency_id', $currencies, $business->currency_id, ['class' => 'form-control select2','placeholder' => __('business.currency'), 'required']); !!} {!! Form::label('currency_symbol_placement', __('lang_v1.currency_symbol_placement') . ':') !!} {!! Form::select('currency_symbol_placement', ['before' => __('lang_v1.before_amount'), 'after' => __('lang_v1.after_amount')], $business->currency_symbol_placement, ['class' => 'form-control select2', 'required']); !!} {!! Form::label('time_zone', __('business.time_zone') . ':') !!} {!! Form::select('time_zone', $timezone_list, $business->time_zone, ['class' => 'form-control select2', 'required']); !!} {!! Form::label('business_logo', __('business.upload_logo') . ':') !!} {!! Form::file('business_logo', ['accept' => 'image/*']); !!} @lang('business.logo_help') {!! Form::label('fy_start_month', __('business.fy_start_month') . ':') !!} @show_tooltip(__('tooltip.fy_start_month')) {!! Form::select('fy_start_month', $months, $business->fy_start_month, ['class' => 'form-control select2', 'required']); !!} {!! Form::label('accounting_method', __('business.accounting_method') . ':*') !!} @show_tooltip(__('tooltip.accounting_method')) {!! Form::select('accounting_method', $accounting_methods, $business->accounting_method, ['class' => 'form-control select2', 'required']); !!} {!! Form::label('transaction_edit_days', __('business.transaction_edit_days') . ':*') !!} @show_tooltip(__('tooltip.transaction_edit_days')) {!! Form::number('transaction_edit_days', $business->transaction_edit_days, ['class' => 'form-control','placeholder' => __('business.transaction_edit_days'), 'required']); !!} {!! Form::label('date_format', __('lang_v1.date_format') . ':*') !!} {!! Form::select('date_format', $date_formats, $business->date_format, ['class' => 'form-control select2', 'required']); !!} {!! Form::label('time_format', __('lang_v1.time_format') . ':*') !!} {!! Form::select('time_format', [12 => __('lang_v1.12_hour'), 24 => __('lang_v1.24_hour')], $business->time_format, ['class' => 'form-control select2', 'required']); !!} @lang('business.tax') @show_tooltip(__('tooltip.business_tax')) {!! Form::label('tax_label_1', __('business.tax_1_name') . ':') !!} {!! Form::text('tax_label_1', $business->tax_label_1, ['class' => 'form-control','placeholder' => __('business.tax_1_placeholder')]); !!} {!! Form::label('tax_number_1', __('business.tax_1_no') . ':') !!} {!! Form::text('tax_number_1', $business->tax_number_1, ['class' => 'form-control']); !!} {!! Form::label('tax_label_2', __('business.tax_2_name') . ':') !!} {!! Form::text('tax_label_2', $business->tax_label_2, ['class' => 'form-control','placeholder' => __('business.tax_1_placeholder')]); !!} {!! Form::label('tax_number_2', __('business.tax_2_no') . ':') !!} {!! Form::text('tax_number_2', $business->tax_number_2, ['class' => 'form-control']); !!} {!! Form::checkbox('enable_inline_tax', 1, $business->enable_inline_tax , [ 'class' => 'input-icheck']); !!} {{ __( 'lang_v1.enable_inline_tax' ) }} @include('business.partials.settings_product') @lang('business.sale') {!! Form::label('default_sales_discount', __('business.default_sales_discount') . ':*') !!} {!! Form::number('default_sales_discount', $business->default_sales_discount, ['class' => 'form-control', 'min' => 0, 'step' => 0.01, 'max' => 100]); !!} {!! Form::label('default_sales_tax', __('business.default_sales_tax') . ':') !!} {!! Form::select('default_sales_tax', $tax_rates, $business->default_sales_tax, ['class' => 'form-control select2','placeholder' => __('business.default_sales_tax')]); !!} {!! Form::label('sell_price_tax', __('business.sell_price_tax') . ':') !!} sell_price_tax == 'includes') {{'checked'}} @endif> Includes the Sale Tax sell_price_tax == 'excludes') {{'checked'}} @endif>Excludes the Sale Tax (Calculate sale tax on Selling Price provided in Add Purchase) {!! Form::label('sales_cmsn_agnt', __('lang_v1.sales_commission_agent') . ':') !!} {!! Form::select('sales_cmsn_agnt', $commission_agent_dropdown, $business->sales_cmsn_agnt, ['class' => 'form-control select2']); !!} {!! Form::label('item_addition_method', __('lang_v1.sales_item_addition_method') . ':') !!} {!! Form::select('item_addition_method', [ 0 => __('lang_v1.add_item_in_new_row'), 1 => __('lang_v1.increase_item_qty')], $business->item_addition_method, ['class' => 'form-control select2']); !!} @include('business.partials.settings_purchase') @if(!config('constants.disable_expiry', true)) @include('business.partials.settings_dashboard') @endif @include('business.partials.settings_system') @include('business.partials.settings_prefixes') @lang('business.update_settings') {!! Form::close() !!} @endsection
@lang('business.logo_help')