@extends("common.layout") @section("header") {!! resource('js/components/multiSelect.js') !!} {!! resource('css/components/multiSelect.css') !!} {!! resource('js/payment/payment-common.js') !!} @endsection @section("content")

{{ $service == "ielts" ? "인강" : "어학원" }} 결제목록

@csrf
@hasrole(['root',$service.'-admin', 'financial-manager']) @endhasrole
{{ number_format($count) }} 건, 총 결제금액 {{ number_format($total_price) }}
@if ( $service == 'academy') @endif @if ( $service == 'academy') @endif @foreach ($data as $item) @if (empty($item->user)) @else @endif @if ( $service == 'academy') @endif @if (empty($item->enrolls)) @else {{-- --}} @endif @endforeach
번호 주문번호 승인번호 결제일시 결제경로 아이디 이름항목구분구매상품 판매가 쿠폰사용액 원결제액 실거래액 결제상태 결제수단 상세
@if ( $item->is_remove ) @endif {{ $item->id }} $service === 'academy' && optional($item->payment->paymentCalculations()->first())->settlement_enabled ])> @if ($item->payment->old_index > 0) {{ $item->payment->old_index }} @else {{ $item->payment->payment_no }} @endif {{ $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->user?->getPlain("email") }} {!! $item->user?->edm_id ? "
(" . $item->user?->edm_id . ")" : "" !!}
{{ $item->user?->name }}{{ $item->payment->settle_type }} 등록하기 @foreach ($item->enrolls as $enroll ) @endforeach {{ $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"])) {{ number_format($item->price * -1) }} @else {{ $item->price == 0 ? "-" : number_format($item->price) }} @endif {{ $status[$item->status] }} {{ $item->payment->is_repayment ? "(재결제)" : "" }} {{ isset($method[$item->payment->method]) ? $method[$item->payment->method] : $item->payment->method; }}
@endsection @push("script") @endpush