oqs updated

This commit is contained in:
Yan
2017-06-18 00:45:39 +06:30
parent 420e1b9cbc
commit 80320b6d3e
5 changed files with 50 additions and 17 deletions

View File

@@ -30,6 +30,7 @@ $(document).ready(function(){
var orderBy = $(this).children().children().children().children('.order-by').text();
var orderAt = $(this).children().children().children().children('.order-at').text();
var orderCustomer = $(this).children().children('.order-customer').text();
var order_status = $(this).children().children('.order-status').text();
$('#order-title').text("ORDER DETAILS - " + orderZone);
$('#order-by').text(orderBy);
@@ -43,6 +44,7 @@ $(document).ready(function(){
$.ajax({
type: 'GET',
url: '/oqs/' + orderZone,
data: { 'status' : order_status },
success: function(res){
for (i = 0; i < res.length; i++) {
var data = JSON.stringify(res[i]);