dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] Erreur dans propal.class.php


From: Ludovic MAINIE -- OrdiLem --
Subject: [Dolibarr-dev] Erreur dans propal.class.php
Date: Wed, 08 Aug 2007 11:07:46 +0000

Problème :
Lorsque que l'on créé une propal, la TVA est déduite 2 fois du total


Localisation du pb dans le fichier propal.class.php Ligne 504 :

$resql = $this->addline(
$this->id,
$this->products[$i]->desc,
$this->products[$i]->subprice,
$this->products[$i]->qty,
$this->products[$i]->tva_tx,
$this->products[$i]->fk_product,
$this->products[$i]->remise_percent,
$this->products[$i]->date_start,
$this->products[$i]->date_end
);

alors que la fonction réclame :
function addline($propalid, $desc, $pu, $qty, $txtva, $fk_product=0, $remise_percent=0, $price_base_type='HT')


il faut donc mettre:
$resql = $this->addline(
$this->id,
$this->products[$i]->desc,
$this->products[$i]->subprice,
$this->products[$i]->qty,
$this->products[$i]->tva_tx,
$this->products[$i]->fk_product,
$this->products[$i]->remise_percent
);

Cordialement,


Ludovic MAINIE

4 imp. du puits
27370 LE THUIT-SIGNOL
Tel :    06.24.31.88.85
Mèl:    address@hidden
Web:   www.ordilem.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]