Yii Booking Form

I’ve created the beginnings of a Hotel booking system on top of Yii framework, but cannot progress any further.

I have three tables in my database booking, bookingrooms, room and the bookingrooms is the link table resolving many to many.

CRUD has created forms for booking and room, but the booking form is too simple and does not include the bookingrooms section that I want in the form.

How do I put this area onto the form? It would be a live grid of some sort with editing for multiple bookings. Do I need to create my own form? How do i get started?

I don’t Know If you have a solution yet, but I find an extension that can simplify the code that you gonna need.
Here you have an official URL from yii:

and here a tutorial:

I’ll hope I’ve be helpful dude, take care.