Merge pull request #1893 from braito4/patch-2

problem with type of product
This commit is contained in:
Laurent Destailleur 2014-09-22 23:46:48 +02:00
commit 3b53ccbe44

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'];