function getOdds(includes, showFlow) { getData('fixtures/' + fixtureId + '/analysis/odds', null, (data) => { // console.log(data); if (!data?.bookmarkers?.length) { return; } const bookmarkers = data.bookmarkers; let html = `
บริษัท | `; html += ``; html += ` | แฮนดิแคปเอเชีย | `; html += `1X2 ออดซ | `; html += `สูง/ต่ำ | `; if (showFlow !== false) { html += `บอลไหล | `; } html += `||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ทีมเหย้า | `; html += `AH | `; html += `ทีมเยือน | `; html += `ทีมเหย้า | `; html += `เสมอ | `; html += `ทีมเยือน | `; html += `สูง | `; html += `ออดช | `; html += `ต่ำ | `; html += `|||||
${ b.name.replace(/bet|BET|Bet/gi, '') } | `; html += `${ o.status } | `; } else if (kk == 1) { html += `${ o.status } | `; } else { html += `${ o.status } | `; } html += `${ o.hc_home } | `; html += `${ o.hc_odds } | `; html += `${ o.hc_away } | `; html += `${ o.odds_home } | `; html += `${ o.odds } | `; html += `${ o.odds_away } | `; html += `${ o.lo_home } | `; html += `${ o.lo_draw } | `; html += `${ o.hc_away } | `; if (kk == 0) { if (showFlow != false) { html += ``;
html += ``;
html += ` | `;
}
} else if (kk == 1) {
} else {
}
html += `