update oqs action cable sorting

This commit is contained in:
Aung Myo
2017-09-05 18:06:57 +06:30
parent bb6e938f47
commit d1db57e9b5
5 changed files with 14 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ $(document).ready(function(){
var date = new Date(data[field]["created_at"]);
var show_date = date.getDate() + "-" + date.getMonth() + "-" + date.getFullYear() + ' ' + date.getHours()+ ':' + date.getMinutes();
row ='<div class="card queue_station" data-order="'+date+'">'
row ='<div class="card queue_station" data-date="'+data[field]["order_id"]+'">'
+'<div class="card-block">'
+'<h4 class="card-title">'
+'<span class="order-zone-type">'+data[field]["table_type"]+'- </span>'