Old UniVate Website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

interested.blade.php 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!-- Interested Modal -->
  2. <div class="modal fade" id="interestedModal{{ $timeshare->id }}" tabindex="-1" role="dialog" aria-labelledby="interestedModalLabel" aria-hidden="true">
  3. <div class="modal-dialog" role="document">
  4. <div class="modal-content px-0 px-md-4">
  5. <div class="modal-header">
  6. <h5 class="modal-title" id="interestedModalLabel">Resort Information</h5>
  7. <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  8. <span aria-hidden="true">&times;</span>
  9. </button>
  10. </div>
  11. <form id="mainForm2" method="POST" action="/interested/{{ $timeshare->id }}" accept-charset="UTF-8" enctype="multipart/form-data">
  12. @csrf
  13. <div class="modal-body">
  14. <input id="pass_id" name="invisible" type="hidden" value="{{ $timeshare->id }}">
  15. <div class="form-row">
  16. <div class="col-md-6">
  17. <lable for="resortName">Resort Name</lable>
  18. <input class="form-control" type="text" id="resort" name="resortName" value="{{ $timeshare->resort }}" disabled>
  19. </div>
  20. <div class="col-md-6">
  21. <lable for="resortWeek">Week</lable>
  22. <input class="form-control" type="text" id="week" name="resortWeek" value="{{ $timeshare->week }}" disabled>
  23. </div>
  24. </div>
  25. <div class="form-row">
  26. <div class="col-md-6">
  27. <lable for="resortModule">Module</lable>
  28. <input class="form-control" type="text" id="module" name="resortModule" value="{{ $timeshare->module }}" disabled>
  29. </div>
  30. <div class="col-md-6">
  31. <lable for="price">Price</lable>
  32. <input class="form-control" type="text" name="price" id="price" value="R {{ $timeshare->price }}" disabled>
  33. </div>
  34. </div>
  35. <div class="form-row">
  36. <div class="col-md-12">
  37. <input class="form-control" type="text" name="name" placeholder="Name">
  38. </div>
  39. </div>
  40. <div class="form-row">
  41. <div class="col-md-12">
  42. <input class="form-control" type="text" name="mobile" placeholder="Contact Number">
  43. </div>
  44. </div>
  45. <div class="form-row">
  46. <div class="col-md-12">
  47. <input class="form-control" type="email" name="email" placeholder="Email">
  48. </div>
  49. </div>
  50. </div>
  51. <div class="modal-footer">
  52. <button class="btn btn-blue" type="submit">ENQUIRE NOW</button>
  53. </div>
  54. </form>
  55. </div>
  56. </div>
  57. </div>
  58. <!--<script>
  59. $(document).ready(function () {
  60. $("#interestedModal").on("show.bs.modal", function (e) {
  61. var id = $(e.relatedTarget).data('data-id');
  62. $('#pass_id').val(id);
  63. var unit = $(e.relatedTarget).data('data-unit');
  64. $('#unit').val(unit);
  65. var week = $(e.relatedTarget).data('data-week');
  66. $('#week').val(week);
  67. var resort = $(e.relatedTarget).data('data-resort');
  68. $('#resort').val(resort);
  69. var module = $(e.relatedTarget).data('data-module');
  70. $('#module').val(module);
  71. var price = $(e.relatedTarget).data('data-price');
  72. $('#price').val(price);
  73. });
  74. });
  75. </script> -->
  76. <script>
  77. $('#interestedModal{{ $timeshare->id }}').on('shown.bs.modal', function () {
  78. $('#myInput').trigger('focus')
  79. })
  80. </script>