dbfdg @extends('layouts.admin') @section('page-title') {{ __('Settings') }} @endsection @php use App\Models\Utility; use App\Models\WebhookSetting; $logo = \App\Models\Utility::get_file('uploads/logo'); $logo_light = !empty($setting['company_logo_light']) ? $setting['company_logo_light'] : ''; $logo_dark = !empty($setting['company_logo_dark']) ? $setting['company_logo_dark'] : ''; $company_favicon = !empty($setting['company_favicon']) ? $setting['company_favicon'] : ''; $color = !empty($setting['color']) ? $setting['color'] : 'theme-3'; $SITE_RTL = isset($setting['SITE_RTL']) ? $setting['SITE_RTL'] : 'off'; $currantLang = Utility::languages(); $lang = \App\Models\Utility::getValByName('default_language'); $webhookSetting = WebhookSetting::where('created_by', '=', \Auth::user()->creatorId())->get(); @endphp @section('breadcrumb') @endsection @push('css-page') @endpush @push('script-page') @endpush @section('content')
{{ Form::model($setting, ['route' => 'business.setting', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
{{ __('Brand Settings') }}
{{ __('Edit your brand details') }}
{{ __('Logo dark') }}
@error('company_logo_dark')
@enderror
{{ __('Logo Light') }}
@error('company_logo_light')
@enderror
{{ __('Favicon') }}
@error('logo')
@enderror
{{ Form::label('title_text', __('Title Text'), ['class' => 'form-label']) }} {{ Form::text('title_text', Utility::getValByName('title_text') ? Utility::getValByName('title_text') : 'ErpGo Saas', ['class' => 'form-control', 'placeholder' => __('Title Text')]) }} @error('title_text') {{ $message }} @enderror
{{ Form::label('footer_text', __('Footer Text'), ['class' => 'form-label']) }} {{ Form::text('footer_text', Utility::getValByName('footer_text'), ['class' => 'form-control', 'placeholder' => __('Enter Footer Text')]) }} @error('footer_text') {{ $message }} @enderror
{{ Form::label('default_language', __('Default Language'), ['class' => 'form-label']) }}
@error('default_language') {{ $message }} @enderror
{{ __('Theme Customizer') }}
{{ __('Primary color settings') }}


{{ __('Sidebar settings') }}

{{ __('Layout settings') }}

{{ Form::close() }}
{{ __('System Settings') }}
{{ __('Edit your system details') }}
{{ Form::model($setting, ['route' => 'system.settings', 'method' => 'post']) }}
{{--
{{ Form::label('site_currency', __('Currency *'), ['class' => 'form-label']) }} {{ Form::text('site_currency', $setting['site_currency'], ['class' => 'form-control font-style', 'required', 'placeholder' => __('Enter Currency')]) }} {{ __('Note: Add currency code as per three-letter ISO code.') }}
{{ __('You can find out how to do that here.') }}

@error('site_currency') {{ $message }} @enderror
{{ Form::label('site_currency_symbol', __('Currency Symbol *'), ['class' => 'form-label']) }} {{ Form::text('site_currency_symbol', null, ['class' => 'form-control']) }} @error('site_currency_symbol') {{ $message }} @enderror
{{ Form::label('decimal_number', __('Decimal Number Format'), ['class' => 'form-label']) }} {{ Form::number('decimal_number', null, ['class' => 'form-control']) }} @error('decimal_number') {{ $message }} @enderror
--}}
{{ Form::label('customer_prefix', __('Customer Prefix'), ['class' => 'form-label']) }} {{ Form::text('customer_prefix', null, ['class' => 'form-control']) }} @error('customer_prefix') {{ $message }} @enderror
{{ Form::label('vender_prefix', __('Vendor Prefix'), ['class' => 'form-label']) }} {{ Form::text('vender_prefix', null, ['class' => 'form-control']) }} @error('vender_prefix') {{ $message }} @enderror
{{ Form::label('proposal_prefix', __('Proposal Prefix'), ['class' => 'form-label']) }} {{ Form::text('proposal_prefix', null, ['class' => 'form-control']) }} @error('proposal_prefix') {{ $message }} @enderror
{{ Form::label('invoice_prefix', __('Invoice Prefix'), ['class' => 'form-label']) }} {{ Form::text('invoice_prefix', null, ['class' => 'form-control']) }} @error('invoice_prefix') {{ $message }} @enderror
{{ Form::label('bill_prefix', __('Bill Prefix'), ['class' => 'form-label']) }} {{ Form::text('bill_prefix', null, ['class' => 'form-control']) }} @error('bill_prefix') {{ $message }} @enderror
{{ Form::label('quotation_prefix', __('Quotation Prefix'), ['class' => 'form-label']) }} {{ Form::text('quotation_prefix', null, ['class' => 'form-control']) }} @error('quotation_prefix') {{ $message }} @enderror
{{ Form::label('purchase_prefix', __('Purchase Prefix'), ['class' => 'form-label']) }} {{ Form::text('purchase_prefix', null, ['class' => 'form-control']) }} @error('purchase_prefix') {{ $message }} @enderror
{{ Form::label('pos_prefix', __('Pos Prefix'), ['class' => 'form-label']) }} {{ Form::text('pos_prefix', null, ['class' => 'form-control']) }} @error('pos_prefix') {{ $message }} @enderror
{{ Form::label('journal_prefix', __('Journal Prefix'), ['class' => 'form-label']) }} {{ Form::text('journal_prefix', null, ['class' => 'form-control']) }} @error('journal_prefix') {{ $message }} @enderror
{{ Form::label('expense_prefix', __('Expense Prefix'), ['class' => 'form-label']) }} {{ Form::text('expense_prefix', null, ['class' => 'form-control']) }} @error('expense_prefix') {{ $message }} @enderror
{{ Form::label('shipping_display', __('Display Shipping in Proposal / Invoice / Bill'), ['class' => 'form-label']) }}
@error('shipping_display') {{ $message }} @enderror
{{ Form::label('footer_title', __('Proposal/Invoice/Bill/Purchase/POS Footer Title'), ['class' => 'form-label']) }} {{ Form::text('footer_title', null, ['class' => 'form-control']) }} @error('footer_title') {{ $message }} @enderror
{{ Form::label('footer_notes', __('Proposal/Invoice/Bill/Purchase/POS Footer Note'), ['class' => 'form-label']) }}
{{ Form::close() }}
{{ __('Company Settings') }}
{{ __('Edit your company details') }}
{{ Form::model($setting, ['route' => 'company.settings', 'method' => 'post']) }}
{{ Form::label('company_name *', __('Company Name *'), ['class' => 'form-label']) }} {{ Form::text('company_name', null, ['class' => 'form-control font-style']) }} @error('company_name') {{ $message }} @enderror
{{ Form::label('company_address', __('Address'), ['class' => 'form-label']) }} {{ Form::text('company_address', null, ['class' => 'form-control font-style']) }} @error('company_address') {{ $message }} @enderror
{{ Form::label('company_city', __('City'), ['class' => 'form-label']) }} {{ Form::text('company_city', null, ['class' => 'form-control font-style']) }} @error('company_city') {{ $message }} @enderror
{{ Form::label('company_state', __('State'), ['class' => 'form-label']) }} {{ Form::text('company_state', null, ['class' => 'form-control font-style']) }} @error('company_state') {{ $message }} @enderror
{{ Form::label('company_zipcode', __('Zip/Post Code'), ['class' => 'form-label']) }} {{ Form::text('company_zipcode', null, ['class' => 'form-control']) }} @error('company_zipcode') {{ $message }} @enderror
{{ Form::label('company_country', __('Country'), ['class' => 'form-label']) }} {{ Form::text('company_country', null, ['class' => 'form-control font-style']) }} @error('company_country') {{ $message }} @enderror
{{ Form::label('company_telephone', __('Telephone'), ['class' => 'form-label']) }} {{ Form::text('company_telephone', null, ['class' => 'form-control']) }} @error('company_telephone') {{ $message }} @enderror
{{ Form::label('registration_number', __('Company Registration Number *'), ['class' => 'form-label']) }} {{ Form::text('registration_number', null, ['class' => 'form-control']) }} @error('registration_number') {{ $message }} @enderror
{{ Form::label('company_start_time', __('Company Start Time *'), ['class' => 'form-label']) }} {{ Form::time('company_start_time', null, ['class' => 'form-control']) }} @error('company_start_time') {{ $message }} @enderror
{{ Form::label('company_end_time', __('Company End Time *'), ['class' => 'form-label']) }} {{ Form::time('company_end_time', null, ['class' => 'form-control']) }} @error('company_end_time') {{ $message }} @enderror
{{ Form::label('timezone', __('Timezone'), ['class' => 'form-label']) }}
{{ Form::text('vat_number', null, ['class' => 'form-control', 'placeholder' => __('Enter VAT / GST Number')]) }}
{{ Form::close() }}
{{ __('Currency Settings') }}
{{ __('Edit your currency details') }}
{{ Form::model($setting, ['route' => 'currency.settings', 'method' => 'post', 'id' => 'currency_setting']) }}
{{ Form::label('site_currency', __('Currency *'), ['class' => 'form-label']) }} {{ Form::text('site_currency', isset($setting['site_currency']) ? $setting['site_currency'] : '', ['class' => 'form-control font-style currency_preview', 'required', 'placeholder' => __('Enter Currency')]) }} {{ __('Note: Add currency code as per three-letter ISO code.') }}
{{ __('You can find out how to do that here.') }}

@error('site_currency') {{ $message }} @enderror
{{ Form::label('site_currency_symbol', __('Currency Symbol *'), ['class' => 'form-label']) }} {{ Form::text('site_currency_symbol', null, ['class' => 'form-control currency_preview']) }} @error('site_currency_symbol') {{ $message }} @enderror
{{ Form::label('decimal_number', __('Decimal Number Format'), ['class' => 'form-label']) }} {{ Form::number('decimal_number', null, ['class' => 'form-control currency_preview']) }} @error('decimal_number') {{ $message }} @enderror
{{ Form::label('currency_space', __('Currency Symbol Space'), ['class' => 'form-label']) }}
{{ Form::label('currency_symbol', __('Currency Symbol & Name'), ['class' => 'form-label']) }}
{{ Form::label('preview', __('Preview : '), ['class' => 'form-label']) }}
{{ __('$ 10.000,00') }}
{{ Form::close() }}
{{ __('Email Settings') }}
{{ __('This SMTP will be used for sending your company-level email. If this field is empty, then SuperAdmin SMTP will be used for sending emails.')}}
{{ Form::model($emailSetting, ['route' => 'company.email.settings', 'method' => 'post']) }}
@csrf
{{ Form::label('mail_driver', __('Mail Driver'), ['class' => 'form-label']) }} {{ Form::text('mail_driver', isset($emailSetting['mail_driver']) ? $emailSetting['mail_driver'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail Driver')]) }} @error('mail_driver') {{ $message }} @enderror
{{ Form::label('mail_host', __('Mail Host'), ['class' => 'form-label']) }} {{ Form::text('mail_host', isset($emailSetting['mail_host']) ? $emailSetting['mail_host'] : '', ['class' => 'form-control ', 'placeholder' => __('Enter Mail Host')]) }} @error('mail_host') {{ $message }} @enderror
{{ Form::label('mail_port', __('Mail Port'), ['class' => 'form-label']) }} {{ Form::text('mail_port', isset($emailSetting['mail_port']) ? $emailSetting['mail_port'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail Port')]) }} @error('mail_port') {{ $message }} @enderror
{{ Form::label('mail_username', __('Mail Username'), ['class' => 'form-label']) }} {{ Form::text('mail_username', isset($emailSetting['mail_username']) ? $emailSetting['mail_username'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail Username')]) }} @error('mail_username') {{ $message }} @enderror
{{ Form::label('mail_password', __('Mail Password'), ['class' => 'form-label']) }} {{ Form::text('mail_password', isset($emailSetting['mail_password']) ? $emailSetting['mail_password'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail Password')]) }} @error('mail_password') {{ $message }} @enderror
{{ Form::label('mail_encryption', __('Mail Encryption'), ['class' => 'form-label']) }} {{ Form::text('mail_encryption', isset($emailSetting['mail_encryption']) ? $emailSetting['mail_encryption'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail Encryption')]) }} @error('mail_encryption') {{ $message }} @enderror
{{ Form::label('mail_from_address', __('Mail From Address'), ['class' => 'form-label']) }} {{ Form::text('mail_from_address', isset($emailSetting['mail_from_address']) ? $emailSetting['mail_from_address'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail From Address')]) }} @error('mail_from_address') {{ $message }} @enderror
{{ Form::label('mail_from_name', __('Mail From Name'), ['class' => 'form-label']) }} {{ Form::text('mail_from_name', isset($emailSetting['mail_from_name']) ? $emailSetting['mail_from_name'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Mail From Name')]) }} @error('mail_from_name') {{ $message }} @enderror
{{ Form::close() }}
{{ __('Time Tracker Settings') }}
{{ __('Edit your Time Tracker settings') }}
{{ Form::model($setting, ['route' => 'tracker.settings', 'method' => 'post']) }}

{{ __('Application URL to log into the app.') }} {{ Form::text('apps_url', URL::to('/'), ['class' => 'form-control', 'placeholder' => __('Application URL'), 'readonly' => 'true']) }}

{{ __('Image Screenshot Take Interval time ( 1 = 1 min)') }} {{ Form::number('interval_time', isset($setting['interval_time']) ? $setting['interval_time'] : '10', ['class' => 'form-control', 'placeholder' => __('Enter Tracking Interval Time')]) }}
{{ Form::close() }}
{{ 'Payment Settings' }}
{{ __('These details will be used to collect invoice payments. Each invoice will have a payment button based on the below configuration.') }}
{{ Form::model($setting, ['route' => 'company.payment.settings', 'method' => 'POST']) }} @csrf

{{ Form::label('bank_details', __('Bank Details'), ['class' => 'col-form-label']) }} {{ Form::textarea('bank_details', isset($company_payment_setting['bank_details']) ? $company_payment_setting['bank_details'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Your Bank Details'), 'rows' => 4]) }} {{ __('Example : Bank : bank name
Account Number : 0000 0000
') }}
@if ($errors->has('bank_details')) {{ $errors->first('bank_details') }} @endif

{{ Form::label('stripe_key', __('Stripe Key'), ['class' => 'col-form-label']) }} {{ Form::text('stripe_key', isset($company_payment_setting['stripe_key']) ? $company_payment_setting['stripe_key'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Stripe Key')]) }} @if ($errors->has('stripe_key')) {{ $errors->first('stripe_key') }} @endif
{{ Form::label('stripe_secret', __('Stripe Secret'), ['class' => 'col-form-label']) }} {{ Form::text('stripe_secret', isset($company_payment_setting['stripe_secret']) ? $company_payment_setting['stripe_secret'] : '', ['class' => 'form-control ', 'placeholder' => __('Enter Stripe Secret')]) }} @if ($errors->has('stripe_secret')) {{ $errors->first('stripe_secret') }} @endif


@if ($errors->has('paytm_merchant_id')) {{ $errors->first('paytm_merchant_id') }} @endif
@if ($errors->has('paytm_merchant_key')) {{ $errors->first('paytm_merchant_key') }} @endif
@if ($errors->has('paytm_industry_type')) {{ $errors->first('paytm_industry_type') }} @endif


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

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


{{-- --}} {{--
--}}

@if ($errors->has('paytab_profile_id')) {{ $errors->first('paytab_profile_id') }} @endif
@if ($errors->has('paytab_server_key')) {{ $errors->first('paytab_server_key') }} @endif

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

{{ Form::label('benefit_api_key', __('Benefit Key'), ['class' => 'col-form-label']) }} {{ Form::text('benefit_api_key', isset($company_payment_setting['benefit_api_key']) ? $company_payment_setting['benefit_api_key'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Benefit Key')]) }} @error('benefit_api_key') {{ $message }} @enderror
{{ Form::label('benefit_secret_key', __('Benefit Secret Key'), ['class' => 'col-form-label']) }} {{ Form::text('benefit_secret_key', isset($company_payment_setting['benefit_secret_key']) ? $company_payment_setting['benefit_secret_key'] : '', ['class' => 'form-control ', 'placeholder' => __('Enter Benefit Secret key')]) }} @error('benefit_secret_key') {{ $message }} @enderror

{{ Form::label('cashfree_api_key', __('Cashfree Key'), ['class' => 'col-form-label']) }} {{ Form::text('cashfree_api_key', isset($company_payment_setting['cashfree_api_key']) ? $company_payment_setting['cashfree_api_key'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Cashfree Key')]) }} @error('cashfree_api_key') {{ $message }} @enderror
{{ Form::label('cashfree_secret_key', __('Cashfree Secret Key'), ['class' => 'col-form-label']) }} {{ Form::text('cashfree_secret_key', isset($company_payment_setting['cashfree_secret_key']) ? $company_payment_setting['cashfree_secret_key'] : '', ['class' => 'form-control ', 'placeholder' => __('Enter Cashfree Secret key')]) }} @error('cashfree_secret_key') {{ $message }} @enderror

{{ Form::label('aamarpay_store_id', __('Store Id'), ['class' => 'form-label']) }} {{ Form::text('aamarpay_store_id', isset($company_payment_setting['aamarpay_store_id']) ? $company_payment_setting['aamarpay_store_id'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Store Id')]) }}
@if ($errors->has('aamarpay_store_id')) {{ $errors->first('aamarpay_store_id') }} @endif
{{ Form::label('aamarpay_signature_key', __('Signature Key'), ['class' => 'form-label']) }} {{ Form::text('aamarpay_signature_key', isset($company_payment_setting['aamarpay_signature_key']) ? $company_payment_setting['aamarpay_signature_key'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Signature Key')]) }}
@if ($errors->has('aamarpay_signature_key')) {{ $errors->first('aamarpay_signature_key') }} @endif
{{ Form::label('aamarpay_description', __('Description'), ['class' => 'form-label']) }} {{ Form::text('aamarpay_description', isset($company_payment_setting['aamarpay_description']) ? $company_payment_setting['aamarpay_description'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Description')]) }}
@if ($errors->has('aamarpay_description')) {{ $errors->first('aamarpay_description') }} @endif

{{ Form::label('paytr_merchant_id', __('Merchant Id'), ['class' => 'form-label']) }} {{ Form::text('paytr_merchant_id', isset($company_payment_setting['paytr_merchant_id']) ? $company_payment_setting['paytr_merchant_id'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Id')]) }}
@if ($errors->has('paytr_merchant_id')) {{ $errors->first('paytr_merchant_id') }} @endif
{{ Form::label('paytr_merchant_key', __('Merchant Key'), ['class' => 'form-label']) }} {{ Form::text('paytr_merchant_key', isset($company_payment_setting['paytr_merchant_key']) ? $company_payment_setting['paytr_merchant_key'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Key')]) }}
@if ($errors->has('paytr_merchant_key')) {{ $errors->first('paytr_merchant_key') }} @endif
{{ Form::label('paytr_merchant_salt', __('Merchant Salt'), ['class' => 'form-label']) }} {{ Form::text('paytr_merchant_salt', isset($company_payment_setting['paytr_merchant_salt']) ? $company_payment_setting['paytr_merchant_salt'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Salt')]) }}
@if ($errors->has('paytr_merchant_salt')) {{ $errors->first('paytr_merchant_salt') }} @endif

{{ Form::label('yookassa_shop_id', __('Shop ID Key'), ['class' => 'form-label']) }} {{ Form::text('yookassa_shop_id', isset($company_payment_setting['yookassa_shop_id']) ? $company_payment_setting['yookassa_shop_id'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Id')]) }}
@if ($errors->has('yookassa_shop_id')) {{ $errors->first('yookassa_shop_id') }} @endif
{{ Form::label('yookassa_secret', __('Secret Key'), ['class' => 'form-label']) }} {{ Form::text('yookassa_secret', isset($company_payment_setting['yookassa_secret']) ? $company_payment_setting['yookassa_secret'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Key')]) }}
@if ($errors->has('yookassa_secret')) {{ $errors->first('yookassa_secret') }} @endif


{{ Form::label('midtrans_secret', __('Secret Key'), ['class' => 'form-label']) }} {{ Form::text('midtrans_secret', isset($company_payment_setting['midtrans_secret']) ? $company_payment_setting['midtrans_secret'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Id')]) }}
@if ($errors->has('midtrans_secret')) {{ $errors->first('midtrans_secret') }} @endif

{{ Form::label('xendit_api', __('API Key'), ['class' => 'form-label']) }} {{ Form::text('xendit_api', isset($company_payment_setting['xendit_api']) ? $company_payment_setting['xendit_api'] : '', ['class' => 'form-control', 'placeholder' => __('API Key')]) }}
@if ($errors->has('xendit_api')) {{ $errors->first('xendit_api') }} @endif
{{ Form::label('xendit_token', __('Token'), ['class' => 'form-label']) }} {{ Form::text('xendit_token', isset($company_payment_setting['xendit_token']) ? $company_payment_setting['xendit_token'] : '', ['class' => 'form-control', 'placeholder' => __('Token')]) }}
@if ($errors->has('xendit_token')) {{ $errors->first('xendit_token') }} @endif

{{ Form::label('nepalste_public_key', __('Public Key'), ['class' => 'form-label']) }} {{ Form::text('nepalste_public_key', isset($company_payment_setting['nepalste_public_key']) ? $company_payment_setting['nepalste_public_key'] : '', ['class' => 'form-control', 'placeholder' => __('API Key')]) }}
@if ($errors->has('nepalste_public_key')) {{ $errors->first('nepalste_public_key') }} @endif
{{ Form::label('nepalste_secret_key', __('Secret Key'), ['class' => 'form-label']) }} {{ Form::text('nepalste_secret_key', isset($company_payment_setting['nepalste_secret_key']) ? $company_payment_setting['nepalste_secret_key'] : '', ['class' => 'form-control', 'placeholder' => __('Token')]) }}
@if ($errors->has('nepalste_secret_key')) {{ $errors->first('nepalste_secret_key') }} @endif

{{ Form::label('paiementpro_merchant_id', __('Merchant Id'), ['class' => 'form-label']) }} {{ Form::text('paiementpro_merchant_id', isset($company_payment_setting['paiementpro_merchant_id']) ? $company_payment_setting['paiementpro_merchant_id'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Id')]) }}
@if ($errors->has('paiementpro_merchant_id')) {{ $errors->first('paiementpro_merchant_id') }} @endif

{{ Form::label('cinetpay_api_key', __('CinetPay API Key'), ['class' => 'form-label']) }} {{ Form::text('cinetpay_api_key', isset($company_payment_setting['cinetpay_api_key']) ? $company_payment_setting['cinetpay_api_key'] : '', ['class' => 'form-control', 'placeholder' => __('CinetPay API Key')]) }}
@if ($errors->has('cinetpay_api_key')) {{ $errors->first('cinetpay_api_key') }} @endif
{{ Form::label('cinetpay_site_id', __('CinetPay Site ID'), ['class' => 'form-label']) }} {{ Form::text('cinetpay_site_id', isset($company_payment_setting['cinetpay_site_id']) ? $company_payment_setting['cinetpay_site_id'] : '', ['class' => 'form-control', 'placeholder' => __('CinetPay Site ID')]) }}
@if ($errors->has('cinetpay_site_id')) {{ $errors->first('cinetpay_site_id') }} @endif

{{ Form::label('fedapay_public', __('Public Key'), ['class' => 'form-label']) }} {{ Form::text('fedapay_public', isset($company_payment_setting['fedapay_public']) ? $company_payment_setting['fedapay_public'] : '', ['class' => 'form-control', 'placeholder' => __('Public Key')]) }}
@if ($errors->has('fedapay_public')) {{ $errors->first('fedapay_public') }} @endif
{{ Form::label('fedapay_secret', __('Secret Key'), ['class' => 'form-label']) }} {{ Form::text('fedapay_secret', isset($company_payment_setting['fedapay_secret']) ? $company_payment_setting['fedapay_secret'] : '', ['class' => 'form-control', 'placeholder' => __('Secret Key')]) }}
@if ($errors->has('fedapay_secret')) {{ $errors->first('fedapay_secret') }} @endif
{{-- PayHere --}}


{{ Form::label('payhere_merchant_id', __('Merchant ID'), ['class' => 'form-label']) }} {{ Form::text('payhere_merchant_id', isset($company_payment_setting['payhere_merchant_id']) ? $company_payment_setting['payhere_merchant_id'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant ID')]) }}
@if ($errors->has('payhere_merchant_id')) {{ $errors->first('payhere_merchant_id') }} @endif
{{ Form::label('payhere_merchant_secret', __('Merchant Secret'), ['class' => 'form-label']) }} {{ Form::text('payhere_merchant_secret', isset($company_payment_setting['payhere_merchant_secret']) ? $company_payment_setting['payhere_merchant_secret'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Secret')]) }}
@if ($errors->has('payhere_merchant_secret')) {{ $errors->first('payhere_merchant_secret') }} @endif
{{ Form::label('payhere_app_id', __('App ID'), ['class' => 'form-label']) }} {{ Form::text('payhere_app_id', isset($company_payment_setting['payhere_app_id']) ? $company_payment_setting['payhere_app_id'] : '', ['class' => 'form-control', 'placeholder' => __('App ID')]) }}
@if ($errors->has('payhere_app_id')) {{ $errors->first('payhere_app_id') }} @endif
{{ Form::label('payhere_app_secret', __('App Secret'), ['class' => 'form-label']) }} {{ Form::text('payhere_app_secret', isset($company_payment_setting['payhere_app_secret']) ? $company_payment_setting['payhere_app_secret'] : '', ['class' => 'form-control', 'placeholder' => __('App Secret')]) }}
@if ($errors->has('payhere_app_secret')) {{ $errors->first('payhere_app_secret') }} @endif
{{-- Tap --}}

{{ Form::label('company_tap_secret_key', __('Secret Key'), ['class' => 'form-label']) }} {{ Form::text('company_tap_secret_key', isset($company_payment_setting['company_tap_secret_key']) ? $company_payment_setting['company_tap_secret_key'] : '', ['class' => 'form-control', 'placeholder' => __('Secret Key')]) }}
@if ($errors->has('company_tap_secret_key')) {{ $errors->first('company_tap_secret_key') }} @endif
{{-- AuthorizeNet --}}


{{ Form::label('company_authorizenet_client_id', __('Merchant Login Id'), ['class' => 'form-label']) }} {{ Form::text('company_authorizenet_client_id', isset($company_payment_setting['company_authorizenet_client_id']) ? $company_payment_setting['company_authorizenet_client_id'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Login Id')]) }}
@if ($errors->has('company_authorizenet_client_id')) {{ $errors->first('company_authorizenet_client_id') }} @endif
{{ Form::label('company_authorizenet_secret_key', __('Merchant Transaction Key'), ['class' => 'form-label']) }} {{ Form::text('company_authorizenet_secret_key', isset($company_payment_setting['company_authorizenet_secret_key']) ? $company_payment_setting['company_authorizenet_secret_key'] : '', ['class' => 'form-control', 'placeholder' => __('Merchant Transaction Key')]) }}
@if ($errors->has('company_authorizenet_secret_key')) {{ $errors->first('company_authorizenet_secret_key') }} @endif
{{-- Khalti --}} {{--

{{ Form::label('khalti_public_key', __('Public Key'), ['class' => 'form-label']) }} {{ Form::text('khalti_public_key', isset($company_payment_setting['khalti_public_key']) ? $company_payment_setting['khalti_public_key'] : '', ['class' => 'form-control', 'placeholder' => __('Public Key')]) }}
@if ($errors->has('khalti_public_key')) {{ $errors->first('khalti_public_key') }} @endif
{{ Form::label('khalti_secret_key', __('Secret Key'), ['class' => 'form-label']) }} {{ Form::text('khalti_secret_key', isset($company_payment_setting['khalti_secret_key']) ? $company_payment_setting['khalti_secret_key'] : '', ['class' => 'form-control', 'placeholder' => __('Secret Key')]) }}
@if ($errors->has('khalti_secret_key')) {{ $errors->first('khalti_secret_key') }} @endif
--}}
{{ __('Zoom Settings') }}
{{ __('Edit your Zoom settings') }}
{{ Form::model($setting, ['route' => 'zoom.settings', 'method' => 'post']) }}

{{ Form::text('zoom_account_id', isset($setting['zoom_account_id']) ? $setting['zoom_account_id'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Zoom Accound Id')]) }}

{{ Form::text('zoom_client_id', isset($setting['zoom_client_id']) ? $setting['zoom_client_id'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Zoom Client Id')]) }}

{{ Form::text('zoom_client_secret', isset($setting['zoom_client_secret']) ? $setting['zoom_client_secret'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Zoom Client Secret Key')]) }}
{{ Form::close() }}
{{ __('Slack Settings') }}
{{ __('Edit your Slack settings') }}
{{ Form::open(['route' => 'slack.settings', 'id' => 'slack-setting', 'method' => 'post', 'class' => 'd-contents']) }}

{{ Form::text('slack_webhook', isset($comSetting['slack_webhook']) ? $comSetting['slack_webhook'] : '', ['class' => 'form-control w-100', 'placeholder' => __('Enter Slack Webhook URL'), 'required' => 'required']) }}
{{ __('Module Settings') }}
  • {{ __('New Lead') }} {{ Form::checkbox('lead_notification', '1', isset($comSetting['lead_notification']) && $comSetting['lead_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'lead_notification']) }}
  • {{ __('New Deal') }} {{ Form::checkbox('deal_notification', '1', isset($comSetting['deal_notification']) && $comSetting['deal_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'deal_notification']) }}
  • {{ __('Lead to Deal Conversion') }} {{ Form::checkbox('leadtodeal_notification', '1', isset($comSetting['leadtodeal_notification']) && $comSetting['leadtodeal_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'leadtodeal_notification']) }}
  • {{ __('New Contract') }} {{ Form::checkbox('contract_notification', '1', isset($comSetting['contract_notification']) && $comSetting['contract_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'contract_notification']) }}
  • {{ __('New Project') }} {{ Form::checkbox('project_notification', '1', isset($comSetting['project_notification']) && $comSetting['project_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'project_notification']) }}
  • {{ __('New Task') }} {{ Form::checkbox('task_notification', '1', isset($comSetting['task_notification']) && $comSetting['task_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'task_notification']) }}
  • {{ __('Task Stage Updated') }} {{ Form::checkbox('taskmove_notification', '1', isset($comSetting['taskmove_notification']) && $comSetting['taskmove_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'taskmove_notification']) }}
  • {{ __('New Task Comment') }} {{ Form::checkbox('taskcomment_notification', '1', isset($comSetting['taskcomment_notification']) && $comSetting['taskcomment_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'taskcomment_notification']) }}
  • {{ __('New Monthly Payslip') }} {{ Form::checkbox('payslip_notification', '1', isset($comSetting['payslip_notification']) && $comSetting['payslip_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'payslip_notification']) }}
  • {{ __('New Award') }} {{ Form::checkbox('award_notification', '1', isset($comSetting['award_notification']) && $comSetting['award_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'award_notification']) }}
  • {{ __('New Announcement') }} {{ Form::checkbox('announcement_notification', '1', isset($comSetting['announcement_notification']) && $comSetting['announcement_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'announcement_notification']) }}
  • {{ __('New Holiday') }} {{ Form::checkbox('holiday_notification', '1', isset($comSetting['holiday_notification']) && $comSetting['holiday_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'holiday_notification']) }}
  • {{ __('New Support Ticket') }} {{ Form::checkbox('support_notification', '1', isset($comSetting['support_notification']) && $comSetting['support_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'support_notification']) }}
  • {{ __('New Event') }} {{ Form::checkbox('event_notification', '1', isset($comSetting['event_notification']) && $comSetting['event_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'event_notification']) }}
  • {{ __('New Meeting') }} {{ Form::checkbox('meeting_notification', '1', isset($comSetting['meeting_notification']) && $comSetting['meeting_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'meeting_notification']) }}
  • {{ __('New Company Policy') }} {{ Form::checkbox('policy_notification', '1', isset($comSetting['policy_notification']) && $comSetting['policy_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'policy_notification']) }}
  • {{ __('New Invoice') }} {{ Form::checkbox('invoice_notification', '1', isset($comSetting['invoice_notification']) && $comSetting['invoice_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'invoice_notification']) }}
  • {{ __('New Revenue') }} {{ Form::checkbox('revenue_notification', '1', isset($comSetting['revenue_notification']) && $comSetting['revenue_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'revenue_notification']) }}
  • {{ __('New Bill') }} {{ Form::checkbox('bill_notification', '1', isset($comSetting['bill_notification']) && $comSetting['bill_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'bill_notification']) }}
  • {{ __('New Invoice Payment') }} {{ Form::checkbox('payment_notification', '1', isset($comSetting['payment_notification']) && $comSetting['payment_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'payment_notification']) }}
  • {{ __('New Budget') }} {{ Form::checkbox('budget_notification', '1', isset($comSetting['budget_notification']) && $comSetting['budget_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'budget_notification']) }}
{{ Form::close() }}
{{ __('Telegram Settings') }}
{{ __('Edit your Telegram settings') }}
{{ Form::open(['route' => 'telegram.settings', 'id' => 'telegram-setting', 'method' => 'post', 'class' => 'd-contents']) }}

{{ Form::text('telegram_accestoken', isset($comSetting['telegram_accestoken']) ? $comSetting['telegram_accestoken'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Telegram AccessToken')]) }}

{{ Form::text('telegram_chatid', isset($comSetting['telegram_chatid']) ? $comSetting['telegram_chatid'] : '', ['class' => 'form-control', 'placeholder' => __('Enter Telegram ChatID')]) }}
{{ __('Module Settings') }}
  • {{ __('New Lead') }} {{ Form::checkbox('telegram_lead_notification', '1', isset($comSetting['telegram_lead_notification']) && $comSetting['telegram_lead_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_lead_notification']) }}
  • {{ __('New Deal') }} {{ Form::checkbox('telegram_deal_notification', '1', isset($comSetting['telegram_deal_notification']) && $comSetting['telegram_deal_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_deal_notification']) }}
  • {{ __('Lead to Deal Conversion') }} {{ Form::checkbox('telegram_leadtodeal_notification', '1', isset($comSetting['telegram_leadtodeal_notification']) && $comSetting['telegram_leadtodeal_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_leadtodeal_notification']) }}
  • {{ __('New Contract') }} {{ Form::checkbox('telegram_contract_notification', '1', isset($comSetting['telegram_contract_notification']) && $comSetting['telegram_contract_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_contract_notification']) }}
  • {{ __('New Project') }} {{ Form::checkbox('telegram_project_notification', '1', isset($comSetting['telegram_project_notification']) && $comSetting['telegram_project_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_project_notification']) }}
  • {{ __('New Task') }} {{ Form::checkbox('telegram_task_notification', '1', isset($comSetting['telegram_task_notification']) && $comSetting['telegram_task_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_task_notification']) }}
  • {{ __('Task Stage Updated') }} {{ Form::checkbox('telegram_taskmove_notification', '1', isset($comSetting['telegram_taskmove_notification']) && $comSetting['telegram_taskmove_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_taskmove_notification']) }}
  • {{ __('New Task Comment') }} {{ Form::checkbox('telegram_taskcomment_notification', '1', isset($comSetting['telegram_taskcomment_notification']) && $comSetting['telegram_taskcomment_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_taskcomment_notification']) }}
  • {{ __('New Monthly Payslip') }} {{ Form::checkbox('telegram_payslip_notification', '1', isset($comSetting['telegram_payslip_notification']) && $comSetting['telegram_payslip_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_payslip_notification']) }}
  • {{ __('New Award') }} {{ Form::checkbox('telegram_award_notification', '1', isset($comSetting['telegram_award_notification']) && $comSetting['telegram_award_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_award_notification']) }}
  • {{ __('New Announcement') }} {{ Form::checkbox('telegram_announcement_notification', '1', isset($comSetting['telegram_announcement_notification']) && $comSetting['telegram_announcement_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_announcement_notification']) }}
  • {{ __('New Holiday') }} {{ Form::checkbox('telegram_holiday_notification', '1', isset($comSetting['telegram_holiday_notification']) && $comSetting['telegram_holiday_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_holiday_notification']) }}
  • {{ __('New Support Ticket') }} {{ Form::checkbox('telegram_support_notification', '1', isset($comSetting['telegram_support_notification']) && $comSetting['telegram_support_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_support_notification']) }}
  • {{ __('New Event') }} {{ Form::checkbox('telegram_event_notification', '1', isset($comSetting['telegram_event_notification']) && $comSetting['telegram_event_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_event_notification']) }}
  • {{ __('New Meeting') }} {{ Form::checkbox('telegram_meeting_notification', '1', isset($comSetting['telegram_meeting_notification']) && $comSetting['telegram_meeting_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_meeting_notification']) }}
  • {{ __('New Company Policy') }} {{ Form::checkbox('telegram_policy_notification', '1', isset($comSetting['telegram_policy_notification']) && $comSetting['telegram_policy_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_policy_notification']) }}
  • {{ __('New Invoice') }} {{ Form::checkbox('telegram_invoice_notification', '1', isset($comSetting['telegram_invoice_notification']) && $comSetting['telegram_invoice_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_invoice_notification']) }}
  • {{ __('New Revenue') }} {{ Form::checkbox('telegram_revenue_notification', '1', isset($comSetting['telegram_revenue_notification']) && $comSetting['telegram_revenue_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_revenue_notification']) }}
  • {{ __('New Bill') }} {{ Form::checkbox('telegram_bill_notification', '1', isset($comSetting['telegram_bill_notification']) && $comSetting['telegram_bill_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_bill_notification']) }}
  • {{ __('New Invoice Payment') }} {{ Form::checkbox('telegram_payment_notification', '1', isset($comSetting['telegram_payment_notification']) && $comSetting['telegram_payment_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_payment_notification']) }}
  • {{ __('New Budget') }} {{ Form::checkbox('telegram_budget_notification', '1', isset($comSetting['telegram_budget_notification']) && $comSetting['telegram_budget_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'telegram_budget_notification']) }}
{{ Form::close() }}
{{ __('Twilio Settings') }}
{{ __('Edit your Twilio settings') }}
{{ Form::model($setting, ['route' => 'twilio.setting', 'method' => 'post']) }}
{{ Form::label('twilio_sid', __('Twilio SID '), ['class' => 'form-label']) }} {{ Form::text('twilio_sid', isset($comSetting['twilio_sid']) ? $comSetting['twilio_sid'] : '', ['class' => 'form-control w-100', 'placeholder' => __('Enter Twilio SID'), 'required' => 'required']) }} @error('twilio_sid') {{ $message }} @enderror
{{ Form::label('twilio_token', __('Twilio Token'), ['class' => 'form-label']) }} {{ Form::text('twilio_token', isset($comSetting['twilio_token']) ? $comSetting['twilio_token'] : '', ['class' => 'form-control w-100', 'placeholder' => __('Enter Twilio Token'), 'required' => 'required']) }} @error('twilio_token') {{ $message }} @enderror
{{ Form::label('twilio_from', __('Twilio From'), ['class' => 'form-label']) }} {{ Form::text('twilio_from', isset($comSetting['twilio_from']) ? $comSetting['twilio_from'] : '', ['class' => 'form-control w-100', 'placeholder' => __('Enter Twilio From'), 'required' => 'required']) }} @error('twilio_from') {{ $message }} @enderror
{{ __('Module Settings') }}
  • {{ __('New Customer') }} {{ Form::checkbox('twilio_customer_notification', '1', isset($comSetting['twilio_customer_notification']) && $comSetting['twilio_customer_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_customer_notification']) }}
  • {{ __('New Vendor') }} {{ Form::checkbox('twilio_vender_notification', '1', isset($comSetting['twilio_vender_notification']) && $comSetting['twilio_vender_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_vender_notification']) }}
  • {{ __('New Invoice') }} {{ Form::checkbox('twilio_invoice_notification', '1', isset($comSetting['twilio_invoice_notification']) && $comSetting['twilio_invoice_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_invoice_notification']) }}
  • {{ __('New Revenue') }} {{ Form::checkbox('twilio_revenue_notification', '1', isset($comSetting['twilio_revenue_notification']) && $comSetting['twilio_revenue_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_revenue_notification']) }}
  • {{ __('New Bill') }} {{ Form::checkbox('twilio_bill_notification', '1', isset($comSetting['twilio_bill_notification']) && $comSetting['twilio_bill_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_bill_notification']) }}
  • {{ __('New Proposal') }} {{ Form::checkbox('twilio_proposal_notification', '1', isset($comSetting['twilio_proposal_notification']) && $comSetting['twilio_proposal_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_proposal_notification']) }}
  • {{ __('New Payment') }} {{ Form::checkbox('twilio_payment_notification', '1', isset($comSetting['twilio_payment_notification']) && $comSetting['twilio_payment_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_payment_notification']) }}
  • {{ __('Invoice Reminder') }} {{ Form::checkbox('twilio_reminder_notification', '1', isset($comSetting['twilio_reminder_notification']) && $comSetting['twilio_reminder_notification'] == '1' ? 'checked' : '', ['class' => 'form-check-input', 'id' => 'twilio_reminder_notification']) }}
{{ Form::close() }}
{{ __('Email Notification Settings') }}
{{ __('Edit email notification settings') }}
{{ Form::model($setting, ['route' => ['status.email.language'], 'method' => 'post']) }} @csrf
@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:''])}}" /> --}} {{-- --}} template->is_active == 1) checked="checked" @endif type="checkbox" value="1" data-url="{{ route('status.email.language', [$EmailTemplate->template->id]) }}" />
@endforeach
{{ Form::close() }}
{{ __('Offer Letter Settings') }}
{{ __('Placeholders') }}

{{ __('Applicant Name') }} : {applicant_name}

{{ __('Company Name') }} : {app_name}

{{ __('Job title') }} : {job_title}

{{ __('Job type') }} : {job_type}

{{ __('Proposed Start Date') }} : {start_date}

{{ __('Working Location') }} : {workplace_location}

{{ __('Days Of Week') }} : {days_of_week}

{{ __('Salary') }} : {salary}

{{ __('Salary Type') }} : {salary_type}

{{ __('Salary Duration') }} : {salary_duration}

{{ __('Offer Expiration Date') }} : {offer_expiration_date}

{{ Form::open(['route' => ['offerlatter.update', $offerlang], 'method' => 'post']) }}
{{ Form::label('content', __(' Format'), ['class' => 'form-label text-dark']) }}
{{-- --}} {{ Form::close() }}
{{ __('Joining Letter Settings') }}
{{ __('Placeholders') }}

{{ __('Applicant Name') }} : {date}

{{ __('Company Name') }} : {app_name}

{{ __('Employee Name') }} : {employee_name}

{{ __('Address') }} : {address}

{{ __('Designation') }} : {designation}

{{ __('Start Date') }} : {start_date}

{{ __('Branch') }} : {branch}

{{ __('Start Time') }} : {start_time}

{{ __('End Time') }} : {end_time}

{{ __('Number of Hours') }} : {total_hours}

{{ Form::open(['route' => ['joiningletter.update', $joininglang], 'method' => 'post']) }}
{{ Form::label('content', __(' Format'), ['class' => 'form-label text-dark']) }}
{{ Form::close() }}
{{ __('Experience Certificate Settings') }}
{{ __('Placeholders') }}

{{ __('Company Name') }} : {app_name}

{{ __('Employee Name') }} : {employee_name}

{{ __('Date of Issuance') }} : {date}

{{ __('Designation') }} : {designation}

{{ __('Start Date') }} : {start_date}

{{ __('Branch') }} : {branch}

{{ __('Start Time') }} : {start_time}

{{ __('End Time') }} : {end_time}

{{ __('Number of Hours') }} : {total_hours}

{{ Form::open(['route' => ['experiencecertificate.update', $explang], 'method' => 'post']) }}
{{ Form::label('content', __(' Format'), ['class' => 'form-label text-dark']) }}
{{ Form::close() }}
{{ __('NOC Settings') }}
{{ __('Placeholders') }}

{{ __('Date') }} : {date}

{{ __('Company Name') }} : {app_name}

{{ __('Employee Name') }} : {employee_name}

{{ __('Designation') }} : {designation}

{{ Form::open(['route' => ['noc.update', $noclang], 'method' => 'post']) }}
{{ Form::label('content', __(' Format'), ['class' => 'form-label text-dark']) }}
{{ Form::close() }}
{{ Form::open(['url' => route('google.calender.settings'), 'enctype' => 'multipart/form-data']) }}
{{ __('Google Calendar Settings') }}
{{ Form::label('Google calendar id', __('Google Calendar Id'), ['class' => 'col-form-label']) }} {{ Form::text('google_clender_id', !empty($setting['google_clender_id']) ? $setting['google_clender_id'] : '', ['class' => 'form-control ', 'placeholder' => 'Google Calendar Id', 'required' => 'required']) }}
{{ Form::label('Google calendar json file', __('Google Calendar json File'), ['class' => 'col-form-label']) }} {{-- {{Form::text('zoom_secret_key', !empty($settings['zoom_secret_key']) ? $settings['zoom_secret_key'] : '' ,array('class'=>'form-control', 'placeholder'=>'Google Calendar json File'))}} --}}
{{ Form::close() }}
{{ __('Webhook Settings') }}
@can('create webhook') @endcan
@forelse ($webhookSetting as $webhooksetting) @empty @endforelse
{{ __('Module') }} {{ __('Url') }} {{ __('Method') }} {{ __('Action') }}
{{ ucwords($webhooksetting->module) }} {{ $webhooksetting->url }} {{ ucwords($webhooksetting->method) }} @can('edit webhook') @endcan @can('delete webhook')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['webhook.destroy', $webhooksetting->id], 'id' => 'delete-form-' . $webhooksetting->id, ]) !!} {!! Form::close() !!}
@endcan
{{ __('No Data Found.!') }}
{{ __('IP Restriction Settings') }}
@can('create webhook') @endcan
@forelse ($ips as $ip) @empty @endforelse
{{ __('IP') }} {{ __('Action') }}
{{ $ip->ip }} @can('edit webhook') @endcan @can('delete webhook')
{!! Form::open(['method' => 'DELETE', 'route' => ['destroy.ip', $ip->id], 'id' => 'delete-form-' . $ip->id]) !!} {!! Form::close() !!}
@endcan
{{ __('No Data Found.!') }}
{{-- Biometric Attendance Seetings --}}
{{ Form::open(['route' => ['biometric-settings.store'], 'method' => 'post']) }}
{{ __('Biometric Attendance') }}
{{ __('Note') }}: {{ __('Note that you can use the biometric attendance system only if you are using the ZKTeco machine for biometric attendance.') }}
{{ Form::label('zkteco_api_url', __('ZKTeco Api URL'), ['class' => 'col-form-label']) }} {{ Form::text('zkteco_api_url', !empty($setting['zkteco_api_url']) ? $setting['zkteco_api_url'] : '', ['class' => 'form-control ', 'placeholder' => 'ZKTeco Api URL', 'required' => 'required']) }} {{ __('Example:') }} http://110.78.645.123:8080
{{ Form::label('username', __('Username'), ['class' => 'col-form-label']) }} {{ Form::text('username', !empty($setting['username']) ? $setting['username'] : '', ['class' => 'form-control ', 'placeholder' => 'Username', 'required' => 'required']) }}
{{ Form::label('user_password', __('Password'), ['class' => 'col-form-label']) }} {{ Form::text('user_password', !empty($setting['user_password']) ? $setting['user_password'] : '', ['class' => 'form-control ', 'placeholder' => 'Password', 'required' => 'required']) }}
{{ Form::label('auth_token', __('Auth Token'), ['class' => 'form-label']) }} @if (empty($setting['auth_token'])) {{ __('Please first generate auth token.') }} @endif {{ Form::textarea('', !empty($setting['auth_token']) ? $setting['auth_token'] : null, ['class' => 'form-control font-style', 'disabled' => 'disabled', 'rows' => 3]) }}
{{ Form::close() }}
@endsection