some time ago I've asked for something similar, but now I'm picking up with this, so asking again.
Maybe this question can sound simple but it's not for me.
I have two tables:
header (id,date,field1,field2) // This has One entry on the table
detail (id,idheader,field1,field2) // This can have multiple entries on the table
so header (1) ---> detail (N)
Which can be the best method to make a form and upate on the same $f->update() these two tables ?
Imagine that this can be a lot of things: an invoice, a budget, etc, etc
Very thanks