<% let commodity_icon_dic = { 'Chemicals and Allied Products':'oil-pump.svg','Marine':'sailboat.svg', 'Marine Products':'sailboat.svg','Others':'bitmap.svg','Other':'bitmap.svg','G&J':'gems.svg', 'Gems And Jewellery':'gems.svg','Engineering':'car-engine.svg', 'Engineering Goods':'car-engine.svg','Textiles':'clothes-hanger.svg', 'LSG':'leather-work.svg', 'Leather And Leather Manufactures':'leather-work.svg','Agriculture':'planting.svg','ECS':'electronics.svg', 'Electronic Goods':'electronics.svg','Pharma':'drugs.svg', "Drugs And Pharmaceuticals":'drugs.svg', 'Petroleum Products':'petroleum-products.svg','Organic and Inorganic Chemicals':'inorganic-chemicals.svg', 'Ready-made garments of all textiles':'rmg-of-textile.svg','Cotton Yarn/Fabs./Madeups, Handloom Products Etc.':'cotton.svg','Rice':'rice.svg', 'Plastic And Linoleum':'plastic-linoleum.svg','Iron Ore':'iron-ore.svg','Spices': 'spices.svg','Man-Made Yarn/Fabs./Madeups Etc.':'yarn.svg','Mica, Coal And Other Ores, Minerals Including Process':'mica-coal.svg', 'Meat, Dairy And Poultry Products':'poultry.svg', 'Ceramic Products And Glassware':'ceramic-products.svg', 'Fruits And Vegetables':'fruits-and-vegetables.svg','Cereal Preparations And Miscellaneous Processed Item':'cereal.svg', 'Handicrafts Excl. Hand Made Carpet':'handicraft.svg','Oil Meals':'oil-meals.svg', 'Carpet':'carpet.svg', 'Oil Seeds':'oil-seeds.svg', 'Tobacco':'tobacco.svg', 'Tea':'tea.svg', 'Coffee':'coffee.svg', 'Other Cereals':'other-cereal.svg', 'Cashew':'cashew.svg', 'Jute Mfg. Including Floor Covering':'floor-cover.svg' } %> <% ref = data[0]['commodity_group']!=undefined && parse_url().searchKey.commodity_id == undefined ? 'commoditi_click cursor-pointer':'' %> <% _.each(data,function(d){ %> <% if(parse_url().searchKey.view=='pills-india-cdv-tab'){ %> <% id = d['commodity_id'] %> <% name = d['commodity'] %> <% group_name = d['commodity_group'] %> <% value = _.round(d['export_achieved']) %> <% //target = _.round(d['target_fixed']) %> <% //perc = _.round(d['target_achieved']) %> <% group_id = d['commodity_group_id'] %> <% }else{ %> <% id = d['commodity_group_id'] %> <% name = d['commodity_group'] %> <% } %> <% value = _.round(d['export_achieved']) %> <% //target = _.round(d['target_fixed']) %> <% //perc = _.round(d['target_achieved']) %> <% //runrates = calc_runrates(d) %> <% mom = numeral(d['mom']).format('0.0') %> <% var bg_color_range_value=_.round(d['mom'],1) %> <% var bg_color_class=public_view_bg_color_range(bg_color_range_value) %>
<%- group_name %>
<%- name %>
<%- name %>
$<%- numeral(value).format('0.00 a').toUpperCase().replace("B","Bn").replace("M","Mn") %>
<% }) %>