Open griebelr opened 2 months ago
The AP locations will have the exact same rep and slot assignments as the OPP locations
[
{
"name": "AP-Bass Lake",
"FLResort": "BLR"
},
{
"name": "AP-Rocky Fork",
"FLResort": "RFR"
},
{
"name": "AP-Gettysburg 2",
"FLResort": "TRG"
},
{
"name": "AP-Gettysburg",
"FLResort": "TRG"
},
{
"name": "AP-Rushmore Shadows",
"FLResort": "RSR"
},
{
"name": "AP-Sycamore Lodge",
"FLResort": "TNC"
},
{
"name": "AP-Sycamore Lodge 2",
"FLResort": "TNC"
},
{
"name": "AP-North Shore Landing-GA",
"FLResort": "NLS"
},
{
"name": "AP-Wally World",
"FLResort": "TRO"
},
{
"name": "AP-Bloomington",
"FLResort": "TRB"
},
{
"name": "AP-Ham Lake",
"FLResort": "HAM"
},
{
"name": "AP-St Croix",
"FLResort": "STC"
},
{
"name": "AP-Thousand Palms",
"FLResort": "TPR"
},
{
"name": "AP-Phone Sales East Rep 1",
"FLResort": ""
},
{
"name": "AP-Phone Sales East Rep 2",
"FLResort": ""
},
{
"name": "AP-Phone Sales East Rep 3",
"FLResort": ""
},
{
"name": "AP-Phone Sales Midwest Rep 1",
"FLResort": ""
},
{
"name": "AP-Phone Sales Midwest Rep 2",
"FLResort": ""
},
{
"name": "AP-Phone Sales Midwest Rep 3",
"FLResort": ""
},
{
"name": "AP-East Web Presentation Rep 1",
"FLResort": ""
},
{
"name": "AP-East Web Presentation Rep 2",
"FLResort": ""
},
{
"name": "AP-East Web Presentation Rep 3",
"FLResort": ""
},
{
"name": "AP-East Web Presentation Rep 4",
"FLResort": ""
},
{
"name": "AP-East Web Presentation Rep 5",
"FLResort": ""
},
{
"name": "AP-Midwest Web Presentation Rep 1",
"FLResort": ""
},
{
"name": "AP-Midwest Web Presentation Rep 2",
"FLResort": ""
},
{
"name": "AP-Midwest Web Presentation Rep 3",
"FLResort": ""
},
{
"name": "AP-Midwest Web Presentation Rep 4",
"FLResort": ""
},
{
"name": "AP-Midwest Web Presentation Rep 5",
"FLResort": ""
}
].forEach((each) => {
db.getCollection('resorts').insert({
"resortName" : each.name,
"isUpgrade" : true,
"shortName" :each.name,
"FLResort": each.FLResort,
"emails" : [],
"isActive" : true,
"isAP": true,
"isUpgrade": true
})
})
Create the following Upgrade Locations. They will all have same resortName and shortName as below.