File manager - Edit - /var/www/payraty/accounting_main/storage/framework/views/295bc2fd87ddc361cfe977c7ca8a58e0.php
Back
<?php use App\Models\Utility; $logo = Utility::get_file('uploads/logo/'); $logo_light = Utility::getValByName('company_logo_light'); $logo_dark = Utility::getValByName('company_logo_dark'); $company_favicon = Utility::getValByName('company_favicon'); $EmailTemplates = App\Models\EmailTemplate::all(); $setting = App\Models\Utility::settings(); $lang = Utility::getValByName('company_default_language'); $color = !empty($setting['color']) ? $setting['color'] : 'theme-3'; $flag = !empty($setting['color_flag']) ? $setting['color_flag'] : 'false'; ?> <?php $__env->startPush('script-page'); ?> <script type="text/javascript"> $(".email-template-checkbox").click(function() { var chbox = $(this); $.ajax({ url: chbox.attr('data-url'), data: { _token: $('meta[name="csrf-token"]').attr('content'), status: chbox.val() }, type: 'post', success: function(response) { if (response.is_success) { - // show_toastr('success', '<?php echo e(__('Link Copy on Clipboard')); ?>'); show_toastr('success', response.success, 'success'); if (chbox.val() == 1) { $('#' + chbox.attr('id')).val(0); } else { $('#' + chbox.attr('id')).val(1); } } else { show_toastr('error', response.error, 'error'); } }, error: function(response) { response = response.responseJSON; if (response.is_success) { show_toastr('error', response.error, 'error'); } else { show_toastr('error', response, 'error'); } } }) }); </script> <script> var scrollSpy = new bootstrap.ScrollSpy(document.body, { target: '#useradd-sidenav', offset: 300 }) var themescolors = document.querySelectorAll(".themes-color > a"); for (var h = 0; h < themescolors.length; h++) { var c = themescolors[h]; c.addEventListener("click", function(event) { var targetElement = event.target; if (targetElement.tagName == "SPAN") { targetElement = targetElement.parentNode; } var temp = targetElement.getAttribute("data-value"); removeClassByPrefix(document.querySelector("body"), "theme-"); document.querySelector("body").classList.add(temp); }); } function check_theme(color_val) { $('input[value="' + color_val + '"]').prop('checked', true); $('a[data-value]').removeClass('active_color'); $('a[data-value="' + color_val + '"]').addClass('active_color'); } if ($('#cust-darklayout').length > 0) { var custthemedark = document.querySelector("#cust-darklayout"); custthemedark.addEventListener("click", function() { if (custthemedark.checked) { document.querySelector("#style").setAttribute("href", "<?php echo e(asset('assets/css/style-dark.css')); ?>"); $('.dash-sidebar .main-logo a img').attr('src', '<?php echo e($logo . $logo_light); ?>'); } else { document.querySelector("#style").setAttribute("href", "<?php echo e(asset('assets/css/style.css')); ?>"); $('.dash-sidebar .main-logo a img').attr('src', '<?php echo e($logo . $logo_dark); ?>'); } }); } if ($('#cust-theme-bg').length > 0) { var custthemebg = document.querySelector("#cust-theme-bg"); custthemebg.addEventListener("click", function() { if (custthemebg.checked) { document.querySelector(".dash-sidebar").classList.add("transprent-bg"); document .querySelector(".dash-header:not(.dash-mob-header)") .classList.add("transprent-bg"); } else { document.querySelector(".dash-sidebar").classList.remove("transprent-bg"); document .querySelector(".dash-header:not(.dash-mob-header)") .classList.remove("transprent-bg"); } }); } </script> <script> $(document).on("change", "select[name='invoice_template'], input[name='invoice_color']", function() { var template = $("select[name='invoice_template']").val(); var color = $("input[name='invoice_color']:checked").val(); $('#invoice_frame').attr('src', '<?php echo e(url('/invoices/preview')); ?>/' + template + '/' + color); }); $(document).on("change", "select[name='proposal_template'], input[name='proposal_color']", function() { var template = $("select[name='proposal_template']").val(); var color = $("input[name='proposal_color']:checked").val(); $('#proposal_frame').attr('src', '<?php echo e(url('/proposal/preview')); ?>/' + template + '/' + color); }); $(document).on("change", "select[name='bill_template'], input[name='bill_color']", function() { var template = $("select[name='bill_template']").val(); var color = $("input[name='bill_color']:checked").val(); $('#bill_frame').attr('src', '<?php echo e(url('/bill/preview')); ?>/' + template + '/' + color); }); $(document).on("change", "select[name='retainer_template'], input[name='retainer_color']", function() { var template = $("select[name='retainer_template']").val(); var color = $("input[name='retainer_color']:checked").val(); $('#retainer_frame').attr('src', '<?php echo e(url('/retainer/preview')); ?>/' + template + '/' + color); }); </script> <script> $(".list-group-item").click(function() { $('.list-group-item').filter(function() { return this.href == id; }).parent().removeClass('text-primary'); }); function check_theme(color_val) { $('#theme_color').prop('checked', false); $('input[value="' + color_val + '"]').prop('checked', true); } $(document).on('change', '[name=storage_setting]', function() { if ($(this).val() == 's3') { $('.s3-setting').removeClass('d-none'); $('.wasabi-setting').addClass('d-none'); $('.local-setting').addClass('d-none'); } else if ($(this).val() == 'wasabi') { $('.s3-setting').addClass('d-none'); $('.wasabi-setting').removeClass('d-none'); $('.local-setting').addClass('d-none'); } else { $('.s3-setting').addClass('d-none'); $('.wasabi-setting').addClass('d-none'); $('.local-setting').removeClass('d-none'); } }); </script> <script type="text/javascript"> $(document).ready(function() { var checkBox = document.getElementById('tax_number'); // Check if the element is selected/checked if (checkBox.checked) { $('#tax_checkbox_id').removeClass('d-none'); } else { $('#tax_checkbox_id').addClass('d-none'); } $(document).on('change', '#tax_number', function() { if ($(this).is(':checked') == true) { $('#tax_checkbox_id').removeClass('d-none'); } else { $('#tax_checkbox_id').addClass('d-none'); } }); }); </script> <script> $(document).on("click", '.send_email', function(e) { e.preventDefault(); var title = $(this).attr('data-title'); var size = 'md'; var url = $(this).attr('data-url'); if (typeof url != 'undefined') { $("#commonModal .modal-title").html(title); $("#commonModal .modal-dialog").addClass('modal-' + size); $("#commonModal").modal('show'); $.post(url, { _token: '<?php echo e(csrf_token()); ?>', mail_driver: $("#mail_driver").val(), mail_host: $("#mail_host").val(), mail_port: $("#mail_port").val(), mail_username: $("#mail_username").val(), mail_password: $("#mail_password").val(), mail_encryption: $("#mail_encryption").val(), mail_from_address: $("#mail_from_address").val(), mail_from_name: $("#mail_from_name").val(), }, function(data) { $('#commonModal .body').html(data); }); } }); $(document).on('submit', '#test_email', function(e) { e.preventDefault(); $("#email_sending").show(); var post = $(this).serialize(); var url = $(this).attr('action'); $.ajax({ type: "post", url: url, data: post, cache: false, beforeSend: function() { $('#test_email .btn-create').attr('disabled', 'disabled'); }, success: function(data) { if (data.is_success) { show_toastr('success', data.message, 'success'); } else { show_toastr('error', data.message, 'error'); } $("#email_sending").hide(); $('#commonModal').modal('hide'); }, complete: function() { $('#test_email .btn-create').removeAttr('disabled'); }, }); }); </script> <?php $__env->stopPush(); ?> <?php $__env->startSection('breadcrumb'); ?> <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>"><?php echo e(__('Dashboard')); ?> / </a></li> <li class="breadcrumb-item active"><?php echo e(__('Settings')); ?></li> <?php $__env->stopSection(); ?> <?php $__env->startSection('content'); ?> <div class="row"> <!-- [ sample-page ] start --> <div class="col-sm-12"> <div class="row"> <div class="col-xl-3"> <div class="card sticky-top" style="top:30px"> <div class="list-group list-group-flush" id="useradd-sidenav"> <a href="#useradd-2" class="list-group-item list-group-item-action border-0"><?php echo e(__('System Settings')); ?> <div class="float-end"><i class="ti ti-chevron-right"></i></div> </a> <a href="#useradd-4" class="list-group-item list-group-item-action border-0"><?php echo e(__('Proposal Print Settings')); ?> <div class="float-end"><i class="ti ti-chevron-right"></i></div> </a> <a href="#useradd-10" class="list-group-item list-group-item-action border-0"><?php echo e(__('Retainer Print Settings')); ?> <div class="float-end"><i class="ti ti-chevron-right"></i></div> </a> <a href="#useradd-5" class="list-group-item list-group-item-action border-0"><?php echo e(__('Invoice Print Settings')); ?> <div class="float-end"><i class="ti ti-chevron-right"></i></div> </a> <a href="#useradd-6" class="list-group-item list-group-item-action border-0"><?php echo e(__('Bill Print Settings')); ?> <div class="float-end"><i class="ti ti-chevron-right"></i></div> </a> <a href="#useradd-7" class="list-group-item list-group-item-action border-0"><?php echo e(__('Payment Settings')); ?> <div class="float-end "><i class="ti ti-chevron-right"></i></div> </a> </div> </div> </div> <div class="col-xl-9"> <!--Business Setting--> <!--System Setting--> <div id="useradd-2" class="card"> <div class="card-header"> <h5><?php echo e(__('System Settings')); ?></h5> <small class="text-muted"><?php echo e(__('Edit your system details')); ?></small> </div> <?php echo e(Form::model($settings, ['route' => 'system.settings', 'method' => 'post'])); ?> <div class="card-body"> <div class="row"> <div class="form-group col-md-6"> <?php echo e(Form::label('site_currency', __('Currency *'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('site_currency', null, ['class' => 'form-control font-style'])); ?> <?php $__errorArgs = ['site_currency']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-site_currency" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('site_currency_symbol', __('Currency Symbol *'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('site_currency_symbol', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['site_currency_symbol']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-site_currency_symbol" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="col-md-6"> <div class="form-group"> <label class="form-label" for="example3cols3Input"><?php echo e(__('Currency Symbol Position')); ?></label> <div class="row px-3"> <div class="form-check col-md-6"> <input class="form-check-input" type="radio" name="site_currency_symbol_position" value="pre" <?php if(@$settings['site_currency_symbol_position'] == 'pre'): ?> checked <?php endif; ?> id="flexCheckDefault" checked> <label class="form-check-label" for="flexCheckDefault"> <?php echo e(__('Pre')); ?> </label> </div> <div class="form-check col-md-6"> <input class="form-check-input" type="radio" name="site_currency_symbol_position" value="post" <?php if(@$settings['site_currency_symbol_position'] == 'post'): ?> checked <?php endif; ?> id="flexCheckChecked"> <label class="form-check-label" for="flexCheckChecked"> <?php echo e(__('Post')); ?> </label> </div> </div> </div> </div> <div class="form-group col-md-6"> <label for="site_date_format" class="form-label"><?php echo e(__('Date Format')); ?></label> <select type="text" name="site_date_format" class="form-control selectric" id="site_date_format"> <option value="M j, Y" <?php if(@$settings['site_date_format'] == 'M j, Y'): ?> selected="selected" <?php endif; ?>> Jan 1,2015</option> <option value="d-m-Y" <?php if(@$settings['site_date_format'] == 'd-m-Y'): ?> selected="selected" <?php endif; ?>> dd-mm-yyyy</option> <option value="m-d-Y" <?php if(@$settings['site_date_format'] == 'm-d-Y'): ?> selected="selected" <?php endif; ?>> mm-dd-yyyy</option> <option value="Y-m-d" <?php if(@$settings['site_date_format'] == 'Y-m-d'): ?> selected="selected" <?php endif; ?>> yyyy-mm-dd</option> </select> </div> <div class="form-group col-md-6"> <label for="site_time_format" class="form-label"><?php echo e(__('Time Format')); ?></label> <select type="text" name="site_time_format" class="form-control selectric" id="site_time_format"> <option value="g:i A" <?php if(@$settings['site_time_format'] == 'g:i A'): ?> selected="selected" <?php endif; ?>> 10:30 PM</option> <option value="g:i a" <?php if(@$settings['site_time_format'] == 'g:i a'): ?> selected="selected" <?php endif; ?>> 10:30 pm</option> <option value="H:i" <?php if(@$settings['site_time_format'] == 'H:i'): ?> selected="selected" <?php endif; ?>> 22:30</option> </select> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('invoice_prefix', __('Invoice Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('invoice_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['invoice_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-invoice_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('invoice_starting_number', __('Invoice Starting Number'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('invoice_starting_number', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['invoice_starting_number']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-invoice_starting_number" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('proposal_prefix', __('Proposal Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('proposal_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['proposal_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-proposal_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('proposal_starting_number', __('Proposal Starting Number'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('proposal_starting_number', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['proposal_starting_number']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-proposal_starting_number" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('bill_prefix', __('Bill Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('bill_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['bill_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-bill_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('retainer_starting_number', __('Retainer Starting Number'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('retainer_starting_number', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['retainer_starting_number']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-proposal_starting_number" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('retainer_prefix', __('Retainer Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('retainer_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['retainer_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-bill_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('bill_starting_number', __('Bill Starting Number'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('bill_starting_number', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['bill_starting_number']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-bill_starting_number" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('customer_prefix', __('Customer Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('customer_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['customer_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-customer_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('vender_prefix', __('Vender Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('vender_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['vender_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-vender_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('footer_title', __('Invoice/Bill Footer Title'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('footer_title', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['footer_title']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-footer_title" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('decimal_number', __('Decimal Number Format'), ['class' => 'form-label'])); ?> <?php echo e(Form::number('decimal_number', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['decimal_number']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-decimal_number" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('journal_prefix', __('Journal Prefix'), ['class' => 'form-label'])); ?> <?php echo e(Form::text('journal_prefix', null, ['class' => 'form-control'])); ?> <?php $__errorArgs = ['journal_prefix']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-journal_prefix" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('shipping_display', __('Display Shipping in Proposal / Invoice / Bill'), ['class' => 'form-label'])); ?> <div class=" form-switch form-switch-left"> <input type="checkbox" class="form-check-input" name="shipping_display" id="email_tempalte_13" <?php echo e($settings['shipping_display'] == 'on' ? 'checked' : ''); ?>> <label class="form-check-label" for="email_tempalte_13"></label> </div> <?php $__errorArgs = ['shipping_display']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-shipping_display" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> <div class="form-group col-md-6"> <?php echo e(Form::label('footer_notes', __('Invoice/Bill Footer Notes'), ['class' => 'form-label'])); ?> <textarea class="summernote-simple" name="footer_notes"><?php echo $settings['footer_notes']; ?></textarea> <?php $__errorArgs = ['footer_notes']; $__bag = $errors->getBag($__errorArgs[1] ?? 'default'); if ($__bag->has($__errorArgs[0])) : if (isset($message)) { $__messageOriginal = $message; } $message = $__bag->first($__errorArgs[0]); ?> <span class="invalid-footer_notes" role="alert"> <strong class="text-danger"><?php echo e($message); ?></strong> </span> <?php unset($message); if (isset($__messageOriginal)) { $message = $__messageOriginal; } endif; unset($__errorArgs, $__bag); ?> </div> </div> </div> <div class="card-footer text-end"> <div class="form-group"> <input class="btn btn-print-invoice btn-primary m-r-10" type="submit" value="<?php echo e(__('Save Changes')); ?>"> </div> </div> <?php echo e(Form::close()); ?> </div> <!--Company Setting--> <!--Email Setting--> <!--Proposal Print Setting--> <div id="useradd-4" class="card"> <div class="card-header"> <h5><?php echo e(__('Proposal Print Settings')); ?></h5> <small class="text-muted"><?php echo e(__('Edit your company proposal details')); ?></small> </div> <div class="bg-none"> <div class="row company-setting"> <div class="col-md-4"> <div class="card-header card-body"> <form id="setting-form" method="post" action="<?php echo e(route('proposal.template.setting')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('Proposal Print Template')); ?></label> <select class="form-control" name="proposal_template"> <?php $__currentLoopData = App\Models\Utility::templateData()['templates']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $template): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" <?php echo e(isset($settings['proposal_template']) && $settings['proposal_template'] == $key ? 'selected' : ''); ?>> <?php echo e($template); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('QR Display?')); ?></label> <div class="d-flex align-items-center"> <div class="form-check form-switch custom-switch-v1 mt-2"> <input type="hidden" name="qr_display" value="off"> <input type="checkbox" class="form-check-input input-primary" id="customswitchv1-1 qr_display" name="qr_display" <?php echo e(isset($settings['qr_display']) && $settings['qr_display'] == 'on' ? 'checked="checked"' : ''); ?>> </div> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Color Input')); ?></label> <div class="row gutters-xs"> <?php $__currentLoopData = App\Models\Utility::templateData()['colors']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-auto"> <label class="colorinput"> <input name="proposal_color" type="radio" value="<?php echo e($color); ?>" class="colorinput-input" <?php echo e(isset($settings['proposal_color']) && $settings['proposal_color'] == $color ? 'checked' : ''); ?>> <span class="colorinput-color" style="background: #<?php echo e($color); ?>"></span> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Proposal Logo')); ?></label> <div class="choose-files mt-5 "> <label for="proposal_logo"> <div class=" bg-primary proposal_logo_update"> <i class="ti ti-upload px-1"></i><?php echo e(__('Choose file here')); ?> </div> <img id="blah4" class="mt-3" width="70%" /> <input type="file" class="form-control file" name="proposal_logo" id="proposal_logo" data-filename="proposal_logo_update" onchange="document.getElementById('blah4').src = window.URL.createObjectURL(this.files[0])"> </label> </div> </div> <div class="form-group mt-2 text-end"> <input type="submit" value="<?php echo e(__('Save Changes')); ?>" class="btn btn-print-invoice btn-primary m-r-10"> </div> </form> </div> </div> <div class="col-md-8"> <?php if(isset($settings['proposal_template']) && isset($settings['proposal_color'])): ?> <iframe id="proposal_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('proposal.preview', [$settings['proposal_template'], $settings['proposal_color']])); ?>"></iframe> <?php else: ?> <iframe id="proposal_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('proposal.preview', ['template1', 'fffff'])); ?>"></iframe> <?php endif; ?> </div> </div> </div> </div> <!--Retainer Print Setting--> <div id="useradd-10" class="card"> <div class="card-header"> <h5><?php echo e(__('Retainer Print Settings')); ?></h5> <small class="text-muted"><?php echo e(__('Edit your company retainer details')); ?></small> </div> <div class="bg-none"> <div class="row company-setting"> <div class="col-md-4"> <div class="card-header card-body"> <form id="setting-form" method="post" action="<?php echo e(route('retainer.template.setting')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('Retainer Print Template')); ?></label> <select class="form-control" name="retainer_template"> <?php $__currentLoopData = App\Models\Utility::templateData()['templates']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $template): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" <?php echo e(isset($settings['retainer_template']) && $settings['retainer_template'] == $key ? 'selected' : ''); ?>> <?php echo e($template); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('QR Display?')); ?></label> <div class="d-flex align-items-center"> <div class="form-check form-switch custom-switch-v1 mt-2"> <input type="hidden" name="retainer_qr_display" value="off"> <input type="checkbox" class="form-check-input input-primary" id="customswitchv1-1 retainer_qr_display" name="retainer_qr_display" <?php echo e(isset($settings['retainer_qr_display']) && $settings['retainer_qr_display'] == 'on' ? 'checked="checked"' : ''); ?>> </div> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Color Input')); ?></label> <div class="row gutters-xs"> <?php $__currentLoopData = App\Models\Utility::templateData()['colors']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-auto"> <label class="colorinput"> <input name="retainer_color" type="radio" value="<?php echo e($color); ?>" class="colorinput-input" <?php echo e(isset($settings['retainer_color']) && $settings['retainer_color'] == $color ? 'checked' : ''); ?>> <span class="colorinput-color" style="background: #<?php echo e($color); ?>"></span> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Retainer Logo')); ?></label> <div class="choose-files mt-5 "> <label for="retainer_logo"> <div class=" bg-primary proposal_logo_update"> <i class="ti ti-upload px-1"></i><?php echo e(__('Choose file here')); ?> </div> <img id="blah5" class="mt-3" width="70%" /> <input type="file" class="form-control file" name="retainer_logo" id="retainer_logo" data-filename="retainer_logo_update" onchange="document.getElementById('blah5').src = window.URL.createObjectURL(this.files[0])"> <!-- <input type="file" class="form-control file" name="retainer_logo" id="retainer_logo" data-filename="retainer_logo_update"> --> </label> </div> </div> <div class="form-group mt-2 text-end"> <input type="submit" value="<?php echo e(__('Save Changes')); ?>" class="btn btn-print-invoice btn-primary m-r-10"> </div> </form> </div> </div> <div class="col-md-8"> <?php if(isset($settings['retainer_template']) && isset($settings['retainer_color'])): ?> <iframe id="retainer_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('retainer.preview', [$settings['retainer_template'], $settings['retainer_color']])); ?>"></iframe> <?php else: ?> <iframe id="retainer_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('retainer.preview', ['template1', 'fffff'])); ?>"></iframe> <?php endif; ?> </div> </div> </div> </div> <!--Invoice Setting--> <div id="useradd-5" class="card"> <div class="card-header"> <h5><?php echo e(__('Invoice Print Settings')); ?></h5> <small class="text-muted"><?php echo e(__('Edit your company invoice details')); ?></small> </div> <div class="bg-none"> <div class="row company-setting"> <div class="col-md-4"> <div class="card-header card-body"> <form id="setting-form" method="post" action="<?php echo e(route('invoice.template.setting')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('Invoice Template')); ?></label> <select class="form-control" name="invoice_template"> <?php $__currentLoopData = Utility::templateData()['templates']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $template): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" <?php echo e(isset($settings['invoice_template']) && $settings['invoice_template'] == $key ? 'selected' : ''); ?>> <?php echo e($template); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('QR Display?')); ?></label> <div class="d-flex align-items-center"> <div class="form-check form-switch custom-switch-v1 mt-2"> <input type="hidden" name="invoice_qr_display" value="off"> <input type="checkbox" class="form-check-input input-primary" id="customswitchv1-1 invoice_qr_display" name="invoice_qr_display" <?php echo e(isset($settings['invoice_qr_display']) && $settings['invoice_qr_display'] == 'on' ? 'checked="checked"' : ''); ?>> </div> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Color Input')); ?></label> <div class="row gutters-xs"> <?php $__currentLoopData = Utility::templateData()['colors']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-auto"> <label class="colorinput"> <input name="invoice_color" type="radio" value="<?php echo e($color); ?>" class="colorinput-input" <?php echo e(isset($settings['invoice_color']) && $settings['invoice_color'] == $color ? 'checked' : ''); ?>> <span class="colorinput-color" style="background: #<?php echo e($color); ?>"></span> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Invoice Logo')); ?></label> <div class="choose-files mt-5 "> <label for="invoice_logo"> <div class=" bg-primary invoice_logo_update"> <i class="ti ti-upload px-1"></i><?php echo e(__('Choose file here')); ?> </div> <img id="blah6" class="mt-3" width="70%" /> <input type="file" class="form-control file" name="invoice_logo" id="invoice_logo" data-filename="invoice_logo_update" onchange="document.getElementById('blah6').src = window.URL.createObjectURL(this.files[0])"> <!-- <input type="file" class="form-control file" name="invoice_logo" id="invoice_logo" data-filename="invoice_logo_update"> --> </label> </div> </div> <div class="form-group mt-2 text-end"> <input type="submit" value="<?php echo e(__('Save Changes')); ?>" class="btn btn-print-invoice btn-primary m-r-10"> </div> </form> </div> </div> <div class="col-md-8"> <?php if(isset($settings['invoice_template']) && isset($settings['invoice_color'])): ?> <iframe id="invoice_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('invoice.preview', [$settings['invoice_template'], $settings['invoice_color']])); ?>"></iframe> <?php else: ?> <iframe id="invoice_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('invoice.preview', ['template1', 'fffff'])); ?>"></iframe> <?php endif; ?> </div> </div> </div> </div> <!--Bill Setting--> <div id="useradd-6" class="card"> <div class="card-header"> <h5><?php echo e(__('Bill Print Settings')); ?></h5> <small class="text-muted"><?php echo e(__('Edit your company bill details')); ?></small> </div> <div class="bg-none"> <div class="row company-setting"> <div class="col-md-4"> <div class="card-header card-body"> <form id="setting-form" method="post" action="<?php echo e(route('bill.template.setting')); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group"> <label for="address" class="form-label"><?php echo e(__('Bill Template')); ?></label> <select class="form-control" name="bill_template"> <?php $__currentLoopData = App\Models\Utility::templateData()['templates']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $template): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($key); ?>" <?php echo e(isset($settings['bill_template']) && $settings['bill_template'] == $key ? 'selected' : ''); ?>> <?php echo e($template); ?> </option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="form-group"> <label for="address" class="col-form-label"><?php echo e(__('QR Display?')); ?></label> <div class="d-flex align-items-center"> <div class="form-check form-switch custom-switch-v1 mt-2"> <input type="hidden" name="bill_qr_display" value="off"> <input type="checkbox" class="form-check-input input-primary" id="customswitchv1-1 bill_qr_display" name="bill_qr_display" <?php echo e(isset($settings['bill_qr_display']) && $settings['bill_qr_display'] == 'on' ? 'checked="checked"' : ''); ?>> </div> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Color Input')); ?></label> <div class="row gutters-xs"> <?php $__currentLoopData = Utility::templateData()['colors']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $color): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="col-auto"> <label class="colorinput"> <input name="bill_color" type="radio" value="<?php echo e($color); ?>" class="colorinput-input" <?php echo e(isset($settings['bill_color']) && $settings['bill_color'] == $color ? 'checked' : ''); ?>> <span class="colorinput-color" style="background: #<?php echo e($color); ?>"></span> </label> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Bill Logo')); ?></label> <div class="choose-files mt-5 "> <label for="bill_logo"> <div class=" bg-primary bill_logo_update"> <i class="ti ti-upload px-1"></i><?php echo e(__('Choose file here')); ?> </div> <img id="blah7" class="mt-3" width="70%" /> <input type="file" class="form-control file" name="bill_logo" id="bill_logo" data-filename="bill_logo_update" onchange="document.getElementById('blah7').src = window.URL.createObjectURL(this.files[0])"> <!-- <input type="file" class="form-control file" name="bill_logo" id="bill_logo" data-filename="bill_logo_update"> --> </label> </div> </div> <div class="form-group mt-2 text-end"> <input type="submit" value="<?php echo e(__('Save Changes')); ?>" class="btn btn-print-invoice btn-primary m-r-10"> </div> </form> </div> </div> <div class="col-md-8"> <?php if(isset($settings['bill_template']) && isset($settings['bill_color'])): ?> <iframe id="bill_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('bill.preview', [$settings['bill_template'], $settings['bill_color']])); ?>"></iframe> <?php else: ?> <iframe id="bill_frame" class="w-100 h-100" frameborder="0" src="<?php echo e(route('bill.preview', ['template1', 'fffff'])); ?>"></iframe> <?php endif; ?> </div> </div> </div> </div> <!--Payment Setting--> <div class="card" id="useradd-7"> <div class="card-header"> <h5><?php echo e(__('Payment Settings')); ?></h5> <small class="text-secondary font-weight-bold"> <?php echo e(__(' These details will be used to collect invoice payments. Each invoice will have a payment button based on the below configuration.')); ?> </small> </div> <?php echo e(Form::model($settings, ['route' => 'company.payment.settings', 'method' => 'POST'])); ?> <?php echo csrf_field(); ?> <div class="card-body"> <div class="row"> <div class="col-12"> <div class="faq justify-content-center"> <div class="row"> <div class="col-12"> <div class="accordion accordion-flush setting-accordion" id="accordionExample"> <!-- Bank Transfer --> <div class="accordion-item"> <h2 class="accordion-header" id="headingOne"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseBank" aria-expanded="false" aria-controls="collapseBank"> <span class="d-flex align-items-center"> <?php echo e(__('Bank Transfer')); ?> </span> <div class="d-flex align-items-center"> <span class="me-2"><?php echo e(__('Enable:')); ?></span> <div class="form-check form-switch custom-switch-v1"> <input type="hidden" name="is_bank_enabled" value="off"> <input type="checkbox" class="form-check-input" name="is_bank_enabled" id="is_bank_enabled" <?php echo e(isset($company_payment_setting['is_bank_enabled']) && $company_payment_setting['is_bank_enabled'] == 'on' ? 'checked="checked"' : ''); ?>> </div> </div> </button> </h2> <div id="collapseBank" class="accordion-collapse collapse" aria-labelledby="headingOne" data-bs-parent="#accordionExample"> <div class="accordion-body"> <div class="row gy-4"> <div class="col-md-12"> <div class="form-group"> <label class="col-form-label"><?php echo e(__('Bank Details')); ?></label> <textarea class="form-control" rows="5" name="bank_detail"><?php echo e(!empty($company_payment_setting['bank_detail']) ? $company_payment_setting['bank_detail'] : ''); ?></textarea> <small><?php echo e(__('Example : Bank : Bank name </br> Account Number : 0000 0000 </br>')); ?></small> </div> </div> </div> </div> </div> </div> <!-- Stripe --> <!-- Paypal --> <!-- Paystack --> <div class="accordion-item"> <h2 class="accordion-header" id="headingThree"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree"> <span class="d-flex align-items-center"> <?php echo e(__('Paystack')); ?> </span> <div class="d-flex align-items-center"> <span class="me-2"><?php echo e(__('Enable:')); ?></span> <div class="form-check form-switch custom-switch-v1"> <input type="checkbox" class="form-check-input" name="is_paystack_enabled" id="is_paystack_enabled" <?php echo e(isset($company_payment_setting['is_paystack_enabled']) && $company_payment_setting['is_paystack_enabled'] == 'on' ? 'checked' : ''); ?>> </div> </div> </button> </h2> <div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#accordionExample"> <div class="accordion-body"> <div class="row gy-4"> <div class="col-md-6"> <div class="form-group"> <label for="paypal_client_id" class="col-form-label"><?php echo e(__('Public Key')); ?></label> <input type="text" name="paystack_public_key" id="paystack_public_key" class="form-control" value="<?php echo e(!isset($company_payment_setting['paystack_public_key']) || is_null($company_payment_setting['paystack_public_key']) ? '' : $company_payment_setting['paystack_public_key']); ?>" placeholder="<?php echo e(__('Public Key')); ?>"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="paystack_secret_key" class="col-form-label"><?php echo e(__('Secret Key')); ?></label> <input type="text" name="paystack_secret_key" id="paystack_secret_key" class="form-control" value="<?php echo e(!isset($company_payment_setting['paystack_secret_key']) || is_null($company_payment_setting['paystack_secret_key']) ? '' : $company_payment_setting['paystack_secret_key']); ?>" placeholder="<?php echo e(__('Secret Key')); ?>"> <div> </div> </div> </div> </div> </div> </div> </div> <!-- Flutterwave --> <div class="accordion-item"> <h2 class="accordion-header" id="headingFour"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseFour" aria-expanded="false" aria-controls="collapseFour"> <span class="d-flex align-items-center"><?php echo e(__('Flutterware')); ?></span> <div class="d-flex align-items-center"> <span class="me-2"><?php echo e(__('Enable:')); ?></span> <div class="form-check form-switch custom-switch-v1"> <input type="hidden" name="is_flutterwave_enabled" value="off"> <input type="checkbox" class="form-check-input" name="is_flutterwave_enabled" id="is_flutterwave_enabled" <?php echo e(isset($company_payment_setting['is_flutterwave_enabled']) && $company_payment_setting['is_flutterwave_enabled'] == 'on' ? 'checked' : ''); ?>> </div> </div> </button> </h2> <div id="collapseFour" class="accordion-collapse collapse" aria-labelledby="headingFour" data-bs-parent="#accordionExample"> <div class="accordion-body"> <div class="row gy-4"> <div class="col-md-6"> <div class="form-group"> <label for="paypal_client_id" class="col-form-label"><?php echo e(__('Public Key')); ?></label> <input type="text" name="flutterwave_public_key" id="flutterwave_public_key" class="form-control" value="<?php echo e(!isset($company_payment_setting['flutterwave_public_key']) || is_null($company_payment_setting['flutterwave_public_key']) ? '' : $company_payment_setting['flutterwave_public_key']); ?>" placeholder="Public Key"> </div> </div> <div class="col-md-6"> <div class="form-group"> <label for="paystack_secret_key" class="col-form-label"><?php echo e(__('Secret Key')); ?></label> <input type="text" name="flutterwave_secret_key" id="flutterwave_secret_key" class="form-control" value="<?php echo e(!isset($company_payment_setting['flutterwave_secret_key']) || is_null($company_payment_setting['flutterwave_secret_key']) ? '' : $company_payment_setting['flutterwave_secret_key']); ?>" placeholder="Secret Key"> </div> </div> </div> </div> </div> </div> <!-- Razorpay --> <!-- Paytm --> <!-- Mercado Pago --> <!-- Mollie --> <!-- Skrill --> <!-- CoinGate --> <!-- PaymentWall --> <!-- Toyyibpay --> <!-- Payfast --> <!-- Iyzipay --> <!-- SSPAY --> <!-- Paytab --> <!-- Benefit --> <!-- Cashfree --> <!-- aamarpay --> <!-- PayTR --> <!-- YooKassa --> <!-- Xendit --> <!-- Midtrans --> </div> </div> </div> </div> </div> </div> </div> </div> <div class="card-footer text-end"> <div class="form-group"> <input class="btn btn-print-invoice btn-primary m-r-10" type="submit" value="<?php echo e(__('Save Changes')); ?>"> </div> </div> </div> </form> </div> <!--Twilio Setting--> <!--Email Notification Setting--> <!--Webhook Setting--> </div> <!-- [ sample-page ] end --> </div> <!-- [ Main Content ] end --> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('css-page'); ?> <link rel="stylesheet" href=" <?php echo e(Module::asset('LandingPage:Resources/assets/css/summernote/summernote-bs4.css')); ?>" /> <?php $__env->stopPush(); ?> <?php $__env->startPush('script-page'); ?> <script src="<?php echo e(Module::asset('LandingPage:Resources/assets/js/plugins/summernote-bs4.js')); ?>" referrerpolicy="origin"></script> <script> $(document).ready(function() { $('.summernote-simple').summernote({ toolbar: [ ['style', ['style']], ['font', ['bold', 'italic', 'underline', 'strikethrough']], ['list', ['ul', 'ol', 'paragraph']], ['insert', ['link', 'unlink']], ], height: 200, }); }); </script> <script> $(document).on('click', 'input[name="theme_color"]', function() { var eleParent = $(this).attr('data-theme'); $('#themefile').val(eleParent); var imgpath = $(this).attr('data-imgpath'); $('.' + eleParent + '_img').attr('src', imgpath); }); $(document).ready(function() { setTimeout(function(e) { var checked = $("input[type=radio][name='theme_color']:checked"); $('#themefile').val(checked.attr('data-theme')); $('.' + checked.attr('data-theme') + '_img').attr('src', checked.attr('data-imgpath')); }, 300); }); function check_theme(color_val) { $('.theme-color').prop('checked', false); $('input[value="' + color_val + '"]').prop('checked', true); $('#color_value').val(color_val); } </script> <script> $('.colorPicker').on('click', function(e) { $('body').removeClass('custom-color'); if (/^theme-\d+$/) { $('body').removeClassRegex(/^theme-\d+$/); } $('body').addClass('custom-color'); $('.themes-color-change').removeClass('active_color'); $(this).addClass('active_color'); const input = document.getElementById("color-picker"); setColor(); input.addEventListener("input", setColor); function setColor() { $(':root').css('--color-customColor', input.value); } $(`input[name='color_flag`).val('true'); }); $('.themes-color-change').on('click', function() { $(`input[name='color_flag`).val('false'); var color_val = $(this).data('value'); $('body').removeClass('custom-color'); if (/^theme-\d+$/) { $('body').removeClassRegex(/^theme-\d+$/); } $('body').addClass(color_val); $('.theme-color').prop('checked', false); $('.themes-color-change').removeClass('active_color'); $('.colorPicker').removeClass('active_color'); $(this).addClass('active_color'); $(`input[value=${color_val}]`).prop('checked', true); }); $.fn.removeClassRegex = function(regex) { return $(this).removeClass(function(index, classes) { return classes.split(/\s+/).filter(function(c) { return regex.test(c); }).join(' '); }); }; </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/payraty/accounting_main/resources/views/settings/company.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings