mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Ensure gateway fees are displayed with invoices that only have tasks
This commit is contained in:
parent
52ae1722b3
commit
ae8fbc89d9
@ -1239,7 +1239,7 @@ class PdfBuilder
|
||||
public function productTable(): array
|
||||
{
|
||||
$product_items = collect($this->service->config->entity->line_items)->filter(function ($item) {
|
||||
return $item->type_id == 1 || $item->type_id == 6 || $item->type_id == 5;
|
||||
return $item->type_id == 1 || $item->type_id == 6 || $item->type_id == 5 || $item->type_id == 4;
|
||||
});
|
||||
|
||||
if (count($product_items) == 0) {
|
||||
|
@ -441,7 +441,7 @@ class Design extends BaseDesign
|
||||
public function productTable(): array
|
||||
{
|
||||
$product_items = collect($this->entity->line_items)->filter(function ($item) {
|
||||
return $item->type_id == 1 || $item->type_id == 6 || $item->type_id == 5;
|
||||
return $item->type_id == 1 || $item->type_id == 6 || $item->type_id == 5 || $item->type_id == 4;
|
||||
});
|
||||
|
||||
if (count($product_items) == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user