Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

171
Views
display title in each day in fullcalander.io

i am trying to dispaly booked hotel room number in a calander. in date range the room number displayed in first date only. i need to dispaly the title(room_number) in every day it books.

$(document).ready(function(){
    var booking_details  = @json($booking_details);

    // console.log(booking_details);

    $("#calander").fullCalendar({
    events: booking_details,
    eventColor: '#FF0000'
    }); 
});

I got data by JSON

$booking_details = array();
$bookings = Booking::all();
   
foreach($bookings as $booking){

    $booking_details[]=[
        'title'=>$booking->room_number,
        'start'=>$booking->checkin_date,
        'end'=>$booking->checkout_date
    ];
}
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!