{* Color Values for Usage Charts *} {assign var="usageUploadUsedChartColor" value="3072F3"} {assign var="usageUploadLimitChartColor" value="C6D9FD"} {assign var="usageDownloadUsedChartColor" value="FF0000"} {assign var="usageDownloadLimitChartColor" value="FFC6A5"} {assign var="usageCombinedUsedChartColor" value="FF9900"} {assign var="usageCombinedLimitChartColor" value="FCD59C"} {assign var="usageTimeUsedChartColor" value="3072F3"} {assign var="usageTimeLimitChartColor" value="C6D9FD"} {* *} {include file="defaultlayer/piwi/includes/htmldoctype_selector.html"} {include file="defaultlayer/piwi/includes/htmlheader_selector.html"} {include file="defaultlayer/piwi/includes/pageheader_selector.html"}
{include file="defaultlayer/piwi/includes/sidebar_selector.html"} {if $headerdata.staff.display && !$headerdata.customer}
Look For a Customer:
{else}

Account Info

  • {$headerdata.customer.name|truncate:38|escape:'html'}
  • {$headerdata.customer.attn|truncate:38|escape:'html'}
  • {$headerdata.customer.addr1|truncate:38|escape:'html'}
  • {if $headerdata.customer.addr2|escape:'html'}
  • {$headerdata.customer.addr2|truncate:38|escape:'html'}
  • {/if}
  • {$headerdata.customer.city|escape:'html'}, {$headerdata.customer.state|escape:'html'} {$headerdata.customer.zip|escape:'html'} {if $headerdata.customer.country}{$headerdata.customer.country|escape:'html'}{/if}
  • {$headerdata.customer.phonemasked|escape:'html'}
  • {$headerdata.customer.activeStatus|escape:'html'} {if $headerdata.staff.display}Edit{/if}
  • {$headerdata.customer.username|escape:'html'}
  • ********** Edit
  • {$headerdata.customer.email|truncate:40|escape:'html'} Edit
  • {if $headerdata.customer.blockuser == 'Y'}
  • {$headerdata.customer.timeleft|escape:'html'} {$headerdata.customer.blocktypeDisplay|escape:'html'} Add More Block Time
  • {/if}

Invoices View More

{ if !$invoicedata} { else } { assign var=rowType value='odd'} { foreach from=$invoicedata item=thisInvoice name=invoices} { if $smarty.foreach.invoices.iteration<=5} { if $rowType == 'odd'} { if $owner} { else} { /if} { else} { if $owner} { else} { /if} { /if} { if $rowType == 'odd'} { assign var=rowType value='even'} { else} { assign var=rowType value='odd'} { /if} { /if} { /foreach} { /if}
Date Invoice # Due
No recent invoices

Payments View More

{ if !$paymentdata} { else} { assign var=rowType value='odd'} { foreach from=$paymentdata item=thisPayment name=payments} { if $smarty.foreach.payments.iteration<=5} { if $thisPayment.pmt_bounceid > 0} { if $rowType == 'odd'} { else} { /if} { else} { if $rowType == 'odd'} { else} { /if} { /if} { if $thisPayment.pmt_bounceid > 0} { else} { /if} { if $rowType == 'odd'} { assign var=rowType value='even'} { else} { assign var=rowType value='odd'} { /if} { /if} { /foreach} { /if}
Date Type Total
No recent payments

Rates View More

{ if !$custrates} { else} { assign var=rowType value='odd'} { foreach from=$custrates item=thisRate name=rates} { if $smarty.foreach.rates.iteration<=5} { if $rowType == 'odd'} { else} { /if} { if $rowType == 'odd'} { assign var=rowType value='even'} { else} { assign var=rowType value='odd'} { /if} { /if} { /foreach} { /if}
Frequency Name
No assigned rates
{$thisRate.cr_frequency|escape:'html'} month{if $thisRate.cr_frequency!=1}s{/if}
{$thisRate.rg_name|escape:'html'}
{if $headerdata.helpdesk.URL} { if $ticketarray}

{$ticketarray.sqlreturn.0.st_name} Tickets View More

{ assign var=rowType value='odd'} { foreach from=$ticketarray.sqlreturn item=thisTicket name=tickets} { if $smarty.foreach.tickets.iteration<=5} { if $rowType == 'odd'} { if $headerdata.staff.display} { else} { /if} { else} { if $headerdata.staff.display} { else} { /if} { /if} { if $rowType == 'odd'} { assign var=rowType value='even'} { else} { assign var=rowType value='odd'} { /if} { /if} { /foreach}
Ticket Problem
{ /if} {/if} { if $radiusdata[0].limit_count > 0 || $radiusdata[0].up_down_used > 0} { if $smarty.server.https == 'on'} { assign var="chartURL" value="https://chart.googleapis.com/chart"} { else} { assign var="chartURL" value="http://chart.googleapis.com/chart"} { /if} {* Round values for display purposes*} { assign var="up_used" value=$radiusdata[0].up_used|round:"2"} { assign var="down_used" value=$radiusdata[0].down_used|round:"2"} { assign var="up_down_used" value=$radiusdata[0].up_down_used|round:"2"} { assign var="up_limit" value=$radiusdata[0].up_limit|round:"2"} { assign var="down_limit" value=$radiusdata[0].down_limit|round:"2"} { assign var="up_down_limit" value=$radiusdata[0].up_down_limit|round:"2"} { assign var="up_limit_remaining" value=$radiusdata[0].up_limit_remaining|round:"2"} { assign var="down_limit_remaining" value=$radiusdata[0].down_limit_remaining|round:"2"} { assign var="up_down_limit_remaining" value=$radiusdata[0].up_down_limit_remaining|round:"2"} { assign var="maximum_value" value=$radiusdata[0].maximum_value}

Usage for: {$radiusdata[0].username} View More

{ if $radiusdata[0].limit_count eq 1} { if $radiusdata[0].up_limit gt 0} {* Pie Chart showing Upload only *} Usage{$radiusdata[0].usage_period} { elseif $radiusdata[0].down_limit gt 0} {* Pie Chart showing Download only *} Usage{$radiusdata[0].usage_period} { elseif $radiusdata[0].up_down_limit gt 0} {* Pie Chart showing Combined only *} Usage{$radiusdata[0].usage_period} { elseif $radiusdata[0].time_limit gt 0} {* Pie Chart showing Time only *} Usage{$radiusdata[0].usage_period} { /if} { else} {* Bar Chart showing Upload, Download and Combined *} { /if}
{ /if} { /if} { if $svcmaxedtopups}

Usage Limits Exceeded View More

{ assign var=rowType value='odd'} { foreach from=$svcmaxedtopups item=thisTopup} { if $rowType == 'odd'} { else} { /if} { if $rowType == 'odd'} { assign var=rowType value='even'} { else} { assign var=rowType value='odd'} { /if} { /foreach} { /if}
{$thisTopup.d_data}
{include file="defaultlayer/piwi/includes/pagefooter_selector.html"}