Hi Rob,
Thanks for the reply. I have managed to get this code done. What I
wanted really was how to save and update.
For instance, I want to know how to create the instance of the
invoice, and the invoice lines. When updating the invoice, its line
items with the respective order should be also updated in the db.
If I remove one item from the list, the order of each item should be
adjusted.
Let’s say I have the following invoiceitems:
item, qty, price, order
1, 3, 12.0, 1
6, 1, 23.0, 2
3, 2, 11.0, 3
if I remove item with order 2, I should get the following:
1, 3, 12.0, 1
3, 2, 11.0, 2
What I am after is a view + controller solution.
Thanks in advance.
Regards,
Fidel.
On Sat, Sep 19, 2009 at 11:59 PM, Rob B.