PATH:
home
/
rwabteecom
/
public_html
/
storage
/
framework
/
views
/
Editing: a81cd55677265fb886dc0545fe9af678.php
<?php $__env->startSection('section'); ?> <div class="card w-100"> <div class="card-body d-flex"> <div class=""> <div class=""> <?php echo $__env->make('user-settings.setting_menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <div class="w-100"> <button type="button" class="btn px-0 aside-menu-container__aside-menubar d-block d-xl-none d-lg-none d-block edit-menu" onclick="openNav()"> <i class="fa-solid fa-bars fs-1"></i> </button> <div class="card-body p-3"> <?php echo e(Form::open(['route' => 'user.setting.update', 'id' => 'UserCredentialsSettings', 'files' => true, 'class' => 'form'])); ?> <?php echo e(Form::hidden('sectionName', $sectionName)); ?> <div class="row"> <div class="row"> <?php if(checkFeature('affiliation')): ?> <div class="form-group col-sm-6 mb-5"> <?php echo e(Form::label('paypal_email', __('messages.setting.paypal_payout_email') . ':')); ?> <?php echo e(Form::email('paypal_email', !empty($setting['paypal_email']) ? $setting['paypal_email'] : null, ['class' => 'form-control mt-2', 'id' => 'paypalEmail', 'placeholder' => __('messages.setting.paypal_payout_email')])); ?> </div> <?php endif; ?> <div class="form-group col-sm-6 mb-5"> <?php echo e(Form::label('currency', __('messages.setting.currency') . ':', ['class' => 'form-label required'])); ?> <div class="input-group "> <?php echo e(Form::select('currency_id', getCurrencies(), !empty($setting['currency_id']) ? $setting['currency_id'] : null, ['class' => 'form-control', 'required', 'data-control' => 'select2', 'id' => 'userCurrencySettingId', 'placeholder' => __('messages.setting.select_currency')])); ?> </div> </div> <div class="form-group col-sm-6 mb-5"> <?php echo e(Form::label('subscription_model_time', __('messages.setting.subscription_time') . ':', ['class' => 'form-label'])); ?> <?php echo e(Form::text('subscription_model_time', isset($setting['subscription_model_time']) ? $setting['subscription_model_time'] : 5, ['class' => 'form-control', 'id' => 'subscription_model_time', 'placeholder' => __('messages.setting.subscription_time')])); ?> </div> <div class="form-group col-sm-6 mb-5"> <label for="time_format" class="form-label required text-gray-700 mb-3"><?php echo e(__('messages.placeholder.time_format')); ?> :</label> <div class="radio-button-group"> <div class="btn-group btn-group-toggle m-0" data-toggle="buttons"> <input type="radio" name="time_format" id="time_format-0" value="0" checked="" <?php echo e(!empty($setting['time_format']) == \App\Models\UserSetting::HOUR_12 ? 'checked' : ''); ?>> <label for="time_format-0" class="me-2" role="button"><?php echo e(__('messages.placeholder.12_hour')); ?></label> <input type="radio" name="time_format" id="time_format-1" value="1" <?php echo e(!empty($setting['time_format']) == \App\Models\UserSetting::HOUR_24 ? 'checked' : ''); ?>> <label for="time_format-1" role="button"><?php echo e(__('messages.placeholder.24_hour')); ?></label> </div> </div> </div> <div class="row"> <div class="form-group col-sm-3 mb-5"> <div class="form-group mb-3"> <?php echo e(Form::label('inquiryEnable', __('messages.setting.enable_attachment_for_inquiry') . ':', ['class' => 'form-label mb-3'])); ?> <label class="form-check form-switch form-switch-sm cursor-pointer"> <input type="checkbox" name="enable_attachment_for_inquiry" class="form-check-input enable-inquiry" value="1" <?php echo e(!empty($setting['enable_attachment_for_inquiry']) == '1' ? 'checked' : ''); ?> id="inquiryEnable"> <span class="form-check-label text-gray-600" for="inquiryEnable"><?php echo e(__('messages.setting.enable_attachment_for_inquiry')); ?></span> </label> </div> </div> <div class="form-group col-sm-4 mb-5"> <div class="form-group mb-3"> <?php echo e(Form::label('askDetailsBeforeDownloadContact', __('messages.setting.ask_details_before_downloading_contact') . ':', ['class' => 'form-label mb-3'])); ?> <label class="form-check form-switch form-switch-sm cursor-pointer"> <input type="checkbox" name="ask_details_before_downloading_contact" class="form-check-input ask-details-before-download-contact" value="1" <?php echo e(!empty($setting['ask_details_before_downloading_contact']) == '1' ? 'checked' : ''); ?> id="askDetailsBeforeDownloadContact"> <span class="form-check-label text-gray-600" for="askDetailsBeforeDownloadContact"><?php echo e(__('messages.setting.ask_details_before_downloading_contact')); ?></span> </label> </div> </div> <div class="form-group col-sm-5 mb-5"> <?php echo e(Form::label('sendMailToCustomer', __('messages.setting.send_email_to_customer') . ':', ['class' => 'form-label mb-3'])); ?> <label class="form-check form-switch form-switch-sm cursor-pointer"> <input type="checkbox" name="product_order_send_mail_customer" class="form-check-input" value="1" <?php echo e(getUserSettingValue('product_order_send_mail_customer', getLogInUserId()) ? 'checked' : ''); ?> id="sendMailToCustomer"> <span class="form-check-label text-gray-600" for="sendMailToCustomer"> <?php echo e(__('messages.setting.send_email_to_customer')); ?> </span> </label> </div> <div class="form-group col-sm-5 mb-5"> <?php echo e(Form::label('sendMailToUser', __('messages.setting.send_email_to_user') . ':', ['class' => 'form-label mb-3'])); ?> <label class="form-check form-switch form-switch-sm cursor-pointer"> <input type="checkbox" name="product_order_send_mail_user" class="form-check-input" value="1" <?php echo e(getUserSettingValue('product_order_send_mail_user', getLogInUserId()) ? 'checked' : ''); ?> id="sendMailToUser"> <span class="form-check-label text-gray-600" for="sendMailToUser"> <?php echo e(__('messages.setting.send_email_to_user')); ?> </span> </label> </div> <div class="form-group col-sm-3 mb-5"> <div class="form-group mb-3"> <?php echo e(Form::label('pwaEnable', __('messages.setting.enable_pwa') . ':', ['class' => 'form-label mb-3'])); ?> <label class="form-check form-switch form-switch-sm cursor-pointer"> <input type="checkbox" name="enable_pwa" class="form-check-input pwa-enable" value="1" <?php echo e(!empty($setting['enable_pwa']) == '1' ? 'checked' : ''); ?> id="pwaEnable"> <span class="form-check-label text-gray-600" for="pwaEnable"><?php echo e(__('messages.setting.enable_pwa')); ?></span> </label> </div> </div> <div class="form-group col-sm-3 mb-3 pwa-div <?php echo e(!empty($setting['enable_pwa']) == '1' ? '' : 'd-none'); ?>"> <div class="mb-3" io-image-input="true"> <label for="pwaPreview" class="form-label fw-bolder"> <?php echo e(__('messages.pwa.pwa_icon') . ':'); ?></label> <span data-bs-toggle="tooltip" data-placement="top" data-bs-original-title="<?php echo e(__('messages.pwa.pwa_icon_size')); ?>"> <i class="fas fa-question-circle ml-1 mt-1 general-question-mark"></i> </span> <div class="d-block"> <div class="image-picker"> <div class="image previewImage" id="pwaPreview" style="background-image: url('<?php echo e(isset($setting['pwa_icon']) ? $setting['pwa_icon'] : asset('web/media/logo/favicon-infyom.png')); ?>');"> </div> <span class="picker-edit rounded-circle text-gray-500 fs-small" data-bs-toggle="tooltip" data-placement="top" data-bs-original-title="<?php echo e(__('messages.pwa.pwa_icon_change')); ?>"> <label> <i class="fa-solid fa-pen" id="profileImageIcon"></i> <input type="file" id="favicon" name="pwa_icon" class="image-upload d-none" accept="image/*" /> </label> </span> </div> </div> </div> </div> </div> </div> </div> <button type="submit" class="btn btn-primary" id="userCredentialSettingBtn"><?php echo e(__('messages.common.save')); ?></button> <?php echo e(Form::close()); ?> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php echo $__env->make('settings.edit', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/rwabteecom/public_html/resources/views/user-settings/general.blade.php ENDPATH**/ ?>
SAVE
CANCEL