2d92aa7657aa7eda26c8a91fe7f55c90d07d14ac.php 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <?php $__env->startSection('content'); ?>
  2. <section class="pt-5 mb-4">
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-xl-8 mx-auto">
  6. <div class="row aiz-steps arrow-divider">
  7. <div class="col done">
  8. <div class="text-center text-success">
  9. <i class="la-3x mb-2 las la-shopping-cart"></i>
  10. <h3 class="fs-14 fw-600 d-none d-lg-block "><?php echo e(translate('1. My Cart')); ?></h3>
  11. </div>
  12. </div>
  13. <div class="col active">
  14. <div class="text-center text-primary">
  15. <i class="la-3x mb-2 las la-map"></i>
  16. <h3 class="fs-14 fw-600 d-none d-lg-block "><?php echo e(translate('2. Shipping info')); ?></h3>
  17. </div>
  18. </div>
  19. <div class="col">
  20. <div class="text-center">
  21. <i class="la-3x mb-2 opacity-50 las la-truck"></i>
  22. <h3 class="fs-14 fw-600 d-none d-lg-block opacity-50 "><?php echo e(translate('3. Delivery info')); ?></h3>
  23. </div>
  24. </div>
  25. <div class="col">
  26. <div class="text-center">
  27. <i class="la-3x mb-2 opacity-50 las la-credit-card"></i>
  28. <h3 class="fs-14 fw-600 d-none d-lg-block opacity-50 "><?php echo e(translate('4. Payment')); ?></h3>
  29. </div>
  30. </div>
  31. <div class="col">
  32. <div class="text-center">
  33. <i class="la-3x mb-2 opacity-50 las la-check-circle"></i>
  34. <h3 class="fs-14 fw-600 d-none d-lg-block opacity-50 "><?php echo e(translate('5. Confirmation')); ?></h3>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </section>
  42. <section class="mb-4 gry-bg">
  43. <div class="container">
  44. <div class="row cols-xs-space cols-sm-space cols-md-space">
  45. <div class="col-xxl-8 col-xl-10 mx-auto">
  46. <form class="form-default" data-toggle="validator" action="<?php echo e(route('checkout.store_shipping_infostore')); ?>" role="form" method="POST">
  47. <?php echo csrf_field(); ?>
  48. <?php if(Auth::check()): ?>
  49. <div class="shadow-sm bg-white p-4 rounded mb-4">
  50. <div class="row gutters-5">
  51. <?php $__currentLoopData = Auth::user()->addresses; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $address): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  52. <div class="col-md-6 mb-3">
  53. <label class="aiz-megabox d-block bg-white mb-0">
  54. <input type="radio" name="address_id" value="<?php echo e($address->id); ?>" <?php if($address->set_default): ?>
  55. checked
  56. <?php endif; ?> required>
  57. <span class="d-flex p-3 aiz-megabox-elem">
  58. <span class="aiz-rounded-check flex-shrink-0 mt-1"></span>
  59. <span class="flex-grow-1 pl-3 text-left">
  60. <div>
  61. <span class="opacity-60"><?php echo e(translate('Address')); ?>:</span>
  62. <span class="fw-600 ml-2"><?php echo e($address->address); ?></span>
  63. </div>
  64. <div>
  65. <span class="opacity-60"><?php echo e(translate('Postal Code')); ?>:</span>
  66. <span class="fw-600 ml-2"><?php echo e($address->postal_code); ?></span>
  67. </div>
  68. <div>
  69. <span class="opacity-60"><?php echo e(translate('City')); ?>:</span>
  70. <span class="fw-600 ml-2"><?php echo e(optional($address->city)->name); ?></span>
  71. </div>
  72. <div>
  73. <span class="opacity-60"><?php echo e(translate('State')); ?>:</span>
  74. <span class="fw-600 ml-2"><?php echo e(optional($address->state)->name); ?></span>
  75. </div>
  76. <div>
  77. <span class="opacity-60"><?php echo e(translate('Country')); ?>:</span>
  78. <span class="fw-600 ml-2"><?php echo e(optional($address->country)->name); ?></span>
  79. </div>
  80. <div>
  81. <span class="opacity-60"><?php echo e(translate('Phone')); ?>:</span>
  82. <span class="fw-600 ml-2"><?php echo e($address->phone); ?></span>
  83. </div>
  84. </span>
  85. </span>
  86. </label>
  87. <div class="dropdown position-absolute right-0 top-0">
  88. <button class="btn bg-gray px-2" type="button" data-toggle="dropdown">
  89. <i class="la la-ellipsis-v"></i>
  90. </button>
  91. <div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenuButton">
  92. <a class="dropdown-item" onclick="edit_address('<?php echo e($address->id); ?>')">
  93. <?php echo e(translate('Edit')); ?>
  94. </a>
  95. </div>
  96. </div>
  97. </div>
  98. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  99. <input type="hidden" name="checkout_type" value="logged">
  100. <div class="col-md-6 mx-auto mb-3" >
  101. <div class="border p-3 rounded mb-3 c-pointer text-center bg-white h-100 d-flex flex-column justify-content-center" onclick="add_new_address()">
  102. <i class="las la-plus la-2x mb-3"></i>
  103. <div class="alpha-7"><?php echo e(translate('Add New Address')); ?></div>
  104. </div>
  105. </div>
  106. </div>
  107. </div>
  108. <?php endif; ?>
  109. <div class="row align-items-center">
  110. <div class="col-md-6 text-center text-md-left order-1 order-md-0">
  111. <a href="<?php echo e(route('home')); ?>" class="btn btn-link">
  112. <i class="las la-arrow-left"></i>
  113. <?php echo e(translate('Return to shop')); ?>
  114. </a>
  115. </div>
  116. <div class="col-md-6 text-center text-md-right">
  117. <button type="submit" class="btn btn-primary fw-600"><?php echo e(translate('Continue to Delivery Info')); ?></a>
  118. </div>
  119. </div>
  120. </form>
  121. </div>
  122. </div>
  123. </div>
  124. </section>
  125. <?php $__env->stopSection(); ?>
  126. <?php $__env->startSection('modal'); ?>
  127. <?php echo $__env->make('frontend.partials.address_modal', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  128. <?php $__env->stopSection(); ?>
  129. <?php echo $__env->make('frontend.layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/frontend/shipping_info.blade.php ENDPATH**/ ?>