@extends('layouts.layout-mypage') @section("class", "orderView") @section('mypage-content')
주문고객 정보

*결제내역은 최대 5년까지 조회하실 수 있습니다.

  • 이름

    {{ $user->name }}

  • 휴대폰번호

    (+{{ $user->phone_code }}) {{ $user->phone }}

  • 이메일

    {{ $user->email }}

결제 정보
  • 서비스 구분

  • 주문번호

    {{ $payment->payment_no }}

  • 주문상품
    (옵션)
    / 판매가

    @foreach ($payment->enrolls as $enroll)

    {{ $enroll->productName }} ({{ $enroll->optionName }})

    {{ number_format($enroll->price) }}원

    @endforeach
  • @if ( $payment->service == 'ielts')
  • 수강기간

    @foreach ($payment->enrolls as $enroll)

    {{ $enroll->productOption->period }}일

    @endforeach
  • @endif
  • 결제일

    {{ date('y.m.d H:i', strtotime($payment->paid_at)) }}

  • 실결제금액

    영수증

    {{ number_format($payment->total_price) }}원 @php $canceledPrice = $payment->getCanceledPrice(); @endphp @if ( $canceledPrice > 0) (취소금액 -{{ number_format($canceledPrice) }}원) @endif

  • 쿠폰 사용금액

    @if ($payment->discount_price > 0)

    {{ number_format($payment->discount_price) }}원 @foreach ($payment->issuedCoupons as $coupon) ・[] {{ $coupon->coupon->name }} @endforeach

    @else

    -

    @endif
  • 결제상태

    @if ( $status != 'CANCELED' && $payment->total_price != $payment->getActualPrice()) 부분취소 @else {{ $status[$payment->status] }} @endif

  • 결제상태

    {{ $method[$payment->method] }} @if ($payment->method == "CARD") ({{ isset($cards[$payment->card_name]) ? $cards[$payment->card_name] : "" }}카드 {{ $payment->is_sum == 1 ? "일시불" : "할부 " . $payment->monthly_count . "개월" }}) @endif

@php $delivery = $payment->getDelivery(); @endphp @if ($delivery) 배송 정보
  • 받는분

    {{ $delivery->receiver }}

  • 휴대폰번호

    (+ {{ $delivery->country->phone_code }}){{ $delivery->mobile }}

  • 전화번호

    @if ($delivery->tel)

    (+ {{ $delivery->country->phone_code }}){{ $delivery->tel }}

    @else

    -

    @endif
  • 배송국가

    {{ $delivery->country->name }}

  • 배송지

    ({{ $delivery->zip_code }}) {{ $delivery->address }} {{ $delivery->address_detail }}

  • 배송현황

    배송완료

    배송조회
@endif @if ($payment->userExamTicket) @php $ticket = $payment->userExamTicket; @endphp 응시권 정보
  • 여권 영문 이름

    {{ $ticket->en_first_name }} {{ $ticket->en_last_name }}

  • 여권 한글 이름

    {{ $ticket->passport_name }}

  • 여권 생년월일

    {{ date('Y.m.d', strtotime($ticket->birthday)) }}

  • 휴대폰번호

    {{ $ticket->exam_phone }}

  • 응시권은 국내에서만 사용이 가능합니다.

  • 응시자 정보가 여러 명인 경우 고객센터 1:1 문의를 통해 추가 등록을 해주셔야 합니다.

@endif
@endsection @section("mypage-script") @endsection