git commit "fix: persianDatepicker did not initialize due to jQuery loading after content
This commit is contained in:
@@ -92,8 +92,6 @@ class FlightController extends Controller
|
||||
return view('admin.flights.edit',compact('flight'));
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function update(FlightStoreRequest $request, Flight $flight)
|
||||
{
|
||||
|
||||
@@ -128,6 +126,7 @@ class FlightController extends Controller
|
||||
|
||||
}
|
||||
|
||||
$data['updated_by'] = auth('admin')->id();
|
||||
|
||||
$flight->update($data);
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ class TourController extends Controller
|
||||
->store('tours','public');
|
||||
|
||||
}
|
||||
|
||||
$data['updated_by'] = auth('admin')->id();
|
||||
|
||||
$tour->update($data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user