|
|
|
@@ -549,7 +549,7 @@ |
|
|
|
</div> |
|
|
|
<div class="grid4"> |
|
|
|
<label><b>Building<small style="color: red"> * </small>: </b></label> |
|
|
|
<select class="styled" id="buildingssss" name="buildingssss" required> |
|
|
|
<select class="styled" id="building1" name="building1" required> |
|
|
|
<option value="">Choose building</option> |
|
|
|
@foreach($coverage as $c) |
|
|
|
<option value="{{ $c->building_name }}">{{ $c->building_name }}</option> |
|
|
|
@@ -622,7 +622,7 @@ |
|
|
|
<div id="formNFSP"> |
|
|
|
<form action="{{ url('/customer-service/submit-form-secured-developement') }}" class="main cussPayment" method="POST" enctype="multipart/form-data" id="securedForm" name="securedForm"> |
|
|
|
<input type="hidden" name="_token" value="{{ csrf_token() }}"> |
|
|
|
{{-- <input type="hidden" name="buildingssss" value="-"> --}} |
|
|
|
{{-- <input type="hidden" name="building1" value="-"> --}} |
|
|
|
<input type="hidden" name="citizensss" value="-"> |
|
|
|
<fieldset> |
|
|
|
<div class="widget grid2 widgetH"></div> |
|
|
|
@@ -962,7 +962,7 @@ |
|
|
|
</div> |
|
|
|
<div class="grid4"> |
|
|
|
<label><b>Building<small style="color: red"> * </small>: </b></label> |
|
|
|
<select class="styled" id="buildingsssss" name="buildingsssss" required> |
|
|
|
<select class="styled" id="building2" name="building2" required> |
|
|
|
<option value="">Choose building</option> |
|
|
|
@foreach($coverage as $c) |
|
|
|
<option value="{{ $c->building_name }}">{{ $c->building_name }}</option> |
|
|
|
@@ -1130,12 +1130,12 @@ |
|
|
|
dataType: "json", |
|
|
|
success:function(data){ |
|
|
|
$.each(data, function (key, entry) { |
|
|
|
$('#buildingssss').append($('<option></option>').attr('value', entry.name).text(entry.name)); |
|
|
|
$('#building1').append($('<option></option>').attr('value', entry.name).text(entry.name)); |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
$('#buildingssss').change(function(){ |
|
|
|
$('#building1').change(function(){ |
|
|
|
if( $(this).val()==""){ |
|
|
|
$("#streets").prop("checked", false); |
|
|
|
$('#streets').empty(); |
|
|
|
@@ -1191,14 +1191,14 @@ |
|
|
|
// dataType: "json", |
|
|
|
// success:function(data){ |
|
|
|
// $.each(data, function (key, entry) { |
|
|
|
// $('#buildingssss').append($('<option></option>').attr('value', entry.name).text(entry.name)); |
|
|
|
// $('#building1').append($('<option></option>').attr('value', entry.name).text(entry.name)); |
|
|
|
// }); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
|
|
|
|
//$(".styled, input:radio, input:checkbox, .dataTables_length select").uniform(); |
|
|
|
|
|
|
|
$('#buildingsssss').change(function(){ |
|
|
|
$('#building2').change(function(){ |
|
|
|
if( $(this).val()==""){ |
|
|
|
$("#streetss").prop("checked", false); |
|
|
|
$('#streetss').empty(); |