Update Database Seeder and add ruangan.json
This commit is contained in:
@@ -401,6 +401,32 @@
|
||||
@endsection
|
||||
@push('script')
|
||||
<script type="text/javascript">
|
||||
$("#nmpoli").autocomplete({
|
||||
source: function(request, response) {
|
||||
$.ajax({
|
||||
url: "{{ route('autocomplete.klinik') }}",
|
||||
data: { term: request.term },
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
response(data);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 2
|
||||
});
|
||||
$("#klinisi").autocomplete({
|
||||
source: function(request, response) {
|
||||
$.ajax({
|
||||
url: "{{ route('autocomplete.klinik') }}",
|
||||
data: { term: request.term },
|
||||
dataType: "json",
|
||||
success: function(data) {
|
||||
response(data);
|
||||
}
|
||||
});
|
||||
},
|
||||
minLength: 2
|
||||
});
|
||||
$("#noregister").on('change', function () {
|
||||
var val01 = document.getElementById('noregister').value;
|
||||
if (val01 == '') {
|
||||
|
||||
Reference in New Issue
Block a user