% var trans = obj[0]; %>
<% var products = obj[1]; %>
<% var productnames = obj[2]; %>
<% var productnumbers = obj[3]; %>
<% var producteunumbers = obj[4]; %>
<% var gridproducts = []; %>
<% var productExpVideo = ''; %>
<% var messageCountList = obj[7]; %>
<%
if(obj.length == 8 || obj.length == 7){
gridproducts = obj[5];
productExpVideo = gridproducts.length > 0 ? session.generalvideos.screxp_productlist.val : session.generalvideos.screxp_products.val;
}
%>
<% var instructionVideoList = obj[6]; %>
<%= trans.lblYourProducts %>
<% _.each(gridproducts, function(row) {%>
<% var medicine = row.GroupName; %>
<% var reason = row.Reason; %>
<% reason = reason.length <= 38 ? reason : reason.substring(0, 38) + '...'; %>
<% if ((row.IsWYQ == 0 || row.IsWYQ == undefined) && (row.IsWYS == 0 || row.IsWYS == undefined)) {%>
<%= medicine %>
<%= reason %>
|
<% if(messageCountList != '') {%>
<% _.each(messageCountList, function(messageCount) { if(row.MedicineId == messageCount.MedicineId && messageCount.MessageExists == '1') { %>
<% } }); %>
<% } %>
|
<% if(row.IsViewed == '1' && row.IsVideoByUserOrPIS == '0') { %>
x
<% } %>
|
<% if((row.IsInstructionVideoOnOverview == true || row.IsInstructionVideoOnOverview == 'true') && (instructionVideoList.length > 0 && instructionVideoList != '[]')) { %>
<% _.each(instructionVideoList, function(instruction) { %>
<% if (instruction.MedicineId == row.MedicineId) { %>
<%= row.GroupName %> <%= trans.lblProductPageInstructionVideos %>
|
|
|
<% } %>
<% }); %>
<% } %>
<% } %>
<% }); %>
<%= trans.lblnomedicine %> |
+<%= trans.lblMBAddNewMedicine %> |
<%= trans.lblWYQ %>
<% _.each(gridproducts, function(row) {%>
<% var medicine = row.GroupName; %>
<% var reason = row.Reason; %>
<% reason = reason.length <= 38 ? reason : reason.substring(0, 38) + '...'; %>
<% if (row.IsWYQ == 1 || row.IsWYS == 1) {%>
<%= medicine %>
<%= reason %>
|
<% if(row.IsViewed == '1') { %>
x
<% } %>
|
<% } %>
<% }); %>
<%= trans.lblnowyq %> |
+<%= trans.lblAddNewWYQ %> |
<%= trans.lblCreateAccount %>
<%= trans.btnCreateAccount %>
<%= trans.lblNewProduct %>
<%= trans.lblProductOf %>
<%= trans.hrfMissindMedicine %>
<%= trans.msgRVGBrandInfo %>
<%= trans.lblProductNotFound %> <%= trans.lblClickForAssistance%>