payment bill added and origami bug fixed

This commit is contained in:
Yan
2017-06-14 19:41:32 +06:30
15 changed files with 155 additions and 185 deletions

View File

@@ -17,10 +17,10 @@
//= require cable
$(document).ready(function(){
// auto refresh every 5 seconds
// auto refresh every 10 seconds
setTimeout(function(){
window.location.reload(1);
}, 5000);
}, 10000);
$('.queue_station').on('click',function(){
var orderZone=$(this).children().children().children('.order-zone').text();

View File

@@ -220,8 +220,7 @@ $(document).ready(function(){
if(data["response_data"]["data"][i]["accountable_type"] == "RebateAccount"){
var balance = data["response_data"]["data"][i]["balance"];
if (data["response_data"]["status"]==true) {
$('.rebate_amount').removeClass('hide');
console.log(balance);
$('.rebate_amount').removeClass('hide');
row =
'<td class="charges-name">' + data["response_data"]["data"][i]["accountable_type"] +'</td>'
+'<td class="item-attr">' + balance + '</td>';