[% IF c.user.roles == "subscriber" || c.user.roles == "subscriberadmin" -%] [% site_config.title = c.loc('Customer Details') -%] [% ELSE -%] [% site_config.title = c.loc('Customer Details for #[_1] ([_2])',contract.id,product.name) -%] [% END -%] [% lock_levels = [ { level = 0, text = c.loc("none") }, { level = 1, text = c.loc("foreign calls") }, { level = 2, text = c.loc("all outgoing calls") }, { level = 3, text = c.loc("incoming and outgoing") }, { level = 4, text = c.loc("global (including web login)") }, { level = 5, text = c.loc("ported (call forwarding only)") }, ]; -%]
| [% c.loc('Name') %] | [% c.loc('Value') %] |
|---|---|
| [% c.loc('#') %] | [% contract.contact.reseller.id %] |
| [% c.loc('Name') %] | [% contract.contact.reseller.name %] |
| [% c.loc('Name') %] | [% c.loc('Value') %] |
|---|---|
| [% c.loc('Email') %] | [% contact_hash.email%] |
| [% c.loc('Name') %] | [% contact_hash.firstname %] [% contact_hash.lastname %] |
| [% c.loc('Company') %] | [% contact_hash.company%] |
| [% c.loc('Address') %] |
[% contact_hash.street %] [% contact_hash.postcode %] [% contact_hash.city %] [% contact_hash.country %] |
| [% c.loc('Phone/Fax') %] |
Mobile: [% contact_hash.mobilenumber %] Fixed: [% contact_hash.phonenumber %] Fax: [% contact_hash.faxnumber %] |
| [% c.loc('Station Name') %] | [% c.loc('Subscriber') %] | [% c.loc('MAC Address / Identifier') %] | [% c.loc('Device Profile') %] | ||
|---|---|---|---|---|---|
| [% dev.station_name %] |
|
[% dev.identifier %] | [% dev.profile.name %] |
[% UNLESS c.user.readonly -%]
[% c.loc('Delete') %]
[% c.loc('Edit') %]
[% c.loc('Config') %]
[%IF dev.profile.config.device.bootstrap_method == 'http'%]
[% c.loc('Sync Device') %]
[% END -%]
[% END -%]
[% c.loc('Preferences') %]
|
| [% USE format %] [% money_format = format('%.2f') %] | |||||
|---|---|---|---|---|---|
| [% c.loc('Initial Cash Balance:') %] | [% money_format(balance.initial_cash_balance / 100) %] | [% c.loc('Cash Balance:') %] | [% money_format(balance.cash_balance / 100) %] | [% c.loc('Debit:') %] | [% money_format( balance.cash_balance_interval / 100 ) %] |
| [% c.loc('Initial Free-Time Balance:') %] | [% balance.initial_free_time_balance %] | [% c.loc('Free-Time Balance:') %] | [% balance.free_time_balance %] | [% c.loc('Free-Time spent:') %] | [% balance.free_time_balance_interval %] |
| [% c.loc('Interval from:') %] | [% balance.start %] | [% c.loc('Interval to:') %] | [% balance.end %] |
| [% c.loc('"Timely" Top-ups from:') %] | [% timely_topup_start %] | [% c.loc('"Timely" Top-ups to:') %] | [% timely_topup_end %] |
| [% c.loc('Balance will be discarded, if no tup-up happens until:') %] | [% notopup_expiration %] | ||
| [% USE format %] [% money_format = format('%.2f') %] | |||
|---|---|---|---|
| [% c.loc('Actual profile package:') %] | [% package.name %] | [% c.loc('Actual billing profile:') %] | [% mapping.billing_profile.name %] |
| [% c.loc('Cash balance threshold when underrun profiles get applied:') %] | [% package.underrun_profile_threshold ? money_format( package.underrun_lock_threshold / 100 ) : '' %] | [% c.loc('Cash balance threshold when subscribers will be locked:') %] | [% package.underrun_lock_threshold ? money_format( package.underrun_lock_threshold / 100 ) : '' %] |
| [% c.loc('Limit') %] | [% c.loc('Lock Level') %] | [% c.loc('Notify') %] | ||
|---|---|---|---|---|
| [% c.loc('Monthly Settings') %] | [% fraud_def_message = (fraud.fraud_interval_limit.defined ? "none" : c.loc("billing profile default")) %][% fraud.fraud_interval_limit.defined ? fraud.fraud_interval_limit : fraud_def_message %] | [% IF fraud.fraud_interval_lock.defined -%] [% ELSE -%] [% fraud_def_message %] [% END -%] | [% fraud.fraud_interval_notify.defined ? fraud.fraud_interval_notify : fraud_def_message %] | |
| [% c.loc('Daily Settings') %] | [% fraud_def_message = (fraud.fraud_daily_limit.defined ? "none" : c.loc("billing profile default")) %][% fraud.fraud_daily_limit.defined ? fraud.fraud_daily_limit : fraud_def_message %] | [% IF fraud.fraud_daily_lock.defined -%] [% ELSE -%] [% fraud_def_message %] [% END -%] | [% fraud.fraud_daily_notify.defined ? fraud.fraud_daily_notify : fraud_def_message %] |