@version(2) @load('css/shop.css')

{{ $lang->shop_my_orders }}

@if ($is_member)
@if (!empty($my_grade))
{{ $lang->shop_grade }}{{ $my_grade->title }} (누적 {{ shop_money_base($my_grade->total_spend) }})
@endif
{{ $lang->shop_credit_balance }}{{ shop_money_base($credit_balance) }}
@if (empty($orders))

{{ $lang->shop_no_orders }}

@else @foreach ($orders as $o) @endforeach
{{ $lang->shop_order_code }}{{ $lang->shop_total }}상태
{{ $o->order_code }}
{{ zdate($o->regdate, 'Y.m.d H:i') }}
{{ shop_money_in($o->payment_price, $o->currency ?? 'KRW') }} @php $shp_ds = $o->display_status ?? $o->status; @endphp{{ $lang->{'shop_status_' . $shp_ds} ?? $shp_ds }} {{ $lang->shop_view }}@if ($shp_ds === 'confirmed' && !empty($o->needs_review)) 리뷰 작성@endif
@endif @if (!empty($credit_logs))

{{ $lang->shop_credit_history }}

@foreach ($credit_logs as $cl) @endforeach
{{ $lang->shop_credit_date }}{{ $lang->shop_credit_change }}{{ $lang->shop_credit_balance }}{{ $lang->shop_credit_type }}
{{ zdate($cl->regdate, 'Y.m.d H:i') }} {{ $cl->amount >= 0 ? '+' : '' }}{{ number_format($cl->amount) }} {{ number_format($cl->balance_after) }} {{ $lang->{'shop_credit_type_' . $cl->type} ?? $cl->type }}
@endif @else

{{ $lang->shop_guest_lookup_help }}

@endif