mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Allow type_id=5 for invoice items
This commit is contained in:
parent
d231707d7d
commit
ff5769ef78
@ -273,13 +273,13 @@ 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) {
|
||||||
if ($item->type_id != 4 && $item->type_id != 6) {
|
if ($item->type_id != 4 && $item->type_id != 6 && $item->type_id != 5) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($table_type == '$task' && $item->type_id != 2) {
|
if ($table_type == '$task' && $item->type_id != 2) {
|
||||||
if ($item->type_id != 4) {
|
if ($item->type_id != 4 && $item->type_id != 5) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user