@extends('layouts.admin') @section('page-title') {{__('Settings')}} @endsection @php $logo=\App\Models\Utility::get_file('uploads/logo/'); $logo_light = \App\Models\Utility::getValByName('company_logo_light'); $logo_dark = \App\Models\Utility::getValByName('company_logo_dark'); $company_favicon = \App\Models\Utility::getValByName('company_favicon'); $EmailTemplates = App\Models\EmailTemplate::all(); $setting = App\Models\Utility::settings(); @endphp @push('script-page') @endpush @section('breadcrumb') @endsection @section('content')
{{Form::model($settings,array('route'=>'business.setting','method'=>'POST','enctype' => "multipart/form-data"))}}
{{ __('Business Setting') }}
{{ __('Edit details about your Company') }}
{{ __('Logo dark') }}
@error('company_logo')
@enderror
{{ __('Logo Light') }}
@error('company_logo_light')
@enderror
{{ __('Favicon') }}
@error('logo')
@enderror
{{Form::label('title_text',__('Title Text'),array('class'=>'form-label')) }} {{Form::text('title_text',null,array('class'=>'form-control','placeholder'=>__('Title Text')))}} @error('title_text') {{ $message }} @enderror

{{__('Theme Customizer')}}

{{ __('Primary color settings') }}

{{__('Sidebar settings')}}

{{__('Layout settings')}}

