fix typo error
This commit is contained in:
parent
9bf0f12068
commit
05d617b759
@ -904,7 +904,7 @@ if (empty($reshook))
|
|||||||
|
|
||||||
// FIXME Missing special_code into addline and updateline methods
|
// FIXME Missing special_code into addline and updateline methods
|
||||||
$object->special_code = $lines[$i]->special_code;
|
$object->special_code = $lines[$i]->special_code;
|
||||||
|
|
||||||
// FIXME Missing $lines[$i]->ref_supplier and $lines[$i]->label into addline and updateline methods. They are filled when coming from order for example.
|
// FIXME Missing $lines[$i]->ref_supplier and $lines[$i]->label into addline and updateline methods. They are filled when coming from order for example.
|
||||||
$result = $object->addline(
|
$result = $object->addline(
|
||||||
$desc,
|
$desc,
|
||||||
@ -2717,7 +2717,7 @@ else
|
|||||||
|
|
||||||
$paymentstatic->id=$objp->rowid;
|
$paymentstatic->id=$objp->rowid;
|
||||||
$paymentstatic->datepaye=$db->jdate($objp->dp);
|
$paymentstatic->datepaye=$db->jdate($objp->dp);
|
||||||
$paymentstatic->ref=($objp->ref ? $objp->ref : $objp->rowid);;
|
$paymentstatic->ref=($objp->ref ? $objp->ref : $objp->rowid);
|
||||||
$paymentstatic->num_paiement=$objp->num_paiement;
|
$paymentstatic->num_paiement=$objp->num_paiement;
|
||||||
$paymentstatic->payment_code=$objp->payment_code;
|
$paymentstatic->payment_code=$objp->payment_code;
|
||||||
|
|
||||||
|
|||||||
@ -868,7 +868,7 @@ if (! $variants) {
|
|||||||
print '<td align="right">';
|
print '<td align="right">';
|
||||||
if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($object->price * $obj->reel, 'MT'), 1) . '</td>';
|
if (empty($conf->global->PRODUIT_MULTIPRICES)) print price(price2num($object->price * $obj->reel, 'MT'), 1) . '</td>';
|
||||||
else print $langs->trans("Variable");
|
else print $langs->trans("Variable");
|
||||||
print '</tr>';;
|
print '</tr>';
|
||||||
$total += $obj->reel;
|
$total += $obj->reel;
|
||||||
if (price2num($object->pmp)) $totalwithpmp += $obj->reel;
|
if (price2num($object->pmp)) $totalwithpmp += $obj->reel;
|
||||||
$totalvalue = $totalvalue + ($object->pmp * $obj->reel);
|
$totalvalue = $totalvalue + ($object->pmp * $obj->reel);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user