|
@@ -165,6 +165,7 @@
|
|
</select>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <hr class="my-2">
|
|
<input type="hidden" name="referringProUid" value="{{ $pro->uid }}">
|
|
<input type="hidden" name="referringProUid" value="{{ $pro->uid }}">
|
|
<div class="row mb-2">
|
|
<div class="row mb-2">
|
|
<div class="col-3 text-secondary">
|
|
<div class="col-3 text-secondary">
|
|
@@ -474,7 +475,8 @@
|
|
width: '100%',
|
|
width: '100%',
|
|
templateResult: function(_state) {
|
|
templateResult: function(_state) {
|
|
return $('<span class="mcp-theme-1"><span>' + _state.text + '</span></span>');
|
|
return $('<span class="mcp-theme-1"><span>' + _state.text + '</span></span>');
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ placeholder: '-- Select Pro --'
|
|
})
|
|
})
|
|
.on('change', function() {
|
|
.on('change', function() {
|
|
self.newAppointment.proUid = $(this).val();
|
|
self.newAppointment.proUid = $(this).val();
|
|
@@ -484,7 +486,8 @@
|
|
width: '100%',
|
|
width: '100%',
|
|
templateResult: function(_state) {
|
|
templateResult: function(_state) {
|
|
return $('<span class="mcp-theme-1"><span>' + _state.text + '</span></span>');
|
|
return $('<span class="mcp-theme-1"><span>' + _state.text + '</span></span>');
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ placeholder: '-- Select Pro --'
|
|
})
|
|
})
|
|
.on('change', function() {
|
|
.on('change', function() {
|
|
self.editAppointment.proUid = $(this).val();
|
|
self.editAppointment.proUid = $(this).val();
|
|
@@ -716,8 +719,7 @@
|
|
Vue.nextTick(function() {
|
|
Vue.nextTick(function() {
|
|
$('#addApptPro').find('option').prop('selected', false);
|
|
$('#addApptPro').find('option').prop('selected', false);
|
|
$('#addApptPro').trigger('change');
|
|
$('#addApptPro').trigger('change');
|
|
- showStagPopup('client-add-appointment');
|
|
|
|
- $('#addApptPro').select2('open');
|
|
|
|
|
|
+ showStagPopup('client-add-appointment', true);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
addAppointment: function() {
|
|
addAppointment: function() {
|
|
@@ -761,7 +763,7 @@
|
|
this.editAppointment.status = this.selectedEvent.extendedProps.status;
|
|
this.editAppointment.status = this.selectedEvent.extendedProps.status;
|
|
Vue.nextTick(function() {
|
|
Vue.nextTick(function() {
|
|
$('#editApptPro').trigger('change');
|
|
$('#editApptPro').trigger('change');
|
|
- showStagPopup('client-edit-appointment');
|
|
|
|
|
|
+ showStagPopup('client-edit-appointment', true);
|
|
});
|
|
});
|
|
},
|
|
},
|
|
updateAppointment: function() {
|
|
updateAppointment: function() {
|