Sidebar content for an estimator app?
Anyone know if the following is doable?
I have an estimator app that is using form builder and collecting a ton of data. It's not user facing, just an internal tool in the construction industry. It collects fields, has several repeaters so the user can add items and the App does the pricing.
Any suggestions on a place I can build line items with the calculated items, tax, subtotals etc to create an invoice? I was hoping to do a sidebar kind of thing but I'm open to suggestions. The problem is, I'm in form builder so it may not be able to create a nice table kind of deal on the same page as the form is used. I suppose I can just create disabled fields though.
Suggestions?
3 Replies
I guess what I'm hoping for is a table or info list on the same page as the form that's reactive as the form is built.
I would probably use either a view field or a custom field component to render a table with your calculated values. You could use the filament blade components for tables in your view to keep the look of the UI consistent and you should be able to access the state of the rest of the form injecting the Get function which is in the advanced forms documentation. You’ll probably need to make most of the fields of your component reactive so that your custom view gets re-rendered when the state of the form changes.
Great suggestion, thanks