|
@@ -18,6 +18,7 @@
|
|
|
</a>
|
|
|
<form url="/api/proGeneralAvailability/create">
|
|
|
<input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="timezone" value="EASTERN">
|
|
|
<div class="form-group">
|
|
|
<?php $daysOfWeek = ['MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', 'SATURDAY', 'SUNDAY'] ?>
|
|
|
@foreach($daysOfWeek as $dayOfWeek)
|
|
@@ -48,6 +49,7 @@
|
|
|
</a>
|
|
|
<form url="/api/proSpecificAvailability/create">
|
|
|
<input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="timezone" value="EASTERN">
|
|
|
<div class="mb-2">
|
|
|
<input type="text" class="form-control form-control-sm" name="title" placeholder="Title">
|
|
|
</div>
|
|
@@ -81,6 +83,7 @@
|
|
|
</a>
|
|
|
<form url="/api/proSpecificUnavailability/create">
|
|
|
<input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="timezone" value="EASTERN">
|
|
|
<div class="mb-2">
|
|
|
<input type="text" class="form-control form-control-sm" name="title" placeholder="Title">
|
|
|
</div>
|
|
@@ -114,7 +117,7 @@
|
|
|
</div>
|
|
|
<script>
|
|
|
(function() {
|
|
|
-
|
|
|
+
|
|
|
function initAvailabilityCalendar() {
|
|
|
var calendarEl = document.getElementById('pro-availability-calendar');
|
|
|
var calendar = new FullCalendar.Calendar(calendarEl, {
|
|
@@ -125,4 +128,4 @@
|
|
|
addMCInitializer('pro-availability-calendar', initAvailabilityCalendar);
|
|
|
})();
|
|
|
</script>
|
|
|
-@endsection
|
|
|
+@endsection
|