{{ Form::close() }}
{{ __('System Setting') }}
{{ __('Edit details about your Company') }}
{{Form::model($settings,array('route'=>'system.settings','method'=>'post'))}}
{{Form::label('site_currency',__('Currency *'),array('class' => 'form-label')) }} {{Form::text('site_currency',null,array('class'=>'form-control font-style'))}} @error('site_currency') {{ $message }} @enderror
{{Form::label('site_currency_symbol',__('Currency Symbol *'),array('class' => 'form-label')) }} {{Form::text('site_currency_symbol',null,array('class'=>'form-control'))}} @error('site_currency_symbol') {{ $message }} @enderror
{{--
--}}
{{Form::label('invoice_prefix',__('Invoice Prefix'),array('class'=>'form-label')) }} {{Form::text('invoice_prefix',null,array('class'=>'form-control'))}} @error('invoice_prefix') {{ $message }} @enderror
{{Form::label('invoice_starting_number',__('Invoice Starting Number'),array('class'=>'form-label')) }} {{Form::text('invoice_starting_number',null,array('class'=>'form-control'))}} @error('invoice_starting_number') {{ $message }} @enderror
{{Form::label('proposal_prefix',__('Proposal Prefix'),array('class'=>'form-label')) }} {{Form::text('proposal_prefix',null,array('class'=>'form-control'))}} @error('proposal_prefix') {{ $message }} @enderror
{{Form::label('proposal_starting_number',__('Proposal Starting Number'),array('class'=>'form-label')) }} {{Form::text('proposal_starting_number',null,array('class'=>'form-control'))}} @error('proposal_starting_number') {{ $message }} @enderror
{{Form::label('bill_prefix',__('Bill Prefix'),array('class'=>'form-label')) }} {{Form::text('bill_prefix',null,array('class'=>'form-control'))}} @error('bill_prefix') {{ $message }} @enderror
{{Form::label('retainer_starting_number',__('Retainer Starting Number'),array('class'=>'form-label')) }} {{Form::text('retainer_starting_number',null,array('class'=>'form-control'))}} @error('retainer_starting_number') {{ $message }} @enderror
{{Form::label('retainer_prefix',__('Retainer Prefix'),array('class'=>'form-label')) }} {{Form::text('retainer_prefix',null,array('class'=>'form-control'))}} @error('retainer_prefix') {{ $message }} @enderror
{{Form::label('bill_starting_number',__('Bill Starting Number'),array('class'=>'form-label')) }} {{Form::text('bill_starting_number',null,array('class'=>'form-control'))}} @error('bill_starting_number') {{ $message }} @enderror
{{Form::label('customer_prefix',__('Customer Prefix'),array('class'=>'form-label')) }} {{Form::text('customer_prefix',null,array('class'=>'form-control'))}} @error('customer_prefix') {{ $message }} @enderror
{{Form::label('vender_prefix',__('Vender Prefix'),array('class'=>'form-label')) }} {{Form::text('vender_prefix',null,array('class'=>'form-control'))}} @error('vender_prefix') {{ $message }} @enderror
{{Form::label('footer_title',__('Invoice/Bill Footer Title'),array('class'=>'form-label')) }} {{Form::text('footer_title',null,array('class'=>'form-control'))}} @error('footer_title') {{ $message }} @enderror
{{Form::label('decimal_number',__('Decimal Number Format'),array('class'=>'form-label')) }} {{Form::number('decimal_number', null, ['class'=>'form-control'])}} @error('decimal_number') {{ $message }} @enderror
{{Form::label('journal_prefix',__('Journal Prefix'),array('class'=>'form-label')) }} {{Form::text('journal_prefix',null,array('class'=>'form-control'))}} @error('journal_prefix') {{ $message }} @enderror
{{Form::label('shipping_display',__('Shipping Display in Proposal / Invoice / Bill ?'),array('class'=>'form-label')) }}
@error('shipping_display') {{ $message }} @enderror
{{Form::label('footer_notes',__('Invoice/Bill Footer Notes'),array('class'=>'form-label')) }} {{Form::textarea('footer_notes', null, ['class'=>'form-control','rows'=>'3'])}} @error('footer_notes') {{ $message }} @enderror
{{Form::close()}}
{{ __('Company Setting') }}
{{ __('Edit details about your Company') }}
{{Form::model($settings,array('route'=>'company.settings','method'=>'post'))}}
{{Form::label('company_name *',__('Company Name *'),array('class' => 'form-label')) }} {{Form::text('company_name',null,array('class'=>'form-control font-style'))}} @error('company_name') {{ $message }} @enderror
{{Form::label('company_address',__('Address'),array('class' => 'form-label')) }} {{Form::text('company_address',null,array('class'=>'form-control font-style'))}} @error('company_address') {{ $message }} @enderror
{{Form::label('company_city',__('City'),array('class' => 'form-label')) }} {{Form::text('company_city',null,array('class'=>'form-control font-style'))}} @error('company_city') {{ $message }} @enderror
{{Form::label('company_state',__('State'),array('class' => 'form-label')) }} {{Form::text('company_state',null,array('class'=>'form-control font-style'))}} @error('company_state') {{ $message }} @enderror
{{Form::label('company_zipcode',__('Zip/Post Code'),array('class' => 'form-label')) }} {{Form::text('company_zipcode',null,array('class'=>'form-control'))}} @error('company_zipcode') {{ $message }} @enderror
{{Form::label('company_country',__('Country'),array('class' => 'form-label')) }} {{Form::text('company_country',null,array('class'=>'form-control font-style'))}} @error('company_country') {{ $message }} @enderror
{{Form::label('company_telephone',__('Telephone'),array('class' => 'form-label')) }} {{Form::text('company_telephone',null,array('class'=>'form-control'))}} @error('company_telephone') {{ $message }} @enderror
{{Form::label('company_email',__('System Email *'),array('class' => 'form-label')) }} {{Form::text('company_email',null,array('class'=>'form-control'))}} @error('company_email') {{ $message }} @enderror
{{Form::label('company_email_from_name',__('Email (From Name) *'),array('class' => 'form-label')) }} {{Form::text('company_email_from_name',null,array('class'=>'form-control font-style'))}} @error('company_email_from_name') {{ $message }} @enderror
{{Form::label('registration_number',__('Company Registration Number *'),array('class' => 'form-label')) }} {{Form::text('registration_number',null,array('class'=>'form-control'))}} @error('registration_number') {{ $message }} @enderror
{{Form::text('vat_number',null,array('class'=>'form-control','placeholder'=>__('Enter VAT / GST Number')))}}
{{Form::close()}}
{{ __('Proposal Print Setting') }}
{{ __('Edit details about your Company Proposal') }}
@csrf
@foreach(App\Models\Utility::templateData()['colors'] as $key => $color)
@endforeach
@if(isset($settings['proposal_template']) && isset($settings['proposal_color'])) @else @endif
{{ __('Retainer Print Setting') }}
{{ __('Edit details about your Company Retainer') }}
@csrf
@foreach(App\Models\Utility::templateData()['colors'] as $key => $color)
@endforeach
@if(isset($settings['retainer_template']) && isset($settings['retainer_color'])) @else @endif
{{ __('Invoice Setting') }}
{{ __('Edit details about your Company invoice') }}
@csrf
@foreach(Utility::templateData()['colors'] as $key => $color)
@endforeach
@if(isset($settings['invoice_template']) && isset($settings['invoice_color'])) @else @endif
{{ __('Bill Print Setting') }}
{{ __('Edit details about your Company Bill') }}
@csrf
@foreach(Utility::templateData()['colors'] as $key => $color)
@endforeach
@if(isset($settings['bill_template']) && isset($settings['bill_color'])) @else @endif
{{ __('Payment Setting') }}
{{ __('This detail will use for collect payment on invoice from clients. On invoice client will find out pay now button based on your below configuration.') }}
{{Form::model($settings,['route'=>'company.payment.settings', 'method'=>'POST'])}} @csrf



