@php use App\Common\Helper\BaseHelper; @endphp
{{ number_format($count) }} 건, 총 결제금액 {{ number_format($total_price) }}
@foreach ($data as $item) @if (empty($item->product)) @else @endif @endforeach
번호 주문번호 승인번호 결제일시 결제경로 항목구분 상품 옵션 판매가 쿠폰사용액 원결제액 실결제액 결제상태 결제수단 상세
{{ $item->id }} {{ $item->payment->payment_no }} {{ $item->payment->approval_no }} {{ date('Y-m-d H:i', strtotime($item->created_at)) }} {{ isset($location[$item->payment->location]) ? $location[$item->payment->location] : $item->payment->location }} 등록하기 {{ $item->product_type }} {{ $item->product?->name }} {{ $item->option?->name }}{{ $item->payment->price == 0 ? "-" : number_format($item->payment->price) }} {{ $item->payment->discount_price == 0 ? "-" : number_format($item->payment->discount_price) }} {{ number_format($item->payment->total_price) }} @if (in_array($item->status, ['CANCELED', "PART_CANCELED", "REPAYMENT"])) {{ number_format($item->price * -1) }} @else {{ $item->price == 0 ? "-" : number_format($item->price) }} @endif {{ $status[$item->status] }} {{ $method[$item->payment->method] }}