Update consumption.php
This commit is contained in:
parent
1b33952028
commit
0725ce0e3f
@ -595,7 +595,7 @@ if ($sql_select)
|
||||
print '</td>';
|
||||
|
||||
//print '<td class="left">'.$prodreftxt.'</td>';
|
||||
if ($type_element == 'invoice' && $objp->doc_type == '2') $objp->prod_qty=-($objp->prod_qty);
|
||||
if ($type_element == 'invoice' && $objp->doc_type == Facture::TYPE_CREDIT_NOTE) $objp->prod_qty=-($objp->prod_qty);
|
||||
print '<td class="right">'.$objp->prod_qty.'</td>';
|
||||
$total_qty+=$objp->prod_qty;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user