update other payment with bank

This commit is contained in:
Aung Myo
2018-06-19 14:51:21 +06:30
parent 217d3fe88b
commit adbccb950e
3 changed files with 8 additions and 3 deletions

View File

@@ -291,7 +291,7 @@ function deleteReceiptNoInFirstBillData(receipt_no) {
//start CB ECR integration
//set CB com port data
function setCommPorts(comPortLists) {
var sale_id = "<%= @sale_id %>";
var sale_id = $('#sale_id').val();
$('#com_port_name').html("");
var jsonPortLists = $.parseJSON(comPortLists);
// alert(jsonPortLists);
@@ -310,7 +310,7 @@ function setCommPorts(comPortLists) {
closeOnCancel: false,
allowOutsideClick: false
}, function () {
window.location.href = '/origami/sale/'+ sale_id +"/"+cashier_type+"/payment/others_payment";
window.location.href = '/origami/sale/'+ sale_id +"/"+cashier_type+"/payment/others_payment";
});
}
}