Subversion Repositories SmartDukaan

Rev

Rev 20110 | Rev 20199 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20110 Rev 20179
Line 1273... Line 1273...
1273
function storeTblValues()
1273
function storeTblValues()
1274
{
1274
{
1275
    var tableData = new Array();
1275
    var tableData = new Array();
1276
 
1276
 
1277
    $('#user-orders tr').each(function(row, tr){
1277
    $('#user-orders tr').each(function(row, tr){
-
 
1278
    	if($(tr).find('td:eq(3)').find('input').val()!='0'){
1278
    	tableData[row]={
1279
    	tableData[row]={
1279
            "orderId" : $(tr).find('td:eq(0)').text()
1280
            "orderId" : $(tr).find('td:eq(0)').text()
1280
            , "returnQty" :$(tr).find('td:eq(3)').find('input').val()
1281
            , "returnQty" :$(tr).find('td:eq(3)').find('input').val()
1281
            , "action" : $(tr).find('td:eq(4)').find('select').val()
1282
            , "action" : $(tr).find('td:eq(4)').find('select').val()
1282
            , "returnPickupType" : $(tr).find('td:eq(5)').find('select').val()
1283
            , "returnPickupType" : $(tr).find('td:eq(5)').find('select').val()
1283
        }    
1284
        }   
-
 
1285
    }
1284
    }); 
1286
    }); 
1285
    tableData.shift();
1287
    tableData.shift();
1286
    return tableData;
1288
    return tableData;
1287
}
1289
}
1288
 
1290