Add option to accept payments in the Design
This commit is contained in:
parent
e12a8d94dc
commit
9dc61da56e
1 changed files with 4 additions and 0 deletions
|
|
@ -41,6 +41,10 @@ trait DesignHelpers
|
|||
$this->entity = $this->invoices->first();
|
||||
}
|
||||
|
||||
if (isset($this->context['payments'])) {
|
||||
$this->payments = $this->context['payments'];
|
||||
}
|
||||
|
||||
$this->document();
|
||||
|
||||
return $this;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue