{extends file="layout.html"} {block name=title}LMS: {$layout.pagetitle|striphtml}{/block} {block name=module_content}
|
{trans("Billing")} {trans("no.")} {$cdr.id} | |
|
{trans("Caller:")} | {if $cdr.callervoipaccountid} {$cdr.caller} {else} {$cdr.caller} {/if} |
| {trans("Location:")} | {$cdr.caller_prefix_group} | |
| {trans("Flags:")} |
{if $cdr.caller_flags & BILLING_RECORD_FLAG_ADMIN_RECORDING}
{trans("recording turned on")} {if $cdr.caller_flags & BILLING_RECORD_FLAG_CUSTOMER_RECORDING} {trans("recorded call available for customer")} {else} {trans("recorded call unavailable for customer")} {/if} {else} {trans("recording turned off")} {/if} |
|
| {trans("Customer:")} | {$cdr.callercustomername} | |
|
{trans("Callee:")} | {if $cdr.calleevoipaccountid} {$cdr.callee} {else} {$cdr.callee} {/if} |
| {trans("Location:")} | {$cdr.callee_prefix_group} | |
| {trans("Flags:")} |
{if $cdr.callee_flags & BILLING_RECORD_FLAG_ADMIN_RECORDING}
- {trans("recording turned on")} {if $cdr.callee_flags & BILLING_RECORD_FLAG_CUSTOMER_RECORDING} - {trans("recorded call available for customer")} {else} - {trans("recorded call unavailable for customer")} {/if} {else} - {trans("recording turned off")} {/if} |
|
| {trans("Customer:")} | {$cdr.calleecustomername} | |
|
{trans("Details")} | |
| {trans("Date")} | {$cdr.call_start_time|date_format:"Y-m-d H:i:s"} | |
| {trans("Total time")} | {if $cdr.type == $smarty.const.BILLING_RECORD_TYPE_VOICE_CALL} {$cdr.totaltime|duration_format} {else} - {/if} | |
| {trans("Billed time")} | {if $cdr.type == $smarty.const.BILLING_RECORD_TYPE_VOICE_CALL} {$cdr.billedtime|duration_format} {elseif $cdr.type == $smarty.const.BILLING_RECORD_TYPE_DATA_TRANSFER} {$cdr.billedtime|size_format} {else} - {/if} | |
| {trans("Direction/Type")} | {if $cdr.type == $smarty.const.BILLING_RECORD_TYPE_DATA_TRANSFER} {trans("data transfer")} {elseif $cdr.direction == $smarty.const.BILLING_RECORD_DIRECTION_OUTGOING} {if $cdr.type == $smarty.const.BILLING_RECORD_TYPE_VOICE_CALL} {trans("outgoing call")} {elseif $cdr.type == $smarty.const.BILLING_RECORD_TYPE_SMS} {trans("outgoing SMS")} {elseif $cdr.type == $smarty.const.BILLING_RECORD_TYPE_MMS} {trans("outgoing MMS")} {/if} {elseif $cdr.direction == $smarty.const.BILLING_RECORD_DIRECTION_INCOMING} {if $cdr.type == $smarty.const.BILLING_RECORD_TYPE_VOICE_CALL} {trans("incoming call")} {elseif $cdr.type == $smarty.const.BILLING_RECORD_TYPE_SMS} {trans("incoming SMS")} {elseif $cdr.type == $smarty.const.BILLING_RECORD_TYPE_MMS} {trans("incoming MMS")} {/if} {/if} | |
| {trans("Status")} | {if $cdr.status == $smarty.const.BILLING_RECORD_STATUS_BUSY} {trans("busy")} {else if $cdr.status == $smarty.const.BILLING_RECORD_STATUS_ANSWERED} {trans("answered")} {else if $cdr.status == $smarty.const.BILLING_RECORD_STATUS_NO_ANSWER} {trans("no answer")} {else if $cdr.status == $smarty.const.BILLING_RECORD_STATUS_UNKNOWN} {trans("unknown")} {/if} | |
| {trans("Price:")} | {$cdr.price|money_format} | |
{trans("Back")}
|
||