-
+
-
+
= lang('appointments') ?>
-
-
+
+
diff --git a/src/assets/css/backend.css b/src/assets/css/backend.css
index 00a08446..a153be8b 100644
--- a/src/assets/css/backend.css
+++ b/src/assets/css/backend.css
@@ -489,7 +489,6 @@ body .form-horizontal .controls {
height: 370px;
max-width: 330px;
width: 100%;
- border: 4px solid #E2E2E2;
margin-bottom: 20px;
overflow-y: auto;
outline: none;
@@ -497,7 +496,7 @@ body .form-horizontal .controls {
#customers-page #customer-appointments .appointment-row {
padding: 7px;
- border-bottom: 4px solid #E2E2E2;
+ border-bottom: 1px solid #E2E2E2;
border-right: none;
}
@@ -513,12 +512,12 @@ body .form-horizontal .controls {
#customers-page #appointment-details {
max-width: 330px;
margin-bottom: 20px;
+ padding: 0;
}
#customers-page #appointment-details div {
padding: 10px;
background: #F8F8F8;
- border-bottom: 4px solid #EEE;
}
diff --git a/src/assets/js/backend_customers_helper.js b/src/assets/js/backend_customers_helper.js
index e8a23a02..2287b6f1 100644
--- a/src/assets/js/backend_customers_helper.js
+++ b/src/assets/js/backend_customers_helper.js
@@ -281,8 +281,8 @@
$('.record-details').find('input, textarea').val('');
$('.record-details').find('input, textarea').prop('readonly', true);
- $('#customer-appointments').html('');
- $('#appointment-details').html('');
+ $('#customer-appointments').empty();
+ $('#appointment-details').toggleClass('hidden', true).empty();
$('#edit-customer, #delete-customer').prop('disabled', true);
$('#add-edit-delete-group').show();
$('#save-cancel-group').hide();
@@ -444,7 +444,7 @@
start + ' - ' + end + '
' +
'
';
- $('#appointment-details').html(html);
+ $('#appointment-details').html(html).removeClass('hidden');
};
window.CustomersHelper = CustomersHelper;