Open modal showing the edit view of a different resource
I have two different resources 'Verification' and 'Bookings'. Both resources are tied to the Booking model.
On my Verification page, I would like an action that opens a modal when clicked, displaying the edit form of the Booking resource within.
Please can somebody help explain how I could achieve this?
Many thanks in advance for any replies!
On my Verification page, I would like an action that opens a modal when clicked, displaying the edit form of the Booking resource within.
Please can somebody help explain how I could achieve this?
Many thanks in advance for any replies!
Solution
you can create new action
and in the form method you can call the booking form
in theory it should work
and in the form method you can call the booking form
BookingResource::form($form);in theory it should work