mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 11:34:29 -04:00
Option to pass show_payment_table
for statementPaymentTable
This commit is contained in:
parent
6de3637501
commit
1f341fb29a
@ -388,6 +388,10 @@ class Design extends BaseDesign
|
||||
return [];
|
||||
}
|
||||
|
||||
if (\array_key_exists('show_payment_table', $this->options) && $this->options['show_payment_table'] === false) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$tbody = [];
|
||||
|
||||
foreach ($this->payments as $payment) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user