member-edit.blade.php 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. @extends('views.layouts.master')
  2. <link rel="stylesheet" href="{{ csset('/themes/pro/modunawa/resources/css/profile.css') }}">
  3. @section('content')
  4. <!--=====================================
  5. BANNER PART START
  6. =======================================-->
  7. <section class="inner-section single-banner">
  8. <div class="container">
  9. <h2>회원정보</h2>
  10. <ol class="breadcrumb">
  11. <li class="breadcrumb-item"><a href="/">Home</a></li>
  12. <li class="breadcrumb-item active" aria-current="page">회원정보</li>
  13. </ol>
  14. </div>
  15. </section>
  16. <!--=====================================
  17. BANNER PART END
  18. =======================================-->
  19. <!--=====================================
  20. PROFILE PART START
  21. =======================================-->
  22. <section class="inner-section profile-part">
  23. <div class="container">
  24. <div class="row">
  25. <div class="col-lg-12">
  26. <div class="account-card">
  27. <div class="account-title">
  28. <h4>회원정보</h4>
  29. <div>
  30. <button onclick="location.href='{{ route('member-withdrawal.index') }}'">회원 탈퇴</button>
  31. <button type="button" class="medium-btn" data-attr="{{ route('my-page.member-edit.show', session('member')['MemberId']) }}">회원정보 변경</button>
  32. </div>
  33. </div>
  34. <div class="account-content">
  35. <div class="row">
  36. <div class="col-lg-2">
  37. <div class="profile-image">
  38. <a href="#"><img src="{{ asset('/themes/pro/modunawa/resources/images/user.png') }}" alt="user"></a>
  39. </div>
  40. </div>
  41. <div class="col-md-6 col-lg-4">
  42. <div class="form-group">
  43. <label class="form-label">이름</label>
  44. <input class="form-control" type="text" value="{{ $member['C7'] }}" disabled>
  45. </div>
  46. </div>
  47. <div class="col-md-6 col-lg-4">
  48. <div class="form-group">
  49. <label class="form-label">이메일</label>
  50. <input class="form-control" type="email" value="{{ $member['C4'] }}" disabled>
  51. </div>
  52. </div>
  53. @if (empty($member['C5']))
  54. <div class="col-lg-2">
  55. <div class="profile-btn">
  56. <a href="{{ route('find-member-pw-verify.index', ['email' => $member['C4']] ) }}">비밀번호 변경</a>
  57. </div>
  58. </div>
  59. @else
  60. <div class="col-lg-2">
  61. </div>
  62. @endif
  63. @if ($member['C12'] === '1')
  64. @php
  65. $companyJson = json_decode($member['T1'], true);
  66. @endphp
  67. <div class="col-lg-2">
  68. </div>
  69. <div class="col-md-6 col-lg-4">
  70. <div class="form-group">
  71. <label class="form-label">사업자번호</label>
  72. <input class="form-control" type="text" value="{{ $member['C17'] }}" disabled>
  73. </div>
  74. </div>
  75. <div class="col-md-6 col-lg-4">
  76. <div class="form-group">
  77. <label class="form-label">VAN사 종류</label>
  78. <select class="form-control" disabled>
  79. <option value="">사용중인 카드 단말기 선택</option>
  80. @foreach(['한국정보통신(KICC)', '나이스정보통신', 'KSNET',
  81. '스마트로', 'KIS정보통신', '퍼스트데이타', 'KOVAN', 'JT NET',
  82. '다우데이타', '한국사이버결제(KCP)', 'KOCES', 'SPC', '금융결제원' ] as $title)
  83. <option value="{{ $title }}" {{ $companyJson['Van'] == $title ? "selected" : "" }}>
  84. {{ $title }}
  85. </option>
  86. @endforeach
  87. </select>
  88. </div>
  89. </div>
  90. @endif
  91. </div>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="col-lg-12">
  96. <div class="account-card">
  97. <div class="account-title">
  98. <h4>연락처</h4>
  99. <button type="button" class="medium-btn" data-serialize-form="#checkout-form" data-attr="{{ route('contact.index', [ 'seq_no' => $listType1Book['Book'][0]['Page'] ? (int)$listType1Book['Book'][0]['Page'][count($listType1Book['Book'][0]['Page']) - 1]['C1'] + 1 : 0 ]) }}">
  100. 연락처 추가
  101. </button>
  102. </div>
  103. <div class="account-content">
  104. <div class="row" id="company-contact-bd-div">
  105. @forelse ($listType1Book['Book'][0]['Page'] ?? [] as $contact)
  106. <div class="col-md-6 col-lg-4 alert fade show">
  107. <div class="profile-card contact">
  108. <h6>(<span class="sort-txt">{{ DataConverter::execute($contact['C2'], "sort('company-contact-bd')") }}</span>) <span class="ship-contact-txt">{{ $contact['C3'] }}</span></h6>
  109. <p class="ship-mobile-txt">{{ $contact['C4'] }}</p>
  110. <ul>
  111. <li><button type="button" class="edit icofont-edit medium-btn" title="Edit This" data-attr="{{ route('contact.show', $contact['Id']) }}"></button></li>
  112. <li><button type="button" class="trash icofont-ui-delete destroy-btn save-prev-scroll-submits" title="Remove This" data-attr="{{ route('contact.destroy', $contact['Id']) }}"></button></li>
  113. </ul>
  114. </div>
  115. </div>
  116. @empty
  117. <div class="col">
  118. 비어있습니다
  119. </div>
  120. @endforelse
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="col-lg-12">
  126. <div class="account-card">
  127. <div class="account-title">
  128. <h4>배송지</h4>
  129. <button type="button" class="medium-btn" data-attr="{{ route('address.index', [ 'seq_no' => $listType1Book['Book'][1]['Page'] ? (int)$listType1Book['Book'][1]['Page'][count($listType1Book['Book'][1]['Page']) - 1]['C1'] + 1 : 0 ]) }}">주소 추가</button>
  130. </div>
  131. <div class="account-content">
  132. <div class="row" id="company-destina-bd-div">
  133. @forelse ($listType1Book['Book'][1]['Page'] ?? [] as $index => $address)
  134. <div class="col-md-6 col-lg-4 alert fade show">
  135. <div class="profile-card address">
  136. <h6 class="sort">{{ DataConverter::execute($address['C2'], "sort('company-destina-bd')") }}</h6>
  137. <p>(<span class="ship-zip-code-txt">{{ $address['C3'] }}</span>) <span class="ship-addr1-txt">{{ $address['C4'] }}</span> <span class="ship-addr2-txt">{{ $address['C5'] }}</span></p>
  138. <ul class="user-action">
  139. <li><button type="button" class="edit icofont-edit medium-btn" title="Edit This" data-attr="{{ route('address.show', $address['Id']) }}"></button></li>
  140. <li><button type="button" class="trash icofont-ui-delete destroy-btn save-prev-scroll-submits" title="Remove This" data-attr="{{ route('address.destroy', $address['Id']) }}"></button></li>
  141. </ul>
  142. </div>
  143. </div>
  144. @empty
  145. <div class="col">
  146. 비어있습니다
  147. </div>
  148. @endforelse
  149. </div>
  150. </div>
  151. </div>
  152. </div>
  153. {{-- <div class="col-lg-12">--}}
  154. {{-- <div class="account-card mb-0">--}}
  155. {{-- <div class="account-title">--}}
  156. {{-- <h4>결제수단</h4>--}}
  157. {{-- <button data-bs-toggle="modal" data-bs-target="#payment-add">카드 추가</button>--}}
  158. {{-- </div>--}}
  159. {{-- <div class="account-content">--}}
  160. {{-- <div class="row">--}}
  161. {{-- <div class="col-md-6 col-lg-4 alert fade show">--}}
  162. {{-- <div class="payment-card payment active">--}}
  163. {{-- <img src="{{ '/themes/pro/modunawa/resources/images/payment/png/msq.png' }}" alt="payment">--}}
  164. {{-- <h4>Current Balance</h4>--}}
  165. {{-- <p>--}}
  166. {{-- <span>35,672</span>--}}
  167. {{-- <span>MSQ</span>--}}
  168. {{-- </p>--}}
  169. {{-- <h5>0x4439e34ade78456793c743b98f3990bd295281f8</h5>--}}
  170. {{-- <button class="trash icofont-ui-delete" title="Remove This" data-bs-dismiss="alert"></button>--}}
  171. {{-- </div>--}}
  172. {{-- </div>--}}
  173. {{-- <div class="col-md-6 col-lg-4 alert fade show">--}}
  174. {{-- <div class="payment-card payment">--}}
  175. {{-- <img src="{{ '/themes/pro/modunawa/resources/images/payment/png/msqx.png' }}" alt="payment">--}}
  176. {{-- <h4>Current Balance</h4>--}}
  177. {{-- <p>--}}
  178. {{-- <span>35,672</span>--}}
  179. {{-- <span>MSQX</span>--}}
  180. {{-- </p>--}}
  181. {{-- <h5>0x4439e34ade78456793c743b98f3990bd295281f8</h5>--}}
  182. {{-- <button class="trash icofont-ui-delete" title="Remove This" data-bs-dismiss="alert"></button>--}}
  183. {{-- </div>--}}
  184. {{-- </div>--}}
  185. {{-- <div class="col-md-6 col-lg-4 alert fade show">--}}
  186. {{-- <div class="payment-card payment">--}}
  187. {{-- <img src="{{ '/themes/pro/modunawa/resources/images/payment/png/p2u.png' }}" alt="payment">--}}
  188. {{-- <h4>Current Balance</h4>--}}
  189. {{-- <p>--}}
  190. {{-- <span>35,672</span>--}}
  191. {{-- <span>P2U</span>--}}
  192. {{-- </p>--}}
  193. {{-- <h5>0x4439e34ade78456793c743b98f3990bd295281f8</h5>--}}
  194. {{-- <button class="trash icofont-ui-delete" title="Remove This" data-bs-dismiss="alert"></button>--}}
  195. {{-- </div>--}}
  196. {{-- </div>--}}
  197. {{-- </div>--}}
  198. {{-- </div>--}}
  199. {{-- <div class="account-content">--}}
  200. {{-- <div class="row">--}}
  201. {{-- <div class="col-md-6 col-lg-4 alert fade show">--}}
  202. {{-- <div class="payment-card payment">--}}
  203. {{-- <img src="{{ '/themes/pro/modunawa/resources/images/payment/png/01.png' }}" alt="payment">--}}
  204. {{-- <h4>카드번호</h4>--}}
  205. {{-- <p>--}}
  206. {{-- <span>****</span>--}}
  207. {{-- <span>****</span>--}}
  208. {{-- <span>****</span>--}}
  209. {{-- <sup>1876</sup>--}}
  210. {{-- </p>--}}
  211. {{-- <h5>miron mahmud</h5>--}}
  212. {{-- <button class="trash icofont-ui-delete" title="Remove This" data-bs-dismiss="alert"></button>--}}
  213. {{-- </div>--}}
  214. {{-- </div>--}}
  215. {{-- <div class="col-md-6 col-lg-4 alert fade show">--}}
  216. {{-- <div class="payment-card payment">--}}
  217. {{-- <img src="{{ '/themes/pro/modunawa/resources/images/payment/png/02.png '}}" alt="payment">--}}
  218. {{-- <h4>카드번호</h4>--}}
  219. {{-- <p>--}}
  220. {{-- <span>****</span>--}}
  221. {{-- <span>****</span>--}}
  222. {{-- <span>****</span>--}}
  223. {{-- <sup>1876</sup>--}}
  224. {{-- </p>--}}
  225. {{-- <h5>miron mahmud</h5>--}}
  226. {{-- <button class="trash icofont-ui-delete" title="Remove This" data-bs-dismiss="alert"></button>--}}
  227. {{-- </div>--}}
  228. {{-- </div>--}}
  229. {{-- <div class="col-md-6 col-lg-4 alert fade show">--}}
  230. {{-- <div class="payment-card payment">--}}
  231. {{-- <img src="{{ '/themes/pro/modunawa/resources/images/payment/png/03.png '}}" alt="payment">--}}
  232. {{-- <h4>카드번호</h4>--}}
  233. {{-- <p>--}}
  234. {{-- <span>****</span>--}}
  235. {{-- <span>****</span>--}}
  236. {{-- <span>****</span>--}}
  237. {{-- <sup>1876</sup>--}}
  238. {{-- </p>--}}
  239. {{-- <h5>miron mahmud</h5>--}}
  240. {{-- <button class="trash icofont-ui-delete" title="Remove This" data-bs-dismiss="alert"></button>--}}
  241. {{-- </div>--}}
  242. {{-- </div>--}}
  243. {{-- </div>--}}
  244. {{-- </div>--}}
  245. {{-- </div>--}}
  246. {{-- </div>--}}
  247. </div>
  248. </div>
  249. </section>
  250. <!--=====================================
  251. PROFILE PART END
  252. =======================================-->
  253. <!--=====================================
  254. MODAL EDIT FORM START
  255. =======================================-->
  256. <!-- profile edit form -->
  257. {{--<div class="modal fade" id="profile-edit">--}}
  258. {{-- <div class="modal-dialog modal-dialog-centered">--}}
  259. {{-- <div class="modal-content">--}}
  260. {{-- <button class="modal-close" data-bs-dismiss="modal"><i class="icofont-close"></i></button>--}}
  261. {{-- <form class="modal-form">--}}
  262. {{-- <div class="form-title">--}}
  263. {{-- <h3>회원정보 수정</h3>--}}
  264. {{-- </div>--}}
  265. {{-- <div class="form-group">--}}
  266. {{-- <label class="form-label">프로파일 이미지</label>--}}
  267. {{-- <input class="form-control" type="file">--}}
  268. {{-- </div>--}}
  269. {{-- <div class="form-group">--}}
  270. {{-- <label class="form-label">이름</label>--}}
  271. {{-- <input class="form-control" type="text" value="Miron Mahmud">--}}
  272. {{-- </div>--}}
  273. {{-- <div class="form-group">--}}
  274. {{-- <label class="form-label">이메일</label>--}}
  275. {{-- <input class="form-control" type="text" value="mironcoder@gmail.com">--}}
  276. {{-- </div>--}}
  277. {{-- <button class="form-btn" type="submit">저장</button>--}}
  278. {{-- </form>--}}
  279. {{-- </div>--}}
  280. {{-- </div>--}}
  281. {{--</div>--}}
  282. @endsection
  283. @push('modal')
  284. @include('views.modals.medium')
  285. @endpush