git add .
git commit "complete tour and flight departure date handling"
This commit is contained in:
@@ -104,20 +104,22 @@
|
||||
|
||||
|
||||
|
||||
<div class="col-md-4 mb-3">
|
||||
<div class="mb-3">
|
||||
|
||||
<label>تاریخ حرکت</label>
|
||||
<label class="form-label">
|
||||
تاریخ حرکت تور
|
||||
</label>
|
||||
|
||||
<input type="text"
|
||||
name="departure_date"
|
||||
id="departure_date"
|
||||
id="start_date"
|
||||
name="start_date"
|
||||
class="form-control"
|
||||
value="{{ old('departure_date',$tour->departure_date) }}">
|
||||
placeholder="انتخاب تاریخ حرکت">
|
||||
{{ verta($tour->departure_date)->format('Y/m/d') }}
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="col-md-4 mb-3">
|
||||
|
||||
<label>وضعیت</label>
|
||||
@@ -188,5 +190,19 @@
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$("#start_date").persianDatepicker({
|
||||
|
||||
format: 'YYYY/MM/DD',
|
||||
|
||||
autoClose: true,
|
||||
|
||||
initialValue: false,
|
||||
|
||||
minDate: new persianDate()
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user