@extends('backend.layout') @section('content')

Thông tin đại lý : {{$item->fullname }}

Danh sách @include('backend.web.agency.nav')
@foreach($purchases as $pur) @endforeach
STT Chi tiết Ngày mua Tổng tiền Giảm giá Thanh toán Trạng thái Ngày xác nhận Người xác nhận Website Action
{{ $loop->index + 1 }} {{ $pur->order_code }}
    @foreach($pur->purchaseDetails as $item)
  • {{ @$item->service->name }} | Account: {{ $item->total_account }}
  • @endforeach
{{ $pur->created_at->format('Y-m-d') }} {{ $pur->amount_total }} usd {{ $pur->discount }}% {{ $pur->amount_paid }} usd {{ $pur->status == "active" ? 'Thanh toán' : 'Chưa thanh toán'}} {{ $pur->purchase_date != null ? $pur->purchase_date->format('Y-m-d') : '' }} {{ @$pur->user->name }} {{ $pur->type }} @if($pur->status == 'new')
@endif
{{ $purchases->appends(@$_GET)->links() }}
@endsection @push('styles') @endpush @push('scripts') @endpush