Creating an invoice

QuestionsCreating an invoice
Gary Brett asked 9 years ago

Hi Abu, before I spend weeks trying to put this together I wonder if its even possible?

I need to create an invoice page using nested master detail. In master I would have clients, selecting a client would load invoices of that client into list1, clicking on the invoice in list1 would load records with that invoice ID into list2. This would allow me to add multiple entries to an invoiceid in list1 from list2.

As I understand all detail grids are linked on the id from master grid, I need list2 to link to the invoice ID in list1. Changing your demo to allow add on list2 does not insert any data;

Example;

Master record ID 10
List1 add a single record with invoiceiD of say 13
List2 add multiple records bound to list1 invoiceID 13

Is that possible & could I then add a sum on only the 'payment' column in list 3?

Thank you

1 Answers
Abu Ghufran answered 9 years ago

You can refer demos/master-detail/nested-master-detail.php.
It shows working demo how to use 3 level master detail.

Your Answer

16 + 0 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?