PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

How can I create Invoice functionality using Voyager bread?

uday-kothari

Apr 30th, 2022 03:06 AM

Hi all,

Is it possible that I can create Master/Detail type functionality like Invoices ( Invoice master will have attributes like Inv Nr, Customer, Date, Amount and invoice details will have product_code, quantity, rate, amount etc. Invoice amount will be sum of all line items amount in invoice details.

Thanks and appreciate any help...

Uday

bobbyiliev

Apr 30th, 2022 03:10 AM

Hello,

Yes, this sounds like a standard thing.

You can start by creating your database table with all of the attributes that you've mentioned:

Database Manager

Then create a BREAD to display those invoices:

BREAD creation

Hope that this helps!

Let me know if I've missed anything.

Best,

Bobby