{{--
=====================================================
Etebarit - by Gisoo Web Solutions
------------------------------------------------------
Gisoo.net
------------------------------------------------------
Copyright (c) 2026 Gisoo Web Solutions
=====================================================
This code is protected by copyright
=====================================================
File: index.blade.php
------------------------------------------------------
Use: The merchant "My Shop" page: shop banner + wallet,
the three sales counters, the sales table with the
merchant-fee split, the shop identity form and the
gateway credentials with rotation.
=====================================================
--}}
@extends('layouts.merchant')
@section('title', __('front.shop.title'))
@php
use App\Support\Format;
$percent = Format::percentFromBp($shop->fee_percent);
@endphp
@section('breadcrumb')
| {{ __('front.shop.orders.order') }} | {{ __('front.shop.orders.customer') }} | {{ __('front.shop.orders.total') }} | {{ __('front.shop.orders.time') }} | {{ __('front.shop.orders.status') }} | {{ __('front.shop.orders.actions') }} |
|---|---|---|---|---|---|
| {{ $order->code }} | {{ $order->user?->fullName() ?? '—' }} | @toman($order->amount) {{ __('front.shop.orders.toman') }} | @jalaliDateTime($order->paid_at ?? $order->created_at) | $paid, 'bg-[#fff5e6] text-amber-600' => $order->status === \App\Models\Order::STATUS_PENDING, 'bg-secondary-50 text-secondary-500' => in_array($order->status, [\App\Models\Order::STATUS_FAILED, \App\Models\Order::STATUS_EXPIRED], true), ])>{{ __('front.shop.sales.statuses.'.$order->status) }} | |
| {{ __('front.shop.recent_orders.empty') }} | |||||
{{ __('front.shop.keys.hint') }}
{{-- How the shop plugs into the network, animated. --}}{{ __('front.shop.keys.regen_warning') }}