<%= notif.text %>
<% } %>
Selamat Datang di Portal Pelanggan
<% if (hasUnpaid) { %>
TAGIHAN BELUM DIBAYAR <%= unpaidCount > 1 ? '('+unpaidCount+' BULAN)' : '' %>
Rp <%= parseInt(totalUnpaidAmount || 0).toLocaleString('id-ID') %>
Periode <%= unpaidPeriods %>
Jatuh tempo: <%= dueText %>
<% if (dueDiffDays !== null) { %>
<%= dueDiffDays > 0 ? ('Sisa ' + dueDiffDays + ' hari') : (dueDiffDays === 0 ? 'Hari ini!' : ('Lewat ' + Math.abs(dueDiffDays) + ' hari')) %>
<% } %>
<% } else { %>
SEMUA TAGIHAN LUNAS
Layanan Internet Aktif
Terima kasih telah membayar tepat waktu!
Jatuh tempo berikutnya: <%= nextDueText %>
<% } %>
Paket Berjalan
<%= profile && profile.package_name ? profile.package_name : 'Belum ada paket' %>
<% if (profile && Number(profile.speed_down) > 0) { %><%= Math.round(Number(profile.speed_down)/1000) %> Mbps<%= profile.speed_up ? ' / ' + Math.round(Number(profile.speed_up)/1000) + ' Mbps' : '' %><% } else { %>—<% } %>
Status Akun
<% if (profile && profile.status === 'active') { %>Aktif<% } else { %>Isolir<% } %>
<%= profile ? profile.name : '—' %>
Internet (PPPoE)
<% if (pppoeOnline === true) { %>Online<% } else if (pppoeOnline === false) { %>Offline<% } else { %>Tidak diketahui<% } %>
<%= (profile ? profile.pppoe_username : '') || customer.pppoeUsername || 'Belum dibuat' %>
Perangkat (ONU)
<% if (onuMissing) { %>Tidak ditemukan<% } else { %>Terhubung<% } %>
<%= customer.rxPower || '-' %> • <%= customer.model || 'ONU' %>
<% const navPayAmt = hasUnpaid ? totalUnpaidAmount : 0; %>
">
Bayar Tagihan
Nama WiFi
Sandi WiFi
Restart Modem
Notifikasi
Bantuan / Tiket
Kontrol Perangkat Router
<%= customer.model !== '-' ? customer.model : 'ONT / ONU' %>Status Router
<%= customer.status %>
Rx Optical
<%= customer.rxPower %>
User Terhubung
<%= customer.totalAssociations || 0 %> User
Nama SSID WiFi
<%= customer.ssid || '-' %>
Password WiFi
Perangkat Terhubung saat ini:
<% if (connectedUsers && connectedUsers.length > 0) { %>
<% connectedUsers.forEach(function(u){ %>
Active
<% }); %>
<% } else { %>
<%= u.hostname || 'Device' %>
<%= u.ip || '-' %> | <%= u.mac || '-' %>
Tidak ada perangkat aktif terdeteksi
<% } %>
Pemantauan Trafik Real-Time
Live MbpsTrafik Download
-
0<%= typeof trafficMaxDownMbps !== 'undefined' ? trafficMaxDownMbps : 10 %> Mbps
Trafik Upload
-
0<%= typeof trafficMaxUpMbps !== 'undefined' ? trafficMaxUpMbps : 10 %> Mbps
Kecepatan disesuaikan dengan paket berlangganan Anda.
Status Tagihan & Riwayat Pembayaran
<% if (invoices && invoices.length > 0) { %>
<% invoices.forEach(function(inv){ %>
<% const itemAmt = inv.amount != null ? inv.amount : (inv.package_price != null ? inv.package_price : 0); %>
<% }); %>
<% } else { %>
<% if (inv.status === 'paid') { %>LUNAS<% } else { %>BELUM BAYAR<% } %>
Periode <%= inv.period_month %>/<%= inv.period_year %>
<%= inv.package_name || 'Paket Internet' %>
Rp <%= parseInt(itemAmt || 0).toLocaleString('id-ID') %>
Belum ada riwayat tagihan
<% } %>
Tiket Keluhan & Bantuan
Daftar Tiket Anda
<% if (tickets && tickets.length > 0) { %>
| ID | Jenis Kendala | Tanggal | Status |
|---|---|---|---|
| #TK-<%= t.id %> | <%= t.subject %> | <%= t.created_at %> | <%= t.status === 'open' ? 'TERKIRIM' : (t.status === 'in_progress' ? 'DIPROSES' : 'SELESAI') %> |
Belum ada tiket keluhan yang dibuat.
<% } %>