checkout-ok.blade.php 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/pro/modunawa/resources/css/invoice.css') }}">
  3. @section('content')
  4. @php
  5. $sorder = $listType1Book['Book'][0]['Page'][0];
  6. $sorderBdPage = $listType1Book['Book'][1]['Page'];
  7. @endphp
  8. <!--=====================================
  9. BANNER PART START
  10. =======================================-->
  11. <section class="inner-section single-banner" style="background: url(images/single-banner.jpg) no-repeat center;">
  12. <div class="container">
  13. <h2>결제완료</h2>
  14. <ol class="breadcrumb">
  15. <li class="breadcrumb-item"><a href="index.html">Home</a></li>
  16. <!--
  17. <li class="breadcrumb-item"><a href="shop-4column.html">shop grid</a></li>
  18. <li class="breadcrumb-item"><a href="product-video.html">product details</a></li>
  19. <li class="breadcrumb-item"><a href="checkout.html">checkout</a></li>
  20. -->
  21. <li class="breadcrumb-item active" aria-current="page">결제완료</li>
  22. </ol>
  23. </div>
  24. </section>
  25. <!--=====================================
  26. BANNER PART END
  27. =======================================-->
  28. <!--=====================================
  29. INVOICE PART START
  30. =======================================-->
  31. <section class="inner-section invoice-part">
  32. <div class="container">
  33. <div class="row">
  34. <div class="col-lg-12">
  35. <div class="alert-info">
  36. <img src="{{ '/themes/pro/modunawa/resources/images/invoice_img1.png'}}">
  37. <p>감사합니다. 결제가 무사히 완료되었습니다.</p>
  38. </div>
  39. </div>
  40. <div class="col-lg-12">
  41. <div class="account-card">
  42. <div class="account-title">
  43. <h4>주문정보</h4>
  44. </div>
  45. <div class="account-content">
  46. <div class="invoice-recieved">
  47. <h6>주문번호 <span>{{ $sorder['C1'] }}</span></h6>
  48. <h6>주문날짜 <span>{{ DataConverter::createFromTimestamp($sorder['C3'], 'Y-m-d') }}</span></h6>
  49. <h6>합계 <span>{{ number_format($sorderCharge['total']) }}원</span></h6>
  50. <h6>결제방법 <span>{{ DataConverter::execute($sorder['C8'], "paymethod('sorder')") }}</span></h6>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="col-lg-6">
  56. <div class="account-card">
  57. <div class="account-title">
  58. <h4>주문 상세정보</h4>
  59. </div>
  60. <div class="account-content">
  61. <ul class="invoice-details">
  62. <li>
  63. <h6>주문번호</h6>
  64. <p>{{ $sorder['C1'] }}</p>
  65. </li>
  66. <li>
  67. <h6>주문시간</h6>
  68. <p>{{ DataConverter::createFromTimestamp($sorder['C3'], 'Y-m-d H:i:s') }}</p>
  69. </li>
  70. <li>
  71. <h6>배송방법</h6>
  72. <p></p>
  73. </li>
  74. <li>
  75. <h6>연락처</h6>
  76. <p>{{ $sorder['C5'] }}</p>
  77. </li>
  78. <li>
  79. <h6>배송지</h6>
  80. <p>{{ $sorder['C6'] }}</p>
  81. </li>
  82. <li>
  83. <h6>배송사항</h6>
  84. <p>{{ $sorder['C7'] }}</p>
  85. </li>
  86. <li>
  87. <h6>결제방법</h6>
  88. <p>{{ DataConverter::execute($sorder['C8'], "paymethod('sorder')") }} @if ($sorder['C8'] === 'Remit') [{{ $sorder['C10'] }}] @endif</p>
  89. </li>
  90. </ul>
  91. </div>
  92. </div>
  93. </div>
  94. <div class="col-lg-6">
  95. <div class="account-card">
  96. <div class="account-title">
  97. <h4>결제 정보</h4>
  98. </div>
  99. <div class="account-content">
  100. <ul class="invoice-details">
  101. <li>
  102. <h6>상품합계</h6>
  103. <p>{{ number_format($sorderCharge['sub_total']) }}원</p>
  104. </li>
  105. <li>
  106. <h6>배송비</h6>
  107. <p>{{ number_format($sorder['D7']) }}원</p>
  108. </li>
  109. <li>
  110. <h6>쿠폰사용액</h6>
  111. <p>{{ number_format($sorder['D2']) }}원</p>
  112. </li>
  113. <li>
  114. <h6>할인금액</h6>
  115. <p>{{ number_format($sorder['D4']) }}원</p>
  116. </li>
  117. <li>
  118. <h6>적립금 사용액</h6>
  119. <p>{{ number_format($sorder['D5']) }}원</p>
  120. </li>
  121. <li>
  122. <h6>총 합계<small>(VAT포함)</small></h6>
  123. <p>{{ number_format($sorderCharge['total']) }}원</p>
  124. </li>
  125. </ul>
  126. </div>
  127. </div>
  128. </div>
  129. <div class="col-lg-12">
  130. <div class="table-scroll">
  131. <table class="table-list">
  132. <thead>
  133. <tr>
  134. <th scope="col">Serial</th>
  135. <th scope="col">Product</th>
  136. <th scope="col">Name</th>
  137. <th scope="col">Price</th>
  138. <th scope="col">brand</th>
  139. <th scope="col">quantity</th>
  140. </tr>
  141. </thead>
  142. <tbody>
  143. @forelse ($sorderBdPage ?? [] as $index => $sorderBd)
  144. <tr>
  145. <td class="table-serial"><h6>{{ $sorderBd['C3'] }}</h6></td>
  146. <td class="table-image"><img src="{{ env('MEDIA_URL') . $sorderBd['C2'] }}" alt="product"></td>
  147. <td class="table-name"><h6>{{ $sorderBd['C4'] }}</h6></td>
  148. <td class="table-price"><h6>{{ number_format($sorderBd['C6']) }}원</h6></td>
  149. <td class="table-brand"><h6>{{ $sorderBd['C5'] }}</h6></td>
  150. <td class="table-quantity"><h6>{{ (int)$sorderBd['C7'] }}</h6></td>
  151. </tr>
  152. @empty
  153. <tr>
  154. <td class="text-center" colspan="7">쇼핑카트가 비어있습니다</td>
  155. </tr>
  156. @endforelse
  157. </tbody>
  158. </table>
  159. </div>
  160. </div>
  161. </div>
  162. <div class="row">
  163. <div class="col-lg-12 text-center mt-5">
  164. <a class="btn btn-inline" href="{{ route('my-page.order-list') }}">
  165. <i class="icofont-download"></i>
  166. <span>주문내역 보기</span>
  167. </a>
  168. <div class="back-home">
  169. <a href="/">메인으로 가기</a>
  170. </div>
  171. </div>
  172. </div>
  173. </div>
  174. </section>
  175. <!--=====================================
  176. INVOICE PART END
  177. =======================================-->
  178. @endsection