[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: d1a175345854e9a3128227b22598556b.php
<?php $__env->startSection('content'); ?> <link href="<?php echo e(asset('public/backend/plugins/bootstrap-colorpicker/bootstrap-colorpicker.min.css')); ?>" rel="stylesheet"> <div class="row"> <div class="col-md-12"> <ul class="nav nav-tabs business-settings-tabs" role="tablist"> <li class="nav-item"><a class="nav-link active" data-toggle="tab" href="#general_settings"><i class="fas fa-tools mr-2"></i><span><?php echo e(_lang('General Settings')); ?></span></a></li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#currency_settings"><i class="fas fa-pound-sign mr-2"></i><span><?php echo e(_lang('Currency Settings')); ?></span></a></li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#invoice_settings"><i class="fas fa-receipt mr-2"></i><span><?php echo e(_lang('Invoice Settings')); ?></span></a></li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#payment_gateways"><i class="fab fa-paypal mr-2"></i><span><?php echo e(_lang('Payment Gateways')); ?></span></a></li> <li class="nav-item"><a class="nav-link" data-toggle="tab" href="#email"><i class="fas fa-at mr-2"></i><span><?php echo e(_lang('Email Settings')); ?></span></a></li> <li class="nav-item"><a class="nav-link" href="<?php echo e(route('business.edit', request()->activeBusiness->id)); ?>"><i class="far fa-edit mr-2"></i><span><?php echo e(_lang('Update Business')); ?></span></a></li> </ul> <div class="tab-content settings-tab-content"> <div id="general_settings" class="tab-pane active"> <div class="card"> <div class="card-body"> <form action="<?php echo e(route('business.store_general_settings', $id)); ?>" class="settings-submit" autocomplete="off" method="post" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Timezone')); ?></label> <div class="col-xl-9"> <select class="form-control select2 auto-select" data-selected="<?php echo e(get_setting($business->systemSettings, 'timezone','',$id)); ?>" name="timezone" required> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php echo e(create_timezone_option()); ?> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Language')); ?></label> <div class="col-xl-9"> <select class="form-control select2 auto-select" name="language" data-selected="<?php echo e(get_setting($business->systemSettings, 'language','',$id)); ?>" required> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php echo e(load_language()); ?> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Backend Direction')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" name="backend_direction" data-selected="<?php echo e(get_setting($business->systemSettings, 'backend_direction', 'ltr', $id)); ?>" required> <option value="ltr"><?php echo e(_lang('LTR')); ?></option> <option value="rtl"><?php echo e(_lang('RTL')); ?></option> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Date Format')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" name="date_format" data-selected="<?php echo e(get_setting($business->systemSettings, 'date_format', 'Y-m-d', $id)); ?>" required> <option value="Y-m-d"><?php echo e(date('Y-m-d')); ?></option> <option value="d-m-Y"><?php echo e(date('d-m-Y')); ?></option> <option value="d/m/Y"><?php echo e(date('d/m/Y')); ?></option> <option value="m-d-Y"><?php echo e(date('m-d-Y')); ?></option> <option value="m.d.Y"><?php echo e(date('m.d.Y')); ?></option> <option value="m/d/Y"><?php echo e(date('m/d/Y')); ?></option> <option value="d.m.Y"><?php echo e(date('d.m.Y')); ?></option> <option value="d/M/Y"><?php echo e(date('d/M/Y')); ?></option> <option value="d/M/Y"><?php echo e(date('M/d/Y')); ?></option> <option value="d M, Y"><?php echo e(date('d M, Y')); ?></option> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Time Format')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" name="time_format" data-selected="<?php echo e(get_setting($business->systemSettings, 'time_format', 24, $id)); ?>" required> <option value="24"><?php echo e(_lang('24 Hours')); ?></option> <option value="12"><?php echo e(_lang('12 Hours')); ?></option> </select> </div> </div> <div class="form-group row mt-2"> <div class="col-xl-9 offset-lg-3"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Save Changes')); ?></button> </div> </div> </form> </div> </div> </div> <div id="currency_settings" class="tab-pane"> <div class="card"> <div class="card-body"> <form method="post" class="settings-submit" autocomplete="off" action="<?php echo e(route('business.store_currency_settings', $id)); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Currency Position')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="<?php echo e(get_setting($business->systemSettings, 'currency_position', 'left', $id)); ?>" name="currency_position" required> <option value="left"><?php echo e(_lang('Left')); ?></option> <option value="right"><?php echo e(_lang('Right')); ?></option> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Thousand Seperator')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="thousand_sep" value="<?php echo e(get_setting($business->systemSettings, 'thousand_sep', ',', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Decimal Seperator')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="decimal_sep" value="<?php echo e(get_setting($business->systemSettings, 'decimal_sep', '.', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Decimal Places')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="decimal_places" value="<?php echo e(get_setting($business->systemSettings, 'decimal_places', 2, $id)); ?>" required> </div> </div> <div class="form-group row"> <div class="col-xl-9 offset-xl-3"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Save Settings')); ?></button> </div> </div> </form> </div> </div> </div> <div id="invoice_settings" class="tab-pane"> <div class="card"> <div class="card-body"> <form method="post" class="settings-submit" autocomplete="off" action="<?php echo e(route('business.store_invoice_settings', $id)); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Invoice Title')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="invoice_title" value="<?php echo e(get_setting($business->systemSettings, 'invoice_title', 'Invoice', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Invoice Auto Increment')); ?></label> <div class="col-xl-9"> <input type="number" class="form-control" name="invoice_number" value="<?php echo e(get_setting($business->systemSettings, 'invoice_number', '', $id)); ?>" placeholder="100001" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Invoice Primary Color')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control colorpicker" name="invoice_primary_color" value="<?php echo e(get_setting($business->systemSettings, 'invoice_primary_color', '#30336b', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Primary Text Color')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control colorpicker" name="primary_text_color" value="<?php echo e(get_setting($business->systemSettings, 'primary_text_color', '#ffffff', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Invoice Secondary Color')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control colorpicker" name="invoice_secondary_color" value="<?php echo e(get_setting($business->systemSettings, 'invoice_secondary_color', '#30336b', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Secondary Text Color')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control colorpicker" name="secondary_text_color" value="<?php echo e(get_setting($business->systemSettings, 'secondary_text_color', '#ffffff', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Show QR Code')); ?></label> <div class="col-xl-9"> <select class="form-control" name="invoice_qr_code_status" value="<?php echo e(get_setting($business->systemSettings, 'invoice_qr_code_status', 1, $id)); ?>" required> <option value="1"><?php echo e(_lang('Active')); ?></option> <option value="0"><?php echo e(_lang('Disbled')); ?></option> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Invoice Footer')); ?> (<?php echo e(_lang('HTML Allowed')); ?>)</label> <div class="col-xl-9"> <textarea class="form-control" name="invoice_footer"><?php echo e(get_setting($business->systemSettings, 'invoice_footer', '', $id)); ?></textarea> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Invoice Column Settings')); ?></label> <div class="col-xl-9"> <?php $invoiceColumns = json_decode(get_setting($business->systemSettings, 'invoice_column', null, $id)); ?> <div class="table-responsove"> <table class="table table-bordered"> <thead> <tr> <th><?php echo e(_lang('Column Name')); ?></th> <th><?php echo e(_lang('Label')); ?></th> <th class="text-center"><?php echo e(_lang('Visible')); ?></th> <th class="text-center"><?php echo e(_lang('Hidden')); ?></th> </tr> </thead> <tbody> <tr> <td><?php echo e(_lang('Name')); ?></td> <td> <input type="text" name="invoice_column[name][label]" value="<?php echo e(isset($invoiceColumns->name->label) ? $invoiceColumns->name->label : _lang('Name')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="invoice_column[name][status]" value="1" <?php echo e(isset($invoiceColumns->name->status) && $invoiceColumns->name->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="invoice_column[name][status]" value="0" <?php echo e(isset($invoiceColumns->name->status) && $invoiceColumns->name->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Descriptions')); ?></td> <td></td> <td class="text-center"> <input type="radio" name="invoice_column[description][status]" value="1" <?php echo e(isset($invoiceColumns->description->status) && $invoiceColumns->description->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="invoice_column[description][status]" value="0" <?php echo e(isset($invoiceColumns->description->status) && $invoiceColumns->description->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Quantity')); ?></td> <td> <input type="text" name="invoice_column[quantity][label]" value="<?php echo e(isset($invoiceColumns->quantity->label) ? $invoiceColumns->quantity->label : _lang('Quantity')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="invoice_column[quantity][status]" value="1" <?php echo e(isset($invoiceColumns->quantity->status) && $invoiceColumns->quantity->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="invoice_column[quantity][status]" value="0" <?php echo e(isset($invoiceColumns->quantity->status) && $invoiceColumns->quantity->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Price')); ?></td> <td> <input type="text" name="invoice_column[price][label]" value="<?php echo e(isset($invoiceColumns->price->label) ? $invoiceColumns->price->label : _lang('Price')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="invoice_column[price][status]" value="1" <?php echo e(isset($invoiceColumns->price->status) && $invoiceColumns->price->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="invoice_column[price][status]" value="0" <?php echo e(isset($invoiceColumns->price->status) && $invoiceColumns->price->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Amount')); ?></td> <td> <input type="text" name="invoice_column[amount][label]" value="<?php echo e(isset($invoiceColumns->amount->label) ? $invoiceColumns->amount->label : _lang('Amount')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="invoice_column[amount][status]" value="1" <?php echo e(isset($invoiceColumns->amount->status) && $invoiceColumns->amount->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="invoice_column[amount][status]" value="0" <?php echo e(isset($invoiceColumns->amount->status) && $invoiceColumns->amount->status == '0' ? 'checked' : ''); ?>> </td> </tr> </tr> </tbody> </table> </div> </div> </div> <hr> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Quotation Title')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="quotation_title" value="<?php echo e(get_setting($business->systemSettings, 'quotation_title', 'Quotation', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Quotation Auto Increment')); ?></label> <div class="col-xl-9"> <input type="number" class="form-control" name="quotation_number" value="<?php echo e(get_setting($business->systemSettings, 'quotation_number', '', $id)); ?>" placeholder="100001" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Quotation Footer')); ?> (<?php echo e(_lang('HTML Allowed')); ?>)</label> <div class="col-xl-9"> <textarea class="form-control" name="quotation_footer"><?php echo e(get_setting($business->systemSettings, 'quotation_footer', '', $id)); ?></textarea> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Quotation Column Settings')); ?></label> <div class="col-xl-9"> <?php $quotationColumns = json_decode(get_setting($business->systemSettings, 'quotation_column', null, $id)); ?> <div class="table-responsove"> <table class="table table-bordered"> <thead> <tr> <th><?php echo e(_lang('Column Name')); ?></th> <th><?php echo e(_lang('Label')); ?></th> <th class="text-center"><?php echo e(_lang('Visible')); ?></th> <th class="text-center"><?php echo e(_lang('Hidden')); ?></th> </tr> </thead> <tbody> <tr> <td><?php echo e(_lang('Name')); ?></td> <td> <input type="text" name="quotation_column[name][label]" value="<?php echo e(isset($quotationColumns->name->label) ? $quotationColumns->name->label : _lang('Name')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="quotation_column[name][status]" value="1" <?php echo e(isset($quotationColumns->name->status) && $quotationColumns->name->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="quotation_column[name][status]" value="0" <?php echo e(isset($quotationColumns->name->status) && $quotationColumns->name->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Descriptions')); ?></td> <td></td> <td class="text-center"> <input type="radio" name="quotation_column[description][status]" value="1" <?php echo e(isset($quotationColumns->description->status) && $quotationColumns->description->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="quotation_column[description][status]" value="0" <?php echo e(isset($quotationColumns->description->status) && $quotationColumns->description->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Quantity')); ?></td> <td> <input type="text" name="quotation_column[quantity][label]" value="<?php echo e(isset($quotationColumns->quantity->label) ? $quotationColumns->quantity->label : _lang('Quantity')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="quotation_column[quantity][status]" value="1" <?php echo e(isset($quotationColumns->quantity->status) && $quotationColumns->quantity->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="quotation_column[quantity][status]" value="0" <?php echo e(isset($quotationColumns->quantity->status) && $quotationColumns->quantity->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Price')); ?></td> <td> <input type="text" name="quotation_column[price][label]" value="<?php echo e(isset($quotationColumns->price->label) ? $quotationColumns->price->label : _lang('Price')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="quotation_column[price][status]" value="1" <?php echo e(isset($quotationColumns->price->status) && $quotationColumns->price->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="quotation_column[price][status]" value="0" <?php echo e(isset($quotationColumns->price->status) && $quotationColumns->price->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Amount')); ?></td> <td> <input type="text" name="quotation_column[amount][label]" value="<?php echo e(isset($quotationColumns->amount->label) ? $quotationColumns->amount->label : _lang('Amount')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="quotation_column[amount][status]" value="1" <?php echo e(isset($quotationColumns->amount->status) && $quotationColumns->amount->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="quotation_column[amount][status]" value="0" <?php echo e(isset($quotationColumns->amount->status) && $quotationColumns->amount->status == '0' ? 'checked' : ''); ?>> </td> </tr> </tr> </tbody> </table> </div> </div> </div> <hr> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Purchase Title')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="purchase_title" value="<?php echo e(get_setting($business->systemSettings, 'purchase_title', 'Purchase Order', $id)); ?>" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Bill No Auto Increment')); ?></label> <div class="col-xl-9"> <input type="number" class="form-control" name="purchase_bill_no" value="<?php echo e(get_setting($business->systemSettings, 'purchase_bill_no', '', $id)); ?>" placeholder="100001" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('PO/SO Auto Increment')); ?></label> <div class="col-xl-9"> <input type="number" class="form-control" name="po_so_number" value="<?php echo e(get_setting($business->systemSettings, 'po_so_number', '', $id)); ?>" placeholder="100001" required> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Purchase Footer')); ?> (<?php echo e(_lang('HTML Allowed')); ?>)</label> <div class="col-xl-9"> <textarea class="form-control" name="purchase_footer"><?php echo e(get_setting($business->systemSettings, 'purchase_footer', '', $id)); ?></textarea> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Purchase Column Settings')); ?></label> <div class="col-xl-9"> <?php $purchaseColumns = json_decode(get_setting($business->systemSettings, 'purchase_column', null, $id)); ?> <div class="table-responsove"> <table class="table table-bordered"> <thead> <tr> <th><?php echo e(_lang('Column Name')); ?></th> <th><?php echo e(_lang('Label')); ?></th> <th class="text-center"><?php echo e(_lang('Visible')); ?></th> <th class="text-center"><?php echo e(_lang('Hidden')); ?></th> </tr> </thead> <tbody> <tr> <td><?php echo e(_lang('Name')); ?></td> <td> <input type="text" name="purchase_column[name][label]" value="<?php echo e(isset($purchaseColumns->name->label) ? $purchaseColumns->name->label : _lang('Name')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="purchase_column[name][status]" value="1" <?php echo e(isset($purchaseColumns->name->status) && $purchaseColumns->name->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="purchase_column[name][status]" value="0" <?php echo e(isset($purchaseColumns->name->status) && $purchaseColumns->name->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Descriptions')); ?></td> <td></td> <td class="text-center"> <input type="radio" name="purchase_column[description][status]" value="1" <?php echo e(isset($purchaseColumns->description->status) && $purchaseColumns->description->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="purchase_column[description][status]" value="0" <?php echo e(isset($purchaseColumns->description->status) && $purchaseColumns->description->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Quantity')); ?></td> <td> <input type="text" name="purchase_column[quantity][label]" value="<?php echo e(isset($purchaseColumns->quantity->label) ? $purchaseColumns->quantity->label : _lang('Quantity')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="purchase_column[quantity][status]" value="1" <?php echo e(isset($purchaseColumns->quantity->status) && $purchaseColumns->quantity->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="purchase_column[quantity][status]" value="0" <?php echo e(isset($purchaseColumns->quantity->status) && $purchaseColumns->quantity->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Price')); ?></td> <td> <input type="text" name="purchase_column[price][label]" value="<?php echo e(isset($purchaseColumns->price->label) ? $purchaseColumns->price->label : _lang('Price')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="purchase_column[price][status]" value="1" <?php echo e(isset($purchaseColumns->price->status) && $purchaseColumns->price->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="purchase_column[price][status]" value="0" <?php echo e(isset($purchaseColumns->price->status) && $purchaseColumns->price->status == '0' ? 'checked' : ''); ?>> </td> </tr> <tr> <td><?php echo e(_lang('Amount')); ?></td> <td> <input type="text" name="purchase_column[amount][label]" value="<?php echo e(isset($purchaseColumns->amount->label) ? $purchaseColumns->amount->label : _lang('Amount')); ?>" class="form-control" required> </td> <td class="text-center"> <input type="radio" name="purchase_column[amount][status]" value="1" <?php echo e(isset($purchaseColumns->amount->status) && $purchaseColumns->amount->status == '0' ? '' : 'checked'); ?>> </td> <td class="text-center"> <input type="radio" name="purchase_column[amount][status]" value="0" <?php echo e(isset($purchaseColumns->amount->status) && $purchaseColumns->amount->status == '0' ? 'checked' : ''); ?>> </td> </tr> </tr> </tbody> </table> </div> </div> </div> <div class="form-group row"> <div class="col-xl-9 offset-xl-3"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Save Settings')); ?></button> </div> </div> </form> </div> </div> </div> <div id="payment_gateways" class="tab-pane"> <div class="card"> <div class="card-body"> <div class="accordion" id="payment_gateways"> <?php $__currentLoopData = \App\Models\PaymentGateway::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $paymentgateway): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $params = json_decode(get_setting($business->systemSettings, $paymentgateway->slug, null, $id)); ?> <div class="card"> <div class="card-header bg-light" data-toggle="collapse" data-target="#<?php echo e($paymentgateway->slug); ?>" aria-expanded="true" aria-controls="<?php echo e($paymentgateway->slug); ?>"> <span class="panel-title"><img class="thumb-xs rounded-circle img-thumbnail mr-2" src="<?php echo e(asset('public/backend/images/gateways/'.$paymentgateway->image)); ?>"/><?php echo e($paymentgateway->name); ?></span> </div> <div id="<?php echo e($paymentgateway->slug); ?>" class="collapse" aria-labelledby="heading<?php echo e($paymentgateway->slug); ?>" data-parent="#payment_gateways"> <div class="card-body"> <form method="post" class="settings-submit" autocomplete="off" action="<?php echo e(route('business.store_payment_gateway_settings', $id)); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-lg-10"> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Status')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="<?php echo e(isset($params->status) ? $params->status : 0); ?>" name="<?php echo e($paymentgateway->slug); ?>[status]" required> <option value="0"><?php echo e(_lang('Disabled')); ?></option> <option value="1"><?php echo e(_lang('Active')); ?></option> </select> </div> </div> <input type="hidden" name="slug" value="<?php echo e($paymentgateway->slug); ?>"> <?php $__currentLoopData = $paymentgateway->parameters; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($key != 'environment'): ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(strtoupper(str_replace('_',' ',$key))); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" value="<?php echo e(isset($params->$key) ? $params->$key : ''); ?>" name="<?php echo e($paymentgateway->slug); ?>[<?php echo e($key); ?>]"> </div> </div> <?php else: ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(strtoupper(str_replace('_',' ',$key))); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="<?php echo e(isset($params->$key) ? $params->$key : 'sandbox'); ?>" name="<?php echo e($paymentgateway->slug); ?>[<?php echo e($key); ?>]"> <option value="sandbox"><?php echo e(_lang('Sandbox')); ?></option> <option value="live"><?php echo e(_lang('Live')); ?></option> </select> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Credit Account')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="<?php echo e(isset($params->account) ? $params->account : ''); ?>" name="<?php echo e($paymentgateway->slug); ?>[account]"> <option value=""><?php echo e(_lang('Select One')); ?></option> <?php $__currentLoopData = \App\Models\Account::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $account): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($account->id); ?>"><?php echo e($account->account_name); ?> - <?php echo e($account->currency); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> </div> <div class="form-group row mt-2"> <div class="col-xl-9 offset-xl-3"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Save Settings')); ?></button> </div> </div> </div> </div> </form> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div><!-- End Accordion --> </div> </div> </div> <div id="email" class="tab-pane"> <div class="row"> <div class="col-lg-8 mb-md-4"> <div class="card"> <div class="card-header"> <span><?php echo e(_lang('Email Configuration')); ?></span> </div> <div class="card-body"> <form method="post" class="settings-submit" autocomplete="off" action="<?php echo e(route('business.store_email_settings', $id)); ?>" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('Mail Type')); ?></label> <div class="col-xl-9"> <select class="form-control auto-select" data-selected="<?php echo e(get_setting($business->systemSettings, 'mail_type', '', $id)); ?>" name="mail_type" id="mail_type"> <option value=""><?php echo e(_lang('None')); ?></option> <option value="smtp"><?php echo e(_lang('SMTP')); ?></option> <option value="sendmail"><?php echo e(_lang('Sendmail')); ?></option> </select> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('From Email')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="from_email" value="<?php echo e(get_setting($business->systemSettings, 'from_email', '', $id)); ?>"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('From Name')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control" name="from_name" value="<?php echo e(get_setting($business->systemSettings, 'from_name', '', $id)); ?>"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('SMTP Host')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control smtp" name="smtp_host" value="<?php echo e(get_setting($business->systemSettings, 'smtp_host', '', $id)); ?>"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('SMTP Port')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control smtp" name="smtp_port" value="<?php echo e(get_setting($business->systemSettings, 'smtp_port', '', $id)); ?>"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('SMTP Username')); ?></label> <div class="col-xl-9"> <input type="text" class="form-control smtp" autocomplete="off" name="smtp_username" value="<?php echo e(get_setting($business->systemSettings, 'smtp_username', '', $id)); ?>"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('SMTP Password')); ?></label> <div class="col-xl-9"> <input type="password" class="form-control smtp" autocomplete="off" name="smtp_password" value="<?php echo e(get_setting($business->systemSettings, 'smtp_password', '', $id)); ?>"> </div> </div> <div class="form-group row"> <label class="col-xl-3 col-form-label"><?php echo e(_lang('SMTP Encryption')); ?></label> <div class="col-xl-9"> <select class="form-control smtp auto-select" data-selected="<?php echo e(get_setting($business->systemSettings, 'smtp_encryption', '', $id)); ?>" name="smtp_encryption"> <option value=""><?php echo e(_lang('None')); ?></option> <option value="ssl"><?php echo e(_lang('SSL')); ?></option> <option value="tls"><?php echo e(_lang('TLS')); ?></option> </select> </div> </div> <div class="form-group row"> <div class="col-xl-9 offset-xl-3"> <button type="submit" class="btn btn-primary"><i class="ti-check-box mr-2"></i><?php echo e(_lang('Save Settings')); ?></button> </div> </div> </form> </div> </div> </div> <div class="col-lg-4"> <div class="card"> <div class="card-header"> <span><?php echo e(_lang('Send Test Email')); ?></span> </div> <div class="card-body"> <form method="post" class="settings-submit" autocomplete="off" action="<?php echo e(route('business.send_test_email', $id)); ?>"> <?php echo csrf_field(); ?> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Recipient Email')); ?></label> <input type="email" class="form-control" name="recipient_email"> </div> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Message')); ?></label> <textarea class="form-control" name="message"></textarea> </div> <div class="form-group"> <button type="submit" class="btn btn-primary btn-block"><i class="far fa-paper-plane mr-2"></i><?php echo e(_lang('Send Test Email')); ?></button> </div> </form> </div> </div> </div> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startSection('js-script'); ?> <script src="<?php echo e(asset('public/backend/plugins/bootstrap-colorpicker/bootstrap-colorpicker.js')); ?>"></script> <script> (function ($) { "use strict"; if($('.colorpicker').length){ $('.colorpicker').colorpicker(); } })(jQuery); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/eliosofonline/acc.eliosof.com/resources/views/backend/user/business/settings.blade.php ENDPATH**/ ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.79 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002