feat: finish the indexController for tours
This commit is contained in:
@@ -35,8 +35,6 @@ class TourController extends Controller
|
|||||||
|
|
||||||
$startTime = verta($tour->tour_details->first()?->start_date)->format('d-%B');
|
$startTime = verta($tour->tour_details->first()?->start_date)->format('d-%B');
|
||||||
$endTime = verta($tour->tour_details->first()?->end_date)->format('d-%B');
|
$endTime = verta($tour->tour_details->first()?->end_date)->format('d-%B');
|
||||||
|
|
||||||
|
|
||||||
$startTravel = verta($tour->tour_details->first()?->start_date)->format('Y-m-d');
|
$startTravel = verta($tour->tour_details->first()?->start_date)->format('Y-m-d');
|
||||||
$endTravel = verta($tour->tour_details->first()?->end_date)->format('Y-m-d');
|
$endTravel = verta($tour->tour_details->first()?->end_date)->format('Y-m-d');
|
||||||
$startDay = verta($tour->tour_details->first()?->start_date)->format('%A');
|
$startDay = verta($tour->tour_details->first()?->start_date)->format('%A');
|
||||||
|
|||||||
Reference in New Issue
Block a user