Summary to calculate VAT if not exempt.
Please, I have the following code in my DealsRelationManager.php in my Bookings edit page.
I need to update the code so the hard-coded id '2'
In line: $booking = Booking::where('id', 2)->firstOrFail();
is dynamically loaded. Any suggestions, thanks."
2 Replies
Use livewire component in the closure…
Thank you for help and time...
I have followed your advice and now I have it working:
From:
https://filamentphp.com/docs/3.x/panels/resources/relation-managers#importing-related-records
Thank you Tim.