function renderApprovedPOlbtn(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; if (row.poTypeId == 1) { PONo = row.PONo; POTypeId = row.poTypeId; buttonsHtml += ' '; return buttonsHtml; } else if (row.poTypeId == 2) { buttonsHtml += ' '; return buttonsHtml; } else { buttonsHtml += ' '; return buttonsHtml; } } function renderDelItem(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; return buttonsHtml; } function renderCreatedPO(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; IsPrint = true; if (row.isManual == 1) { if (row.poTypeId == 3) { buttonsHtml += ' '; } else { buttonsHtml += ' '; } } else { if (row.poTypeId == 1) { PONo = row.PONo; POTypeId = row.poTypeId; buttonsHtml += ' '; return buttonsHtml; } else if (row.poTypeId == 2) { buttonsHtml += ' '; return buttonsHtml; } else { buttonsHtml += ' '; return buttonsHtml; } } return buttonsHtml; } function renderPRItem(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; return buttonsHtml; } function renderMyCreatedPO(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; IsPrint = true; buttonsHtml += ' '; if (row.isManual == 1) { if (row.poTypeId == 3) { buttonsHtml += ' '; } else { buttonsHtml += ' '; } } else { if (row.poTypeId == 1) { PONo = row.PONo; POTypeId = row.poTypeId; buttonsHtml += ' '; return buttonsHtml; } else if (row.poTypeId == 2) { buttonsHtml += ' '; return buttonsHtml; } else { buttonsHtml += ' '; return buttonsHtml; } } return buttonsHtml; } function renderPOItemDetail(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; IsPrint = true; jsonData.pONo = $('#c-old-poNo2').val(); buttonsHtml += ' '; return buttonsHtml; } function renderDocReqbtn(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; return buttonsHtml; } function renderSuppBidbtn(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; buttonsHtml += ' '; return buttonsHtml; } function renderForPOItembtn(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; // var statusNumber = parseInt(row.status, 10); buttonsHtml += ' '; return buttonsHtml; } function renderOtherChargebtn(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; return buttonsHtml; } function renderIncotermsbtn(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; return buttonsHtml; } function renderDelIncShip(data, row) { var jsonData = JSON.stringify(row).replace(/"/g, """); var buttonsHtml = ''; buttonsHtml += ' '; return buttonsHtml; }