|
@@ -36,22 +36,23 @@
|
|
|
Edit
|
|
|
</a>
|
|
|
<form url="/api/proGeneralAvailability/createForWholeWeek">
|
|
|
- <input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="proUid" value="{{$selectedProUid ? $selectedProUid : $pro->uid}}">
|
|
|
<input type="hidden" name="timezone" value="EASTERN">
|
|
|
<div class="form-group">
|
|
|
+ <label for="" class="control-label font-weight-bold mb-1">Days </label>
|
|
|
@foreach($daysOfWeek as $dayOfWeek)
|
|
|
- <div class="form-check">
|
|
|
- <input class="form-check-input" type="checkbox" name="daysOfWeek[{{$loop->index}}]" id="ga_chk_{{$dayOfWeek}}" value="{{$dayOfWeek}}">
|
|
|
+ <div class="form-check d-flex align-items-center mb-1">
|
|
|
+ <input class="form-check-input my-0 mr-2" type="checkbox" name="daysOfWeek[{{$loop->index}}]" id="ga_chk_{{$dayOfWeek}}" value="{{$dayOfWeek}}">
|
|
|
<label class="form-check-label" for="ga_chk_{{$dayOfWeek}}">{{$dayOfWeek}}</label>
|
|
|
</div>
|
|
|
@endforeach
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label for="" class="control-label">Start Time </label>
|
|
|
+ <label for="" class="control-label font-weight-bold mb-1">Start Time </label>
|
|
|
<input class="form-control" type="time" name="startTime" value="08:00">
|
|
|
</div>
|
|
|
<div class="form-group">
|
|
|
- <label for="" class="control-label">End Time </label>
|
|
|
+ <label for="" class="control-label font-weight-bold mb-1">End Time </label>
|
|
|
<input class="form-control" type="time" name="endTime" value="17:00">
|
|
|
</div>
|
|
|
<div class="form-group m-0">
|
|
@@ -194,7 +195,7 @@
|
|
|
Add Specific Availability
|
|
|
</a>
|
|
|
<form url="/api/proSpecificAvailability/create">
|
|
|
- <input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="proUid" value="{{$selectedProUid ? $selectedProUid : $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">
|
|
@@ -313,7 +314,7 @@
|
|
|
Add Specific Unvailability
|
|
|
</a>
|
|
|
<form url="/api/proSpecificUnavailability/create">
|
|
|
- <input type="hidden" name="proUid" value="{{$pro->uid}}">
|
|
|
+ <input type="hidden" name="proUid" value="{{$selectedProUid ? $selectedProUid : $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">
|