document.write('
');
function A3DD347CF_BF0D_CE49_1D8A0B21A941C4E4(obj,divid) {
if (obj.recordcount) {
var ct = document.createElement('TABLE');
ct.className = 'standard cellborder';
var thead_main = document.createElement('THEAD');
var row = document.createElement('TR');
var container = document.createElement('TH');
var theData = document.createTextNode('Development Area');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Title');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Location');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Reference Number');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Posted');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('Deadline');
container.appendChild(theData);
row.appendChild(container);
var container = document.createElement('TH');
var theData = document.createTextNode('');
container.appendChild(theData);
row.appendChild(container);
thead_main.appendChild(row);
ct.appendChild(thead_main);
var tmp = document.createElement('TBODY');
//ct.appendChild(tmp);
for (var i=0; i < obj.recordcount; i++) {
//alert(obj.data.title[i]);
var tr = document.createElement('TR');
tr.setAttribute('valign', 'top');
var td7 = document.createElement('TD');
td7.appendChild(document.createTextNode(obj.data.area_desc[i]));
tr.appendChild(td7);
var td3 = document.createElement('TD');
td3.appendChild(document.createTextNode(obj.data.title[i]));
tr.appendChild(td3);
var td4 = document.createElement('TD');
if (obj.data.cty_sht_t) {
//td4.appendChild(document.createTextNode(obj.data.duty_station[i] + ', ' + obj.data.cty_sht_t[i]));
td4.appendChild(document.createTextNode(obj.data.cty_sht_t[i]));
}
else {
td4.appendChild(document.createTextNode(obj.data.duty_station[i]));
}
tr.appendChild(td4);
var td5 = document.createElement('TD');
td5.appendChild(document.createTextNode(obj.data.notice_id[i]));
tr.appendChild(td5);
var td6 = document.createElement('TD');
td6.className = 'nowrap';
td6.appendChild(document.createTextNode(obj.data.formatted_post_date[i]));
tr.appendChild(td6)
var td2 = document.createElement('TD');
td2.className = 'nowrap';
td2.appendChild(document.createTextNode(obj.data.formatted_date[i]));
tr.appendChild(td2);
var td7 = document.createElement('TD');
var a = document.createElement('A');
a.className = 'button button-primary button-arrow';
a.setAttribute('href', obj.data.link[i]);
a.appendChild(document.createTextNode('View'));
td7.appendChild(a);
tr.appendChild(td7);
tmp.appendChild(tr);
}
ct.appendChild(tmp);
}
else {
var ct = document.createElement('P');
var theData = document.createTextNode('There are no procurement notices at this time. Please check back later.');
ct.appendChild(theData);
}
// removes the "Loading...."
document.getElementById(divid).removeChild(document.getElementById(divid).childNodes[0]);
document.getElementById(divid).appendChild(ct);
}
A3DD347CF_BF0D_CE49_1D8A0B21A941C4E4({"recordcount":2,"columnlist":"area_desc,date,deadline,duty_station,duty_station_cty,formatted_date,formatted_post_date,link,notice_id,posted_d,ref_bid_num,title","data":{"area_desc":["OTHER","OTHER"],"date":["2024-09-01 03:30:00.0","2024-09-01 03:30:00.0"],"deadline":["2024-09-01 03:30:00.0","2024-09-01 03:30:00.0"],"duty_station":["UNDP","UNDP"],"duty_station_cty":["DJIBOUTI","DJIBOUTI"],"formatted_date":["01-Sep-24","01-Sep-24"],"formatted_post_date":["06-Aug-24","05-Aug-24"],"link":["https://procurement-notices.undp.org/view_negotiation.cfm?nego_id=23331","https://procurement-notices.undp.org/view_negotiation.cfm?nego_id=23296"],"notice_id":["UNDP-DJI-00092","UNDP-DJI-00091"],"posted_d":["2024-08-06 00:00:00.0","2024-08-05 00:00:00.0"],"ref_bid_num":[2655118,2654109],"title":["RFP-UNDP-DJI-00092 - UNDP - DJIBOUTI","RFP-UNDP-DJI-00091 - UNDP - DJIBOUTI"]}},'A3DD347D0-BF36-6FA9-52C24904EB8FD12F')