|
@@ -114,9 +114,8 @@
|
|
|
</a>
|
|
|
<form url="/api/appointment/update" right>
|
|
|
<input type="hidden" name="uid" :value="event.uid">
|
|
|
- <input type="hidden" name="title" value="MCP Appointment">
|
|
|
<div class="mb-2">
|
|
|
- <label class="text-secondary text-sm">Pro</label>
|
|
|
+ <label class="text-secondary text-sm mb-1">Pro</label>
|
|
|
<select name="proUid" class="form-control form-control-sm">
|
|
|
<option value=""> --select-- </option>
|
|
|
@foreach($pros as $iPro)
|
|
@@ -125,19 +124,33 @@
|
|
|
</select>
|
|
|
</div>
|
|
|
<div class="mb-2">
|
|
|
- <label class="text-secondary text-sm">Date</label>
|
|
|
+ <label class="text-secondary text-sm mb-1">Date</label>
|
|
|
<input autofocus type="date" name="date" min="{{ date('Y-m-d') }}"
|
|
|
:value="event.dateYMD" class="form-control form-control-sm">
|
|
|
</div>
|
|
|
<div class="mb-2">
|
|
|
- <label class="text-secondary text-sm">Start Time</label>
|
|
|
+ <label class="text-secondary text-sm mb-1">Start Time</label>
|
|
|
<input type="time" name="startTime" class="form-control form-control-sm"
|
|
|
- :value="event.friendlyStartTime">
|
|
|
+ :value="event.raw_start_time ? event.raw_start_time.substr(0, 5) : ''">
|
|
|
</div>
|
|
|
<div class="mb-2">
|
|
|
- <label class="text-secondary text-sm">End Time</label>
|
|
|
+ <label class="text-secondary text-sm mb-1">End Time</label>
|
|
|
<input type="time" name="endTime" class="form-control form-control-sm"
|
|
|
- :value="event.friendlyEndTime">
|
|
|
+ :value="event.raw_end_time ? event.raw_end_time.substr(0, 5) : ''">
|
|
|
+ </div>
|
|
|
+ <div class="mb-2">
|
|
|
+ <label class="text-secondary text-sm mb-1">Timezone *</label>
|
|
|
+ <select name="timeZone" class="form-control form-control-sm"
|
|
|
+ :value="event.timezone" required>
|
|
|
+ <option value=""> --select-- </option>
|
|
|
+ <option value="EASTERN">Eastern</option>
|
|
|
+ <option value="CENTRAL">Central</option>
|
|
|
+ <option value="MOUNTAIN">Mountain</option>
|
|
|
+ <option value="PACIFIC">Pacific</option>
|
|
|
+ <option value="ALASKA">Alaska</option>
|
|
|
+ <option value="HAWAII">Hawaii</option>
|
|
|
+ <option value="PUERTO_RICO">Puerto Rico</option>
|
|
|
+ </select>
|
|
|
</div>
|
|
|
<div>
|
|
|
<button submit class="btn btn-sm btn-primary mr-1"
|
|
@@ -176,7 +189,7 @@
|
|
|
|
|
|
<script>
|
|
|
addMCInitializer('pro-dashboard', function () {
|
|
|
- new Vue({
|
|
|
+ window.apapp = new Vue({
|
|
|
el: '#pro-dashboard-container',
|
|
|
delimiters: ['@{{', '}}'],
|
|
|
data: {
|