proposal_status_rejected_form.blade.php 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. @extends('modal_pages.base')
  2. <style>
  3. .listFlag{
  4. height: 20px;
  5. border-radius: 50%;
  6. width: 20px;
  7. margin-right: 5px;
  8. }
  9. .btn1{
  10. background-color: #141639c4 !important;
  11. color:white !important;
  12. border-radius: 20px;
  13. box-shadow:none !important;
  14. }
  15. .btn1:hover{
  16. background: #ffff !important;
  17. color: #141639c4 !important;
  18. border-radius: 20px;
  19. border: 1px solid #141639c4;
  20. }
  21. </style>
  22. @section('main')
  23. <div class="container" style="background-color: white; border-radius: 6px;">
  24. <div class="row">
  25. <div class="co-md-12 p-3">
  26. <form class="modal-form" action="{{ url()->current() }}" method="POST" enctype="multipart/form-data">
  27. {{ csrf_field() }}
  28. <input type="hidden" name="id" value="{{$std_proposal->id}}">
  29. <div class="row">
  30. <div class="col-md-12">
  31. <ul>
  32. @if(count($feedback_reasons) > 0)
  33. @foreach($feedback_reasons as $row)
  34. <li style="list-style-type: none;">
  35. <div class="pretty p-default p-round">
  36. <input class="feedback" type="radio" name="feedback" value="{{$row->reasons}}" />
  37. <div class="state p-success-o">
  38. <label>{{$row->reasons}}</label>
  39. </div>
  40. </div>
  41. </li>
  42. @endforeach
  43. @endif
  44. <li style="list-style-type: none;">
  45. <div class="pretty p-default p-round">
  46. <input class="feedback" type="radio" name="feedback" value="others"/>
  47. <div class="state p-success-o">
  48. <label>Others</label>
  49. </div>
  50. </div>
  51. </li>
  52. </ul>
  53. </div>
  54. <div class="col-md-12" id="feedback_msg" style="display: none;">
  55. <label class="form-label">Feedback</label>
  56. <div class="form-icon position-relative">
  57. <textarea class="form-control" name="feedback_msg" id="message"></textarea>
  58. </div>
  59. </div>
  60. <div class="col-md-12">
  61. <div class="mt-2 text-center">
  62. <button type="submit" class="btn btn1" style="padding: 3px 18px;">
  63. {{ __('Submit') }}
  64. </button>
  65. </div>
  66. </div>
  67. </div>
  68. </form>
  69. </div>
  70. </div>
  71. </div>
  72. <script>
  73. $(function(){
  74. $('#modal_page_footer').hide();
  75. $('.feedback').on('click', function(){
  76. var value =$(this).val();
  77. if(value=="others"){
  78. $('#feedback_msg').show();
  79. }else{
  80. $('#feedback_msg').hide();
  81. }
  82. });
  83. });
  84. </script>
  85. @endsection