6fbf005b8030dfda48b4e4b9b44211a0e7b62039.php 5.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <form class="" action="<?php echo e(route('wallet_recharge.make_payment')); ?>" method="post" enctype="multipart/form-data">
  2. <?php echo csrf_field(); ?>
  3. <div class="modal-body gry-bg px-3 pt-3 mx-auto">
  4. <div class="align-items-center gutters-5 row">
  5. <?php $__currentLoopData = \App\Models\ManualPaymentMethod::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $method): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  6. <div class="col-6 col-md-4">
  7. <label class="aiz-megabox d-block mb-3">
  8. <input value="<?php echo e($method->heading); ?>" type="radio" name="payment_option" onchange="toggleManualPaymentData(<?php echo e($method->id); ?>)" data-id="<?php echo e($method->id); ?>" checked>
  9. <span class="d-block p-3 aiz-megabox-elem">
  10. <img src="<?php echo e(uploaded_asset($method->photo)); ?>" class="img-fluid mb-2">
  11. <span class="d-block text-center">
  12. <span class="d-block fw-600 fs-15"><?php echo e($method->heading); ?></span>
  13. </span>
  14. </span>
  15. </label>
  16. </div>
  17. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  18. </div>
  19. <div id="manual_payment_data">
  20. <div class="card mb-3 p-3 d-none">
  21. <div id="manual_payment_description">
  22. </div>
  23. </div>
  24. <div class="card mb-3 p-3">
  25. <input type="hidden" name="type" value="<?php echo e($type); ?>" />
  26. <div class="row mt-3">
  27. <div class="col-md-3">
  28. <label><?php echo e(translate('Amount')); ?> <span class="text-danger">*</span></label>
  29. </div>
  30. <div class="col-md-9">
  31. <input type="number" lang="en" class="form-control mb-3" min="0" step="0.01" name="amount" placeholder="<?php echo e(translate('Amount')); ?>" required>
  32. </div>
  33. </div>
  34. <div class="row">
  35. <div class="col-md-3">
  36. <label><?php echo e(translate('Transaction ID')); ?> <span class="text-danger">*</span></label>
  37. </div>
  38. <div class="col-md-9">
  39. <input type="text" class="form-control mb-3" name="trx_id" placeholder="<?php echo e(translate('Transaction ID')); ?>" required>
  40. </div>
  41. </div>
  42. <div class="form-group row">
  43. <label class="col-md-3 col-form-label"><?php echo e(translate('Photo')); ?></label>
  44. <div class="col-md-9">
  45. <div class="input-group" data-toggle="aizuploader" data-type="image">
  46. <div class="input-group-prepend">
  47. <div class="input-group-text bg-soft-secondary font-weight-medium"><?php echo e(translate('Browse')); ?></div>
  48. </div>
  49. <div class="form-control file-amount"><?php echo e(translate('Choose image')); ?></div>
  50. <input type="hidden" name="photo" class="selected-files">
  51. </div>
  52. <div class="file-preview box sm">
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="form-group text-right">
  58. <button type="submit" class="btn btn-sm btn-primary transition-3d-hover mr-1"><?php echo e(translate('Confirm')); ?></button>
  59. </div>
  60. </div>
  61. </div>
  62. </form>
  63. <?php $__currentLoopData = \App\Models\ManualPaymentMethod::all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $method): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  64. <div id="manual_payment_info_<?php echo e($method->id); ?>" class="d-none">
  65. <div><?php echo $method->description ?></div>
  66. <?php if($method->bank_info != null): ?>
  67. <ul>
  68. <?php $__currentLoopData = json_decode($method->bank_info); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $info): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
  69. <li><?php echo e(translate('Bank Name')); ?> - <?php echo e($info->bank_name); ?>, <?php echo e(translate('Account Name')); ?> - <?php echo e($info->account_name); ?>, <?php echo e(translate('Account Number')); ?> - <?php echo e($info->account_number); ?>, <?php echo e(translate('Routing Number')); ?> - <?php echo e($info->routing_number); ?></li>
  70. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  71. </ul>
  72. <?php endif; ?>
  73. </div>
  74. <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  75. <script type="text/javascript">
  76. $(document).ready(function(){
  77. toggleManualPaymentData($('input[name=payment_option]:checked').data('id'));
  78. });
  79. function toggleManualPaymentData(id){
  80. $('#manual_payment_description').parent().removeClass('d-none');
  81. $('#manual_payment_description').html($('#manual_payment_info_'+id).html());
  82. }
  83. </script>
  84. <?php /**PATH /www/wwwroot/www.easybuyjp.shop/resources/views/frontend/user/wallet/offline_recharge_modal.blade.php ENDPATH**/ ?>