Commit 6722ab76 authored by Indra Raja's avatar Indra Raja

initial commit

parent 7aaba2fb
Pipeline #186 failed with stages
...@@ -15,7 +15,7 @@ function textToAudio() { ...@@ -15,7 +15,7 @@ function textToAudio() {
let no_antrian = document.getElementById("no_antrian").innerHTML; let no_antrian = document.getElementById("no_antrian").innerHTML;
let voice = "nomor antrian " + no_antrian; let voice = "nomor antrian " + no_antrian;
//
console.log(voice) console.log(voice)
......
...@@ -257,24 +257,19 @@ function loadedit(param) { ...@@ -257,24 +257,19 @@ function loadedit(param) {
id: param, id: param,
}, },
success: function (result) { success: function (result) {
// console.log(data[0].image_poli); // console.log(result);
// $('.loaddata').empty(); // $('.loaddata').empty();
// console.log(result); // console.log(result);
if (result.code == 0) { if (result.code == 0) {
let data = result.data; let data = result.data;
<<<<<<< HEAD
console.log(data[0].image_poli);
=======
>>>>>>> 344ac3d3282392489f180baa836f892e96ff05af
$('#id_poli').val(data[0].id_poli); $('#id_poli').val(data[0].id_poli);
$('#nama_poliEdt').val(data[0].nama_poli); $('#nama_poliEdt').val(data[0].nama_poli);
$('#nama_poli2').val(data[0].nama_poli); $('#nama_poli2').val(data[0].nama_poli);
$('#kode_poliEdt').val(data[0].kode_poli); $('#kode_poliEdt').val(data[0].kode_poli);
$('#deskripsi_poliEdt').val(data[0].deskripsi_poli); $('#deskripsi_poliEdt').val(data[0].deskripsi_poli);
$('#gambar_poliedt').file(data[0].image_poli);
} else { } else {
alert(result.info); alert(result.info);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment