@extends('admin.layouts.admin') @section('title', 'Lịch sử đơn hàng') @section('content')
LỊCH SỬ TẠO ĐƠN
@if ($orders->isEmpty()) @include('admin.components.table-search-not-found', ['colspan' => 8]) @else @foreach ($orders as $order) @endforeach @endif
Hoàn Tiền Ghi chú admin Thông Tin Thao tác Bắt đầu Đã chạy Dữ liệu đối tác Dữ liệu đơn hàng Bình luận Ghi chú
  • ID: {{ $order->id }}
  • Username: {{ optional($order->user)->username ?? 'Không tìm thấy tên người dùng' }}
  • Mã đơn: {{ $order->order_code }}
  • Trạng Thái: {!! statusOrder($order->status, true) !!}
{{-- @if ($order->status === 'Processing') @elseif ($order->status === 'Running') @endif --}}
@csrf
{{-- xoá --}}
@csrf
@csrf
  • Mã đối tác: {{ $order->order_id }}
  • Đối tác: {{ $order->orderProviderName }}
  • Máy chủ đối tác: {{$order->orderProviderServer }}
  • Đường dẫn máy chủ đối tác: {{$order->orderProviderPath }}
  • Đường dẫn: {{ $order->object_id }}
  • Máy chủ: {{$order->object_server }}
  • Dịch vụ: {{ $order->service->name ?? 'Không tìm thấy dữ liệu' }}
  • Tên sản phẩm : {{ $order->server->name ?? 'Không tìm thấy dữ liệu' }}
  • Số lượng: {{ number_format(json_decode($order->order_data, true)['quantity']) }}
  • Giá: {{ $order->price }} đ
  • Thành tiền: {{ number_format($order->payment) }} đ
  • Thời gian tạo: {{ $order->created_at }}
{{ $orders->appends(request()->all())->links('pagination::bootstrap-4') }}
@if (getDomain() == env('APP_MAIN_SITE')) @endif
LỊCH SỬ ĐƠN CẦN HOÀN
@if ($ordersrefund->isEmpty()) @include('admin.components.table-search-not-found', ['colspan' => 8]) @else @foreach ($ordersrefund as $order) {{-- Thông tin --}} {{-- Thao tác --}} {{-- Bắt đầu --}} {{-- Đã chạy --}} {{-- Dữ liệu đối tác --}} {{-- Dữ liệu đơn hàng --}} {{-- Bình luận --}} {{-- Ghi chú --}} @endforeach @endif
Thông Tin Thao tác Bắt đầu Đã chạy Dữ liệu đối tác Dữ liệu đơn hàng Bình luận Ghi chú
  • ID: {{ $order->id }}
  • Username: {{ optional($order->user)->username ?? 'Không tìm thấy tên người dùng' }}
  • Mã đơn: {{ $order->order_code }}
  • Trạng Thái: {!! statusOrder($order->status, true) !!}
@csrf
@csrf
  • Mã đối tác: {{ $order->order_id }}
  • Đối tác: {{ $order->orderProviderName }}
  • Máy chủ đối tác: {{ $order->orderProviderServer }}
  • Đường dẫn máy chủ đối tác: {{ $order->orderProviderPath }}
  • Đường dẫn: {{ $order->object_id }}
  • Máy chủ: {{ $order->object_server }}
  • Dịch vụ: {{ $order->service->name ?? 'Không tìm thấy dữ liệu' }}
  • Số lượng: {{ number_format(json_decode($order->order_data, true)['quantity']) }}
  • Giá: {{ $order->price }} đ
  • Thành tiền: {{ number_format($order->payment) }} đ
  • Thời gian tạo: {{ $order->created_at }}
{{ $ordersrefund->appends(request()->all())->links('pagination::bootstrap-4') }}
@endsection @section('script') @endsection