feat: add Jalali Calendar in flight create and edit for user side

This commit is contained in:
2026-08-20 08:39:08 -07:00
parent 5cbbb11ee6
commit 303dc2d686
4 changed files with 14 additions and 6 deletions
@@ -353,7 +353,8 @@
time: true,
hasSecond: false,
targetValueInput: 'attr',
targetValueType: 'attr'
targetValueType: 'attr',
minDate: 'today'
});
</script>
@endsection
+2 -1
View File
@@ -345,7 +345,8 @@
time: true,
hasSecond: false,
targetValueInput: 'attr',
targetValueType: 'attr'
targetValueType: 'attr',
minDate: 'today'
});
</script>
@endsection
@@ -25,7 +25,7 @@
<span class="text-success">{{ $message }}</span>
@enderror
@error('$errors')
@error('errors')
<span class="text-danger">{{ $message }}</span>
@enderror
<div class="row">
@@ -145,6 +145,7 @@
<th>ظرفیت</th>
<th>وضعیت</th>
<th>تاریخ ثبت</th>
<th>تاریخ ویرایش</th>
<th>عملیات</th>
</tr>
</thead>
@@ -250,6 +251,10 @@
{{ $flight->created_at->toJalali()->format('H:i Y-m-d') }}
</td>
<td>
{{ $flight->updated_at->toJalali()->format('H:i Y-m-d') }}
</td>
<td>
<div class="hstack gap-2 fs-15">
@@ -314,4 +319,3 @@
</div>
</div>
@endsection