diff --git a/packages/Webkul/Admin/src/Mail/InvoiceOverdueReminder.php b/packages/Webkul/Admin/src/Mail/InvoiceOverdueReminder.php new file mode 100644 index 000000000..dabe48271 --- /dev/null +++ b/packages/Webkul/Admin/src/Mail/InvoiceOverdueReminder.php @@ -0,0 +1,56 @@ +customer = $customer; + + $this->invoice = $invoice; + } + + /** + * Build the message. + * + * @return $this + */ + public function build() + { + return $this->from(core()->getSenderEmailDetails()['email'], core()->getSenderEmailDetails()['name']) + ->to($this->customer->email) + ->subject(trans('shop::app.mail.invoice.reminder.subject')) + ->view('shop::emails.customer.invoice-reminder')->with(['customer' => $this->customer, 'invoice' => $this->invoice]); + } +} \ No newline at end of file diff --git a/packages/Webkul/Shop/src/Resources/views/emails/customer/invoice-remainder.php b/packages/Webkul/Shop/src/Resources/views/emails/customer/invoice-remainder.php new file mode 100644 index 000000000..366a232b1 --- /dev/null +++ b/packages/Webkul/Shop/src/Resources/views/emails/customer/invoice-remainder.php @@ -0,0 +1,33 @@ +@component('shop::emails.layouts.master') + +
+ {{ __('shop::app.mail.customer.new.thanks') }} +
+