diff --git a/application/views/configs/email_config.php b/application/views/configs/email_config.php
index a1519f4f8..a066e2466 100644
--- a/application/views/configs/email_config.php
+++ b/application/views/configs/email_config.php
@@ -116,29 +116,29 @@
$(document).ready(function()
{
var check_protocol = function() {
- if($("#protocol").val() == 'sendmail')
+ if($('#protocol').val() == 'sendmail')
{
- $("#mailpath").prop('disabled', false);
- $("#smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto").prop('disabled', true);
+ $('#mailpath').prop('disabled', false);
+ $('#smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto').prop('disabled', true);
}
- else if($("#protocol").val() == 'smtp')
+ else if($('#protocol').val() == 'smtp')
{
- $("#smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto").prop('disabled', false);
- $("#mailpath").prop('disabled', true);
+ $('#smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto').prop('disabled', false);
+ $('#mailpath').prop('disabled', true);
}
else
{
- $("#mailpath, #smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto").prop('disabled', true);
+ $('#mailpath, #smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto').prop('disabled', true);
}
};
- $("#protocol").change(check_protocol).ready(check_protocol);
+ $('#protocol').change(check_protocol).ready(check_protocol);
$('#email_config_form').validate($.extend(form_support.handler, {
submitHandler: function(form) {
$(form).ajaxSubmit({
beforeSerialize: function(arr, $form, options) {
- $("#mailpath, #smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto").prop("disabled", false);
+ $('#mailpath, #smtp_host, #smtp_user, #smtp_pass, #smtp_port, #smtp_timeout, #smtp_crypto').prop('disabled', false);
return true;
},
success: function(response) {
@@ -146,11 +146,11 @@ $(document).ready(function()
// set back disabled state
check_protocol();
},
- dataType:'json'
+ dataType: 'json'
});
},
- errorLabelContainer: "#email_error_message_box"
+ errorLabelContainer: '#email_error_message_box'
}));
});
diff --git a/application/views/configs/info_config.php b/application/views/configs/info_config.php
index 6b42fc667..016f14872 100644
--- a/application/views/configs/info_config.php
+++ b/application/views/configs/info_config.php
@@ -134,9 +134,9 @@ $(document).ready(function()
{
$("a.fileinput-exists").click(function() {
$.ajax({
- type: "GET",
- url: "",
- dataType: "json"
+ type: 'GET',
+ url: '',
+ dataType: 'json'
})
});
diff --git a/application/views/configs/invoice_config.php b/application/views/configs/invoice_config.php
index 04ea971b6..3d719e217 100644
--- a/application/views/configs/invoice_config.php
+++ b/application/views/configs/invoice_config.php
@@ -207,7 +207,7 @@ $(document).ready(function()
enable_disable_invoice_enable();
enable_disable_work_order_enable();
},
- dataType:'json'
+ dataType: 'json'
});
}
}));
diff --git a/application/views/configs/locale_config.php b/application/views/configs/locale_config.php
index 1e98d6829..a01bf07eb 100644
--- a/application/views/configs/locale_config.php
+++ b/application/views/configs/locale_config.php
@@ -243,7 +243,6 @@ $(document).ready(function()
});
$('#locale_config_form').validate($.extend(form_support.handler, {
-
rules:
{
number_locale:
@@ -271,12 +270,12 @@ $(document).ready(function()
messages:
{
number_locale: {
- required: 'lang->line('config_number_locale_required') ?>',
- number_locale: 'lang->line('config_number_locale_invalid') ?>'
+ required: "lang->line('config_number_locale_required') ?>",
+ number_locale: "lang->line('config_number_locale_invalid') ?>"
}
},
- errorLabelContainer: "#locale_error_message_box"
+ errorLabelContainer: '#locale_error_message_box'
}));
});
diff --git a/application/views/configs/mailchimp_config.php b/application/views/configs/mailchimp_config.php
index 6be5ebd6d..e7e1fdf08 100644
--- a/application/views/configs/mailchimp_config.php
+++ b/application/views/configs/mailchimp_config.php
@@ -60,7 +60,8 @@ $(document).ready(function()
$('#mailchimp_list_id').append(new Option(text, val));
});
$('#mailchimp_list_id').prop('selectedIndex', 0);
- }, 'json'
+ },
+ 'json'
);
});
diff --git a/application/views/configs/tax_config.php b/application/views/configs/tax_config.php
index 86250aad1..39f87bf64 100644
--- a/application/views/configs/tax_config.php
+++ b/application/views/configs/tax_config.php
@@ -1,113 +1,113 @@
'tax_config_form', 'class' => 'form-horizontal')); ?>
-
-
-
-
+
-
-