[eluser]Unknown[/eluser]
=================================================================
INVOICE TYPE : INVOICE
SR(A) : CODEIGNITER
INVOICE DETAILS
CODE / DESCRIPTION QUANTITY P. UNIT P. TOTAL
RJ-045 - VIDEO IRON MAN 2 20.00 40.00
RJ-556 - VIDEO AVATAR 2 15.50 31.00
=================================================================
I have 2 tables, "invoice","detailInvoice":
INVOICE:
id_invoice
id_typeInvoice
id_client
DETAILINVOICE:
id_detailInvoice
id_invoice
quantity
price
date
Any ideas to enter the details to the database. I can enter the Master (TypeInvoice and CustomerID) the problem is with the detail.
Thanks!