{{--
=====================================================
Etebarit - by Gisoo Web Solutions
------------------------------------------------------
Gisoo.net
------------------------------------------------------
Copyright (c) 2026 Gisoo Web Solutions
=====================================================
This code is protected by copyright
=====================================================
File: index.blade.php
------------------------------------------------------
Use: Gateway orders for the admin, with the money-flow
modal: total, shop share, merchant fee and every
transaction the order was paid with.
=====================================================
--}}
@extends('layouts.admin')
@section('title', __('admin.orders.title'))
@section('breadcrumb')
{{ __('admin.orders.subtitle') }}
| {{ __('admin.orders.columns.code') }} | {{ __('admin.orders.columns.user') }} | {{ __('admin.orders.columns.shop') }} | {{ __('admin.orders.columns.amount') }} | {{ __('admin.orders.columns.method') }} | {{ __('admin.orders.columns.date') }} | {{ __('admin.orders.columns.status') }} | {{ __('admin.orders.columns.details') }} |
|---|---|---|---|---|---|---|---|
| {{ $order->code }} | @if ($order->user) {{ $order->user->fullName() }} @else {{ __('admin.orders.no_buyer') }} @endif | {{ $order->shop->name }} | @toman($order->amount) {{ __('admin.toman') }} | $order->isPaid(), 'bg-[#fff5e6] text-amber-600' => $order->isPending(), 'bg-secondary-50 text-secondary-500' => ! $order->isPaid() && ! $order->isPending(), ])>{{ $parts->isEmpty() ? __('admin.orders.transaction_count_none') : __('admin.orders.transaction_count', ['count' => \App\Support\Format::persianDigits((string) $parts->count())]) }} | @jalaliDateTime($order->created_at) | $order->isPaid(), 'bg-[#fff5e6] text-amber-600' => $order->isPending(), 'bg-secondary-50 text-secondary-500' => ! $order->isPaid() && ! $order->isPending(), ])>{{ __("admin.orders.statuses.{$order->status}") }} | {{ __('admin.orders.details') }} |
| {{ __('admin.orders.empty') }} | |||||||
{{ __('admin.orders.no_transactions') }}