account pages: login, order history, order details, account details, wishlist

This commit is contained in:
elvira committed 2026-09-24 17:27:58 +03:00
1 parent 580adac33a
commit cf3681260b
42 files changed
+1972 -15

No files matched your search

@@ -0,0 +1,13 @@
{{--
An order status as text, e.g. "Σε επεξεργασία". Translated through
storefront.order_status.{status}, falling back to Lunar's own (English)
label from config('lunar.orders.statuses') when that key doesn't exist.
--}}
@props(['status'])
@php
$key = "storefront.order_status.{$status}";
$label = Lang::has($key) ? __($key) : config("lunar.orders.statuses.{$status}.label", $status);
@endphp
<span {{ $attributes }}>{{ $label }}</span>