Stub PDF generator
This commit is contained in:
parent
84ab240eda
commit
87690df25f
1 changed files with 6 additions and 1 deletions
|
|
@ -179,7 +179,12 @@ class StubBuilder
|
|||
$html = new HtmlEngine($this->invitation);
|
||||
|
||||
$design_string = "{$this->entity_type}_design_id";
|
||||
$design = DesignModel::withTrashed()->find($this->decodePrimaryKey($design_string));
|
||||
nlog($design_string);
|
||||
|
||||
$design = DesignModel::withTrashed()->find($this->decodePrimaryKey($html->settings->{$design_string}));
|
||||
|
||||
nlog($design->toArray());
|
||||
|
||||
$template = new PdfMakerDesign(strtolower($design->name));
|
||||
|
||||
$state = [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue