problem with type of product

the column should be product_type
This commit is contained in:
braito4
2014-09-16 19:33:07 +02:00
parent 05f3a47018
commit b7ef2db5d9

View File

@@ -528,7 +528,7 @@ function createInvoice($authentication,$invoice)
{
// $key can be 'line' or '0','1',...
$newline=new FactureLigne($db);
$newline->type=$line['type'];
$newline->product_type=$line['type'];
$newline->desc=$line['desc'];
$newline->fk_product=$line['fk_product'];
$newline->tva_tx=$line['vat_rate'];