Skip to content
Snippets Groups Projects
Commit b7ef2db5 authored by braito4's avatar braito4
Browse files

problem with type of product

the column should be product_type
parent 05f3a470
No related branches found
No related tags found
No related merge requests found
...@@ -528,7 +528,7 @@ function createInvoice($authentication,$invoice) ...@@ -528,7 +528,7 @@ function createInvoice($authentication,$invoice)
{ {
// $key can be 'line' or '0','1',... // $key can be 'line' or '0','1',...
$newline=new FactureLigne($db); $newline=new FactureLigne($db);
$newline->type=$line['type']; $newline->product_type=$line['type'];
$newline->desc=$line['desc']; $newline->desc=$line['desc'];
$newline->fk_product=$line['fk_product']; $newline->fk_product=$line['fk_product'];
$newline->tva_tx=$line['vat_rate']; $newline->tva_tx=$line['vat_rate'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment