Commit 018698df by yasir

perbaikan

1 parent 5045b4f7
......@@ -266,13 +266,15 @@
$('#btn_advice').click(function() {
var txId = $('#tx_id').html();
var urinya = "${params.route}/advice/act/?id=" + mID;
urinya = urinya.replace("http:", "https:");
var urinya = "${request._host}${params.route}/advice/act/?id=" + mID;
console.log(urinya);
$.ajax({
type: 'GET',
url: urinya,
dataType: 'json',
dataType: 'JSON',
headers: {
'Access-Control-Allow-Origin': '*'
},
success: function (data) {
jsonnya = {
"invoice_no": data.invoice_no,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!