mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 12:24:35 -04:00
Don't skip items with type_id = 4
This commit is contained in:
parent
fac03fce96
commit
de6034f3d4
@ -592,11 +592,15 @@ trait MakesInvoiceValues
|
|||||||
|
|
||||||
foreach ($items as $key => $item) {
|
foreach ($items as $key => $item) {
|
||||||
if ($table_type == '$product' && $item->type_id != 1) {
|
if ($table_type == '$product' && $item->type_id != 1) {
|
||||||
continue;
|
if ($item->type_id != 4) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($table_type == '$task' && $item->type_id != 2) {
|
if ($table_type == '$task' && $item->type_id != 2) {
|
||||||
continue;
|
if ($item->type_id != 4) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$data[$key][$table_type.'.product_key'] = $item->product_key;
|
$data[$key][$table_type.'.product_key'] = $item->product_key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user