Option to pass show_payment_table for statementPaymentTable
This commit is contained in:
parent
6de3637501
commit
1f341fb29a
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue