๐ŸŒ เฆฌเฆพเฆ‚เฆฒเฆพLog InOpen Merchant Account
โŒ‚ Home  /  My Account

My Account

A personal workspace to manage your profile, parcel history, saved addresses, notifications and account preferences.

On the road โ€” Dhaka to every district, scanned at every hand.

โšก
Book in Minutes

Quick and easy booking

๐Ÿ“
Doorstep Pickup

We pick up from your location

๐Ÿ›ก๏ธ
Safe & Secure

Your parcel, our responsibility

๐ŸŽง
Office line

+880 2-9836077 โ€” we're here to help

ยฉ 2026 Jhotgo Courier. All rights reserved.Fast by name. Trusted by design.
'); w.document.close(); } $('pfEditBtn').addEventListener('click', () => { $('pfView').style.display = 'none'; $('pfForm').style.display = ''; $('pfNameIn').value = G.full_name || ''; $('pfEmailIn').value = G.email || ''; }); $('pfCancel').addEventListener('click', () => { $('pfForm').style.display = 'none'; $('pfView').style.display = ''; }); $('pfSave').addEventListener('click', async () => { const r = await fetch('/api/v1/guests/' + G.id, { method: 'PATCH', headers: {'content-type': 'application/json'}, body: JSON.stringify({ full_name: $('pfNameIn').value.trim(), email: $('pfEmailIn').value.trim() || null }) }); if (!r.ok) { $('pfMsg').textContent = 'The save was refused.'; return; } G = Object.assign(G, await r.json()); localStorage.setItem('jpguest', JSON.stringify(G)); $('pfForm').style.display = 'none'; $('pfView').style.display = ''; loadAll(); }); $('adSave').addEventListener('click', async () => { const x = await api('/guests/' + G.id + '/addresses', { label: $('adLabel').value.trim(), address: $('adAddr').value.trim() }); $('adMsg').textContent = x.ok ? 'Saved.' : 'Refused โ€” label and address are both needed.'; if (x.ok) loadAll(); }); $('rcSave').addEventListener('click', async () => { const x = await api('/guests/' + G.id + '/recipients', { name: $('rcName').value.trim(), phone: $('rcPhone').value.trim(), address: $('rcAddr').value.trim() || null }); $('rcMsg').textContent = x.ok ? 'Saved.' : 'Refused โ€” a name and mobile are needed.'; if (x.ok) loadAll(); }); $('csSend').addEventListener('click', async () => { if (!$('csMsg').value.trim()) { $('csDone').textContent = 'Write your message first.'; return; } const x = await api('/support/cases', { name: G.full_name, phone: G.phone, kind: $('csKind').value, booking_ref: $('csRef').value.trim() || null, message: $('csMsg').value.trim() }); $('csDone').textContent = x.ok ? ('Case opened โ€” your reference is ' + x.d.ref + '. Keep it; the desk speaks by it.') : 'The case could not be opened โ€” call +880 2-9836077.'; if (x.ok) loadAll(); }); const nt = JSON.parse(localStorage.getItem('jpnotif') || '{"sms":true,"email":true}'); const paintNt = () => { $('ntSms').textContent = nt.sms ? 'On' : 'Off'; $('ntSms').classList.toggle('on', nt.sms); $('ntEmail').textContent = nt.email ? 'On' : 'Off'; $('ntEmail').classList.toggle('on', nt.email); }; paintNt(); $('ntSms').addEventListener('click', () => { nt.sms = !nt.sms; localStorage.setItem('jpnotif', JSON.stringify(nt)); paintNt(); }); $('ntEmail').addEventListener('click', () => { nt.email = !nt.email; localStorage.setItem('jpnotif', JSON.stringify(nt)); paintNt(); }); $('secOut').addEventListener('click', () => { localStorage.removeItem('jpguest'); location.href = '/'; }); if (G && G.id) { $('acctWrap').style.display = 'flex'; loadAll(); } else { $('gatePanel').style.display = ''; $('aGo').addEventListener('click', async () => { const r = await fetch('/api/v1/signin', { method: 'POST', headers: {'content-type': 'application/json'}, body: JSON.stringify({ identifier: $('aId').value.trim(), password: $('aPass').value }) }); const d = await r.json().catch(() => ({})); if (!r.ok) { $('aMsg').textContent = 'Sign-in failed โ€” check the email/phone and password.'; return; } const pr = await api('/guests/' + d.user_id); G = pr.ok ? pr.d : { id: d.user_id, full_name: d.full_name }; localStorage.setItem('jpguest', JSON.stringify(G)); location.reload(); }); }
๐Ÿ Home๐Ÿ”Track+Book Parcel๐ŸงฎRates๐ŸŽงSupport