service_modal.blade.php 3.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <div class="modal fade" id="modalService">
  2. <div class="modal-dialog modal-sm">
  3. <div class="modal-content">
  4. <div class="modal-header">
  5. <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
  6. <h4 class="modal-title text-info">Assign Service to <span id='company_name'></span></h4>
  7. </div>
  8. <div class="modal-body">
  9. <span id='spn_msg text-danger'></span>
  10. <input type="hidden" name="hdn_com_id" value="">
  11. <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
  12. <div class="form-group">
  13. <label for="ddlService" class="control-label">Service</label>
  14. <select name="ddlService" id="ddlService" class="form-control">
  15. <option value="">Select Service</option>
  16. @if($services)
  17. @foreach($services as $service)
  18. <option value="{{ $service->id }}">{{ $service->name }}</option>
  19. @endforeach
  20. @endif
  21. </select>
  22. </div>
  23. <div class="form-group">
  24. <label for="contact_person" class="control-label">Contact Person Details</label>
  25. <textarea name="contact_person" id="contact_person" class="form-control" placeholder="Contact Person"></textarea>
  26. </div>
  27. <div class="form-group">
  28. <label for="contact_number" class="control-label">Contact Number</label>
  29. <input type='text' name="contact_number" id="contact_number" class="form-control" placeholder="Contact Number" />
  30. </div>
  31. <div class="form-group">
  32. <label for="deployement_unit" class="control-label">Deployment Unit (If Aany)</label>
  33. <textarea name="deployement_unit" id="deployement_unit" class="form-control" placeholder="Deployment Unit"></textarea>
  34. </div>
  35. </div>
  36. <div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
  37. <div class="form-group">
  38. <label for="po_details" class="control-label">PO Details</label>
  39. <textarea name="po_details" id="po_details" class='form-control' placeholder="PO Details"></textarea>
  40. </div>
  41. <div class="form-group">
  42. <label for="start_date" class="control-label">Start Date</label>
  43. <input type="text" name="start_date" id="start_date" class="form-control date" placeholder="Start Date">
  44. </div>
  45. <div class="form-group">
  46. <label for="renewal_cycle" class="control-label">Renewal Cycle (In Year)</label>
  47. <input type="number" name="renewal_cycle" class="form-control" id="renewal_cycle" min="1" max="5" value="1" placeholder="Renewal Cycle">
  48. </div>
  49. <div class="form-group">
  50. <label for="free_session" class="control-label">Free Session (In Year)</label>
  51. <input type="number" name="free_session" class="form-control" id="free_session" min="0" max="5" value="0" placeholder="Free Session">
  52. </div>
  53. </div>
  54. <div class="clearfix"></div>
  55. </div>
  56. <div class="modal-footer">
  57. <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  58. <button type="button" id='btn_assign_service' class="btn btn-primary">Save changes</button>
  59. </div>
  60. </div>
  61. </div>
  62. </div>