mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 07:24:37 -04:00
Merge pull request #6308 from beganovich/v5-574
(v5) Allow type_id=5 for invoice items
This commit is contained in:
commit
bccdf630ad
@ -273,13 +273,13 @@ trait MakesInvoiceValues
|
||||
|
||||
foreach ($items as $key => $item) {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
if ($table_type == '$task' && $item->type_id != 2) {
|
||||
if ($item->type_id != 4) {
|
||||
if ($item->type_id != 4 && $item->type_id != 5) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user