Comparing version 1.1.30 to 1.1.31
{ | ||
"name": "angarum", | ||
"version": "1.1.30", | ||
"version": "1.1.31", | ||
"description": "A library which helps you focus on your delivery.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -36,2 +36,7 @@ var Template = require('./template.js'); | ||
awb = inp.AWB; | ||
var city = inp["CUST CITY"].toLowerCase(); | ||
if (city.indexOf("new delhi") >= 0) | ||
inp["Dest Code"] = "ELC WH - DELHI" | ||
else if (city.indexOf("bangalore") >= 0) | ||
inp["Dest Code"] = "ELC WH - BANGALORE" | ||
return { | ||
@@ -38,0 +43,0 @@ data: JSON.stringify([inp]), |
31648
1062