bugfix
This commit is contained in:
parent
0e14e7982b
commit
844418fe21
@ -3,7 +3,8 @@
|
|||||||
* Copyright (C) 2004 Éric Seigne <eric.seigne@ryxeo.com>
|
* Copyright (C) 2004 Éric Seigne <eric.seigne@ryxeo.com>
|
||||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
|
* Copyright (C) 2005 Marc Barilley / Ocebo <marc@ocebo.com>
|
||||||
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
* Copyright (C) 2005-2006 Regis Houssin <regis.houssin@cap-networks.com>
|
||||||
|
* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -343,7 +344,6 @@ if ($_POST['action'] == 'addligne' && $user->rights->facture->creer)
|
|||||||
$result = $fac->addline(
|
$result = $fac->addline(
|
||||||
$_POST['facid'],
|
$_POST['facid'],
|
||||||
$_POST['desc'],
|
$_POST['desc'],
|
||||||
$_POST['product_desc'],
|
|
||||||
$_POST['pu'],
|
$_POST['pu'],
|
||||||
$_POST['qty'],
|
$_POST['qty'],
|
||||||
$_POST['tva_tx'],
|
$_POST['tva_tx'],
|
||||||
|
|||||||
@ -1009,7 +1009,7 @@ class Facture
|
|||||||
* \param dateend date de fin de validité du service
|
* \param dateend date de fin de validité du service
|
||||||
* \param ventil code de ventilation comptable
|
* \param ventil code de ventilation comptable
|
||||||
*/
|
*/
|
||||||
function addline($facid, $desc, $product_desc, $pu, $qty, $txtva, $fk_product=0, $remise_percent=0, $datestart='', $dateend='', $ventil = 0)
|
function addline($facid, $desc, $pu, $qty, $txtva, $fk_product=0, $remise_percent=0, $datestart='', $dateend='', $ventil = 0)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
dolibarr_syslog("facture.class.php::addline($facid,$desc,$pu,$qty,$txtva,$fk_product,$remise_percent,$datestart,$dateend,$ventil)");
|
dolibarr_syslog("facture.class.php::addline($facid,$desc,$pu,$qty,$txtva,$fk_product,$remise_percent,$datestart,$dateend,$ventil)");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user