New: add function to sort the total qty of products or/and services
This commit is contained in:
parent
e28ab7f759
commit
0bc8173c8f
@ -935,7 +935,7 @@ function pdf_getTotalQty($object,$type='',$outputlangs)
|
||||
{
|
||||
$total += $object->lines[$i]->qty;
|
||||
}
|
||||
if ($type==9 && !empty($object->hooks) && $object->lines[$i]->product_type == 9 && !empty($object->lines[$i]->special_code))
|
||||
else if ($type==9 && !empty($object->hooks) && $object->lines[$i]->product_type == 9 && !empty($object->lines[$i]->special_code))
|
||||
{
|
||||
// TODO add hook function
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user