<%= t('customer.register.title', 'Pendaftaran Pelanggan Baru') %>

<%= settings.company_header || 'OPEN-ISP' %> — <%= t('customer.register.subtitle', 'Isi data di bawah, tim kami akan menghubungi Anda.') %>

<% if (error) { %>
<%= error %>
<% } %> <% if (success) { %>
<%= success %>
<% if (typeof newCustomer !== 'undefined' && newCustomer) { var _np = (typeof packages !== 'undefined' && packages) ? packages.find(function(p){return String(p.id)===String(newCustomer.package_id);}) : null; %>
<%= t('customer.register.succ_id', 'ID Pelanggan') %>: <%= newCustomer.customer_code %>
<%= t('customer.register.succ_pkg', 'Paket') %>: <%= _np ? _np.name : (newCustomer.package_name || '-') %>
<% if (typeof bill !== 'undefined' && bill) { %>
<%= t('customer.register.succ_estimate', 'Estimasi Biaya Awal') %>: Rp <%= Number(bill.total||0).toLocaleString('id-ID') %>
(<%= t('customer.register.succ_install', 'Biaya pasang') %> Rp <%= Number(bill.installFee||0).toLocaleString('id-ID') %> + <%= t('customer.register.succ_prorata', 'Prorata') %> Rp <%= Number(bill.prorata||0).toLocaleString('id-ID') %><% if (bill.discount) { %> − <%= t('customer.register.succ_discount', 'Diskon') %> Rp <%= Number(bill.discount||0).toLocaleString('id-ID') %><% } %>)
<% } %>
<%= t('customer.register.succ_note', 'Simpan ID Pelanggan Anda. Nominal final ditetapkan admin saat pemasangan.') %>
<% } %> <%= t('customer.register.back_login', 'Kembali ke Login') %>
<% } else { %>
<%= t('customer.register.form_email_note', 'Email digunakan untuk pengiriman invoice otomatis.') %>
<%= t('customer.register.form_nik_note', 'Opsional, seperti email. Untuk kelengkapan data identitas.') %>
<%= t('customer.register.coord_none', 'Koordinat belum dipilih.') %>
<%= t('customer.register.voucher_note', 'Punya kode promo? Masukkan untuk potongan biaya awal.') %>
<% } %>
<%= t('customer.register.have_account', 'Sudah punya akun?') %> <%= t('customer.register.login_here', 'Login di sini') %>
<%= t('customer.register.link_about', 'Tentang Kami') %> <%= t('customer.register.link_tos', 'Ketentuan') %> <%= t('customer.register.link_privacy', 'Privasi') %> <%= t('customer.register.link_contact', 'Kontak') %>
© <%= new Date().getFullYear() %> <%= settings.company_header || 'OPEN-ISP' %> · v<%= appVersion %> (<%= appVersionName %>)

<%= t('customer.register.modal_title', 'Pilih Lokasi Pemasangan') %>

<%= t('customer.register.modal_tip', 'Geser pin atau klik peta untuk menentukan titik lokasi.') %>