From fece3226d20838b40b0e14ed9402fdd1dd2c54dd Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Fri, 8 Dec 2023 15:34:02 +0100 Subject: [PATCH] Rename receipt to invoice --- resources/views/{receipt.blade.php => invoice.blade.php} | 2 +- src/Invoice.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename resources/views/{receipt.blade.php => invoice.blade.php} (99%) diff --git a/resources/views/receipt.blade.php b/resources/views/invoice.blade.php similarity index 99% rename from resources/views/receipt.blade.php rename to resources/views/invoice.blade.php index 5f4876e3..298beded 100644 --- a/resources/views/receipt.blade.php +++ b/resources/views/invoice.blade.php @@ -51,7 +51,7 @@ - Receipt + Invoice diff --git a/src/Invoice.php b/src/Invoice.php index ae6d2431..204fcab8 100644 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -767,7 +767,7 @@ public function isVoid() */ public function view(array $data = []) { - return View::make('cashier::receipt', array_merge($data, [ + return View::make('cashier::invoice', array_merge($data, [ 'invoice' => $this, 'owner' => $this->owner, 'user' => $this->owner,