@if ($errors->has('mercado_secret_key')) {{ $errors->first('mercado_access_token') }} @endif



{{ __('Twilio Setting') }}
{{ __('Edit details about your Company twilio setting') }}
{{Form::model($settings,array('route'=>'twilio.settings','method'=>'post'))}}
{{Form::label('twilio_sid',__('Twilio SID '),array('class'=>'form-label')) }} {{ Form::text('twilio_sid', isset($settings['twilio_sid']) ?$settings['twilio_sid'] :'', ['class' => 'form-control w-100', 'placeholder' => __('Enter Twilio SID'), 'required' => 'required']) }} @error('twilio_sid') {{ $message }} @enderror
{{Form::label('twilio_token',__('Twilio Token'),array('class'=>'form-label')) }} {{ Form::text('twilio_token', isset($settings['twilio_token']) ?$settings['twilio_token'] :'', ['class' => 'form-control w-100', 'placeholder' => __('Enter Twilio Token'), 'required' => 'required']) }} @error('twilio_token') {{ $message }} @enderror
{{Form::label('twilio_from',__('Twilio From'),array('class'=>'form-label')) }} {{ Form::text('twilio_from', isset($settings['twilio_from']) ?$settings['twilio_from'] :'', ['class' => 'form-control w-100', 'placeholder' => __('Enter Twilio From'), 'required' => 'required']) }} @error('twilio_from') {{ $message }} @enderror
{{__('Module Setting')}}
  • {{__('Create Customer')}} {{Form::checkbox('customer_notification', '1',isset($settings['customer_notification']) && $settings['customer_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'customer_notification'))}}
  • {{__('Create Vendor')}} {{Form::checkbox('vender_notification', '1',isset($settings['vender_notification']) && $settings['vender_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'vender_notification'))}}
  • {{__('Create Invoice')}} {{Form::checkbox('invoice_notification', '1',isset($settings['invoice_notification']) && $settings['invoice_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'invoice_notification'))}}
  • {{__('Create Revenue')}} {{Form::checkbox('revenue_notification', '1',isset($settings['revenue_notification']) && $settings['revenue_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'revenue_notification'))}}
  • {{__('Create Bill')}} {{Form::checkbox('bill_notification', '1',isset($settings['bill_notification']) && $settings['bill_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'bill_notification'))}}
  • {{__('Create Proposal')}} {{Form::checkbox('proposal_notification', '1',isset($settings['proposal_notification']) && $settings['proposal_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'proposal_notification'))}}
  • {{__('Create Payment')}} {{Form::checkbox('payment_notification', '1',isset($settings['payment_notification']) && $settings['payment_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'payment_notification'))}}
  • {{__('Invoice Reminder')}} {{Form::checkbox('reminder_notification', '1',isset($settings['reminder_notification']) && $settings['reminder_notification'] == '1' ?'checked':'',array('class'=>'form-check-input','id'=>'reminder_notification'))}}
{{ Form::close() }}
{{ __('Email Notification') }}
@foreach ($EmailTemplates as $EmailTemplate)
template)?$EmailTemplate->template->is_active:0 == 1) checked="checked" @endif type="checkbox" value="{{!empty($EmailTemplate->template)?$EmailTemplate->template->is_active:1}}" data-url="{{route('status.email.language',[!empty($EmailTemplate->template)?$EmailTemplate->template->id:''])}}" />
@endforeach
@endsection @push('script-page') @endpush