show.blade.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <form class="modal-form form-prevent-multiple-submits" action="{{ route('my-page.member-edit.update', $member['Id']) }}" method="POST">
  2. @csrf
  3. <div class="form-title">
  4. <h3>회원정보 변경</h3>
  5. </div>
  6. <div class="form-group">
  7. <label class="form-label">이메일</label>
  8. <input class="form-control" type="text" value="{{ $member['C4'] }}" disabled>
  9. </div>
  10. <div class="form-group">
  11. <label class="form-label">이름</label>
  12. <input class="form-control" type="text" name="first_name" value="{{ $member['C7'] }}" placeholder="이름을 입력하세요." required>
  13. </div>
  14. @if ($member['C12'] === '1')
  15. @php
  16. $companyJson = json_decode($member['T1'], true);
  17. @endphp
  18. <div class="form-group">
  19. <label class="form-label">사업자번호</label>
  20. <input class="form-control" type="text" name="tax_no" value="{{ $member['C17'] }}" placeholder="사업자번호를 입력하세요." required>
  21. </div>
  22. <input type="hidden" name="van_id" value="{{ $companyJson['VanId'] ?? '' }}">
  23. <input type="hidden" name="van_pw" value="{{ $companyJson['VanPw'] ?? '' }}">
  24. <div class="form-group">
  25. <label class="form-label">VAN사 종류</label>
  26. <select class="form-control" name="van">
  27. <option value="">사용중인 카드 단말기 선택</option>
  28. @foreach(['한국정보통신(KICC)', '나이스정보통신', 'KSNET',
  29. '스마트로', 'KIS정보통신', '퍼스트데이타', 'KOVAN', 'JT NET',
  30. '다우데이타', '한국사이버결제(KCP)', 'KOCES', 'SPC', '금융결제원' ] as $title)
  31. <option value="{{ $title }}" {{ $companyJson['Van'] == $title ? "selected" : "" }}>
  32. {{ $title }}
  33. </option>
  34. @endforeach
  35. </select>
  36. </div>
  37. @endif
  38. <button class="form-btn button-prevent-multiple-submits save-prev-scroll-submits" type="submit">
  39. <i class="spinner fa fa-spinner fa-spin"></i>
  40. 저장
  41. </button>
  42. </form>
  43. @once
  44. @endonce