fix: update blades for admins
This commit is contained in:
@@ -74,6 +74,244 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{-- دسترسیهای مدیر --}}
|
||||||
|
<div class="card custom-card mt-4">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="card-title">دسترسیهای مدیر</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row gy-4">
|
||||||
|
|
||||||
|
{{-- مدیریت پرواز --}}
|
||||||
|
<div class="col-xl-6">
|
||||||
|
<label class="form-label fw-semibold">مدیریت پرواز</label>
|
||||||
|
|
||||||
|
<div class="d-flex gap-4 flex-wrap">
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[flight_create]"
|
||||||
|
value="1"
|
||||||
|
id="flight_create">
|
||||||
|
<label class="form-check-label" for="flight_create">
|
||||||
|
درج پرواز
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[flight_edit]"
|
||||||
|
value="1"
|
||||||
|
id="flight_edit">
|
||||||
|
<label class="form-check-label" for="flight_edit">
|
||||||
|
ویرایش پرواز
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[flight_delete]"
|
||||||
|
value="1"
|
||||||
|
id="flight_delete">
|
||||||
|
<label class="form-check-label" for="flight_delete">
|
||||||
|
حذف پرواز
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت تور --}}
|
||||||
|
<div class="col-xl-6">
|
||||||
|
<label class="form-label fw-semibold">مدیریت تور</label>
|
||||||
|
|
||||||
|
<div class="d-flex gap-4 flex-wrap">
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[tour_create]"
|
||||||
|
value="1"
|
||||||
|
id="tour_create">
|
||||||
|
<label class="form-check-label" for="tour_create">
|
||||||
|
درج تور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[tour_edit]"
|
||||||
|
value="1"
|
||||||
|
id="tour_edit">
|
||||||
|
<label class="form-check-label" for="tour_edit">
|
||||||
|
ویرایش تور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[tour_delete]"
|
||||||
|
value="1"
|
||||||
|
id="tour_delete">
|
||||||
|
<label class="form-check-label" for="tour_delete">
|
||||||
|
حذف تور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت رزرو --}}
|
||||||
|
<div class="col-xl-6">
|
||||||
|
<label class="form-label fw-semibold">مدیریت رزرو</label>
|
||||||
|
|
||||||
|
<div class="d-flex gap-4 flex-wrap">
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[booking_view]"
|
||||||
|
value="1"
|
||||||
|
id="booking_view">
|
||||||
|
<label class="form-check-label" for="booking_view">
|
||||||
|
مشاهده رزرو
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[booking_edit]"
|
||||||
|
value="1"
|
||||||
|
id="booking_edit">
|
||||||
|
<label class="form-check-label" for="booking_edit">
|
||||||
|
ویرایش رزرو
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[booking_delete]"
|
||||||
|
value="1"
|
||||||
|
id="booking_delete">
|
||||||
|
<label class="form-check-label" for="booking_delete">
|
||||||
|
حذف رزرو
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت کاربران --}}
|
||||||
|
<div class="col-xl-6">
|
||||||
|
<label class="form-label fw-semibold">مدیریت کاربران</label>
|
||||||
|
|
||||||
|
<div class="d-flex gap-4 flex-wrap">
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[user_view]"
|
||||||
|
value="1"
|
||||||
|
id="user_view">
|
||||||
|
<label class="form-check-label" for="user_view">
|
||||||
|
مشاهده کاربران
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[user_edit]"
|
||||||
|
value="1"
|
||||||
|
id="user_edit">
|
||||||
|
<label class="form-check-label" for="user_edit">
|
||||||
|
ویرایش کاربران
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[user_delete]"
|
||||||
|
value="1"
|
||||||
|
id="user_delete">
|
||||||
|
<label class="form-check-label" for="user_delete">
|
||||||
|
حذف کاربران
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت مدیران --}}
|
||||||
|
<div class="col-xl-6">
|
||||||
|
<label class="form-label fw-semibold">مدیریت مدیران</label>
|
||||||
|
|
||||||
|
<div class="d-flex gap-4 flex-wrap">
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_view]"
|
||||||
|
value="1"
|
||||||
|
id="admin_view">
|
||||||
|
<label class="form-check-label" for="admin_view">
|
||||||
|
مشاهده مدیران
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_create]"
|
||||||
|
value="1"
|
||||||
|
id="admin_create">
|
||||||
|
<label class="form-check-label" for="admin_create">
|
||||||
|
درج مدیر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_edit]"
|
||||||
|
value="1"
|
||||||
|
id="admin_edit">
|
||||||
|
<label class="form-check-label" for="admin_edit">
|
||||||
|
ویرایش مدیر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check">
|
||||||
|
<input class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_delete]"
|
||||||
|
value="1"
|
||||||
|
id="admin_delete">
|
||||||
|
<label class="form-check-label" for="admin_delete">
|
||||||
|
حذف مدیر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card-footer text-end">
|
<div class="card-footer text-end">
|
||||||
|
|||||||
@@ -116,6 +116,257 @@
|
|||||||
<span class="text-danger">{{ $message }}</span>
|
<span class="text-danger">{{ $message }}</span>
|
||||||
@enderror
|
@enderror
|
||||||
</div>
|
</div>
|
||||||
|
<div class="card custom-card mt-4">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="card-title">دسترسیهای مدیر</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="card-body">
|
||||||
|
<div class="row gy-4">
|
||||||
|
|
||||||
|
{{-- مدیریت پروازها --}}
|
||||||
|
<div class="col-xl-3 col-lg-6">
|
||||||
|
<h6 class="fw-semibold mb-3">مدیریت پروازها</h6>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[flight_create]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->flight_create)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
درج پرواز
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[flight_edit]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->flight_edit)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
ویرایش پرواز
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[flight_delete]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->flight_delete)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
حذف پرواز
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت تورها --}}
|
||||||
|
<div class="col-xl-3 col-lg-6">
|
||||||
|
<h6 class="fw-semibold mb-3">مدیریت تورها</h6>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[tour_create]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->tour_create)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
درج تور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[tour_edit]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->tour_edit)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
ویرایش تور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[tour_delete]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->tour_delete)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
حذف تور
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت رزروها --}}
|
||||||
|
<div class="col-xl-3 col-lg-6">
|
||||||
|
<h6 class="fw-semibold mb-3">مدیریت رزروها</h6>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[booking_view]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->booking_view)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
مشاهده رزروها
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[booking_edit]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->booking_edit)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
ویرایش رزرو
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[booking_delete]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->booking_delete)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
حذف رزرو
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت کاربران --}}
|
||||||
|
<div class="col-xl-3 col-lg-6">
|
||||||
|
<h6 class="fw-semibold mb-3">مدیریت کاربران</h6>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[user_view]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->user_view)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
مشاهده کاربران
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[user_edit]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->user_edit)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
ویرایش کاربر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[user_delete]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->user_delete)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
حذف کاربر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
{{-- مدیریت مدیران --}}
|
||||||
|
<div class="col-xl-3 col-lg-6">
|
||||||
|
<h6 class="fw-semibold mb-3">مدیریت مدیران</h6>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_view]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->admin_view)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
مشاهده مدیران
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_create]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->admin_create)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
ایجاد مدیر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_edit]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->admin_edit)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
ویرایش مدیر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-check mb-2">
|
||||||
|
<input
|
||||||
|
class="form-check-input"
|
||||||
|
type="checkbox"
|
||||||
|
name="permissions[admin_delete]"
|
||||||
|
value="1"
|
||||||
|
@checked($admin->permission?->admin_delete)
|
||||||
|
>
|
||||||
|
<label class="form-check-label">
|
||||||
|
حذف مدیر
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
@extends('admin.layouts.app')
|
|
||||||
@section('breadcrumb')<div><h1 class="page-title fw-medium fs-18 mb-1">درج پرواز</h1><span class="text-muted fs-12">اطلاعات مورد نیاز سفر</span></div>@endsection
|
|
||||||
@section('content')<div class="container-fluid pt-4">@include('admin.partials.errors')
|
|
||||||
<form action="{{ isset($flight) ? route('admin.flights.update',$flight) : route('admin.flights.store') }}" method="POST" enctype="multipart/form-data">@csrf @if(isset($flight)) @method('PUT') @endif
|
|
||||||
<div class="row g-3"><div class="col-xl-8"><div class="card custom-card"><div class="card-header"><div class="card-title">اطلاعات پرواز</div></div><div class="card-body"><div class="row gy-3">
|
|
||||||
<div class="col-md-6"><label class="form-label">عنوان سفر *</label><input class="form-control" name="title" value="{{ old('title',$flight->title ?? '') }}" required></div>
|
|
||||||
<div class="col-md-6"><label class="form-label">نوع سفر *</label><select class="form-control" name="flight_type" required><option value="1" @selected((string)old('flight_type',$flight->flight_type ?? '')==='1')>داخلی</option><option value="2" @selected((string)old('flight_type',$flight->flight_type ?? '')==='2')>خارجی</option><option value="3" @selected((string)old('flight_type',$flight->flight_type ?? '')==='3')>چارتر</option></select></div>
|
|
||||||
<div class="col-md-6"><label class="form-label">فرودگاه مبدأ</label><select class="form-control" name="departure_airport_id" required><option value="">انتخاب فرودگاه</option>@foreach(($airports ?? []) as $airport)<option value="{{ $airport->id }}" @selected((string)old('departure_airport_id',$flight->departure_airport_id ?? '')===(string)$airport->id)>{{ $airport->title ?? $airport->name ?? ('#'.$airport->id) }}</option>@endforeach</select></div>
|
|
||||||
<div class="col-md-6"><label class="form-label">فرودگاه مقصد</label><select class="form-control" name="arrival_aiport_id" required><option value="">انتخاب فرودگاه</option>@foreach(($airports ?? []) as $airport)<option value="{{ $airport->id }}" @selected((string)old('arrival_aiport_id',$flight->arrival_aiport_id ?? '')===(string)$airport->id)>{{ $airport->title ?? $airport->name ?? ('#'.$airport->id) }}</option>@endforeach</select></div>
|
|
||||||
<div class="col-md-6"><label class="form-label">شرکت هواپیمایی</label><select class="form-control" name="airline_id" required><option value="">انتخاب ایرلاین</option>@foreach(($airlines ?? []) as $airline)<option value="{{ $airline->id }}" @selected((string)old('airline_id',$flight->airline_id ?? '')===(string)$airline->id)>{{ $airline->title ?? $airline->name ?? ('#'.$airline->id) }}</option>@endforeach</select></div>
|
|
||||||
<div class="col-md-6"><label class="form-label">تاریخ حرکت (شمسی) *</label><input type="text" class="form-control jalali-date" name="departure_time_jalali" value="{{ old('departure_time_jalali', isset($flight) && $flight->departure_time ? $flight->departure_time->toJalali()->format('Y/m/d H:i') : '') }}" placeholder="1405/06/01 12:00" autocomplete="off" required><small class="text-muted">تاریخ حرکت نباید قبل از امروز باشد.</small></div>
|
|
||||||
<div class="col-md-4"><label class="form-label">قیمت *</label><input type="number" min="0" class="form-control" name="price" value="{{ old('price',$flight->price ?? '') }}" required></div>
|
|
||||||
<div class="col-md-4"><label class="form-label">ظرفیت *</label><input type="number" min="1" class="form-control" name="capacity" value="{{ old('capacity',$flight->capacity ?? '') }}" required></div>
|
|
||||||
<div class="col-md-4"><label class="form-label">وضعیت</label><select class="form-control" name="status"><option value="1" @selected((string)old('status',$flight->status ?? 1)==='1')>فعال</option><option value="0" @selected((string)old('status',$flight->status ?? 1)==='0')>غیرفعال</option></select></div>
|
|
||||||
<div class="col-12"><label class="form-label">خلاصه سفر *</label><textarea class="form-control" name="summary" rows="4" required>{{ old('summary',$flight->summary ?? '') }}</textarea></div>
|
|
||||||
</div></div></div></div><div class="col-xl-4"><div class="card custom-card"><div class="card-header"><div class="card-title">تصویر سفر</div></div><div class="card-body"><input type="file" class="form-control" name="image" accept="image/*"><small class="text-muted d-block mt-2">تصویر اختیاری است.</small></div></div></div></div>
|
|
||||||
<div class="card custom-card mt-3"><div class="card-footer d-flex justify-content-end gap-2"><a href="{{ route('admin.flights.index') }}" class="btn btn-light">انصراف</a><button class="btn btn-primary">{{ isset($flight) ? 'ذخیره تغییرات' : 'ثبت پرواز' }}</button></div></div></form></div>@endsection
|
|
||||||
@push('scripts')<script>$(function(){ if($.fn.persianDatepicker){ $('.jalali-date').persianDatepicker({format:'YYYY/MM/DD HH:mm',timePicker:{enabled:true},autoClose:true}); }});</script>@endpush
|
|
||||||
Reference in New Issue
Block a user