Add option to accept payments in the Design

This commit is contained in:
Benjamin Beganović 2021-08-23 14:21:28 +02:00
parent e12a8d94dc
commit 9dc61da56e

View File

@ -41,6 +41,10 @@ trait DesignHelpers
$this->entity = $this->invoices->first(); $this->entity = $this->invoices->first();
} }
if (isset($this->context['payments'])) {
$this->payments = $this->context['payments'];
}
$this->document(); $this->document();
return $this; return $this;