Conference sponsorships and yearly capacity conferences with build-to-order carrier deals (#168)

This commit is contained in:
Frederic Jung 2026-10-27 18:47:43 +01:00
parent 239682720e
commit 6b04a530e8
No known key found for this signature in database
17 changed files with 278 additions and 17 deletions

View file

@ -1,7 +1,7 @@
/* ---------- customers overview (#13, #14, #15) ---------- */
const bizMo=b=>{const T=BIZ_T[b.type];return T.event?0:T.fiber?b.rate:b.bw*b.rate;};
// Why a customer is unhappy, in the same terms the daily mood update uses.
function bizWhy(b){const T=BIZ_T[b.type],out=[];if(T.event&&!eventLive(b))return out;
function bizWhy(b){const T=BIZ_T[b.type],out=[];if(T.event&&!eventLive(b))return out;if(capPend(b))return capWhy(b);
const sf=bizSf(b);if(sf<0.95)out.push(T.fiber?tr('customers.their_fiber_is_down'):tr('customers.getting_only_p_of_the_bandwidth',{p:pct(sf)}));
if(!(T.l2||T.fiber)&&R.reach<=0.99&&!scnRule('local'))out.push(tr('customers.you_cannot_reach_the_whole_internet',{p:pct(R.reach)}));
if(b.type==='scrub'&&!hasScrub())out.push(tr('common.needs_a_scrubbing_center'));