From b87e22381f8d6155065cc1469fed2c923574f3fd Mon Sep 17 00:00:00 2001 From: Konstantinos Arvanitakis Date: Thu, 3 Sep 2026 11:46:55 +0300 Subject: [PATCH] Feat: Publishing Payment and Order Emails --- resources/views/search.blade.php | 100 ++++++++++++++++++ .../order/notifications/captured.blade.php | 3 + .../order/notifications/delivered.blade.php | 3 + .../order/notifications/refunded.blade.php | 3 + .../notifications/status-updated.blade.php | 3 + 5 files changed, 112 insertions(+) create mode 100644 resources/views/search.blade.php create mode 100644 resources/views/vendor/core/order/notifications/captured.blade.php create mode 100644 resources/views/vendor/core/order/notifications/delivered.blade.php create mode 100644 resources/views/vendor/core/order/notifications/refunded.blade.php create mode 100644 resources/views/vendor/core/order/notifications/status-updated.blade.php diff --git a/resources/views/search.blade.php b/resources/views/search.blade.php new file mode 100644 index 0000000..e3923da --- /dev/null +++ b/resources/views/search.blade.php @@ -0,0 +1,100 @@ +@extends('layouts.app') + +@section('title', 'Αναζήτηση') + +@section('content') + +
+ +
+ + + +
+ + @if ($query === '') +

Πληκτρολόγησε κάτι για αναζήτηση.

+ @else +
+ +
+ @if ($results->isEmpty()) +

Δεν βρέθηκαν αποτελέσματα για "{{ $query }}".

+ @else +

{{ $results->count() }} αποτελέσματα για "{{ $query }}"

+ + + @endif +
+ + {{-- Filter sidebar — same shape/components as category/partials/listing.blade.php, + adapted to SearchListing's query() (which always carries `q`) instead of + CategoryListing's collection-scoped one. --}} + + +
+ @endif + +
+ +@endsection diff --git a/resources/views/vendor/core/order/notifications/captured.blade.php b/resources/views/vendor/core/order/notifications/captured.blade.php new file mode 100644 index 0000000..06b97e2 --- /dev/null +++ b/resources/views/vendor/core/order/notifications/captured.blade.php @@ -0,0 +1,3 @@ +

Hi,

+ +

Payment of {{ $amount }} for your order {{ $reference }} has been captured.

diff --git a/resources/views/vendor/core/order/notifications/delivered.blade.php b/resources/views/vendor/core/order/notifications/delivered.blade.php new file mode 100644 index 0000000..5e3f1d4 --- /dev/null +++ b/resources/views/vendor/core/order/notifications/delivered.blade.php @@ -0,0 +1,3 @@ +

Hi,

+ +

Good news — your order {{ $reference }} has been delivered.

diff --git a/resources/views/vendor/core/order/notifications/refunded.blade.php b/resources/views/vendor/core/order/notifications/refunded.blade.php new file mode 100644 index 0000000..59228a2 --- /dev/null +++ b/resources/views/vendor/core/order/notifications/refunded.blade.php @@ -0,0 +1,3 @@ +

Hi,

+ +

A refund of {{ $amount }} has been issued for your order {{ $reference }}.

diff --git a/resources/views/vendor/core/order/notifications/status-updated.blade.php b/resources/views/vendor/core/order/notifications/status-updated.blade.php new file mode 100644 index 0000000..fbcd470 --- /dev/null +++ b/resources/views/vendor/core/order/notifications/status-updated.blade.php @@ -0,0 +1,3 @@ +

Hi,

+ +

Your order {{ $reference }} is now: {{ $statusLabel }}