From 5fd050e11606fa50585781780a0e39a37f0f0771 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 17 Jul 2024 22:51:53 +0200 Subject: [PATCH] Move template dir from default to invoice --- app/Invoice/InvoiceDocument.php | 2 +- resources/views/tex/templates/{default => invoice} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename resources/views/tex/templates/{default => invoice} (100%) diff --git a/app/Invoice/InvoiceDocument.php b/app/Invoice/InvoiceDocument.php index b27aef9b..383d4376 100644 --- a/app/Invoice/InvoiceDocument.php +++ b/app/Invoice/InvoiceDocument.php @@ -64,7 +64,7 @@ abstract class InvoiceDocument extends Document public function template(): Template { - return Template::make('tex.templates.default'); + return Template::make('tex.templates.invoice'); } public function setFilename(string $filename): self diff --git a/resources/views/tex/templates/default b/resources/views/tex/templates/invoice similarity index 100% rename from resources/views/tex/templates/default rename to resources/views/tex/templates/invoice