I am working on a project using Nova, and I need to create a standard invoice view resource for the invoice model. I am uncertain about the best approach and would appreciate some guidance.
Here's what I have accomplished so far:
- I have created the invoice model using Laravel Eloquent ORM.
- I have set up the necessary relationships between the invoice model and other related models (e.g., user, product, etc.).
- I need to create a resource for the invoice model to display a standard invoice view in my Nova 4 admin panel. the invoice create view will allow me to add new items on the fly to the invoice. I am not sure about the required steps or any specific customizations needed to achieve this.
Could you please provide instructions or resources on how to create a standard invoice view resource in a Nova project?