Skip to content

Commit

Permalink
Fixes toHtml() method
Browse files Browse the repository at this point in the history
  • Loading branch information
mc0de committed Jan 17, 2022
1 parent 2bd9be2 commit 7e97262
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,6 @@ public function render()

public function toHtml()
{
$this->beforeRender();

$template = sprintf('invoices::templates.%s', $this->template);

return View::make($template, ['invoice' => $this]);
Expand Down

0 comments on commit 7e97262

Please sign in to comment.