Page 1 of 1

Hide digits?

Posted: Mon Feb 13, 2012 3:12 am
by nackgr
Hallo

We have a table that saws calling numbers report


The <td> <td nowrap >{anum}</td> saws the number that our clients number has dial how can i make this td everytime hide the last 4 digits

Thanks!!

Code: Select all

<calls_list>
<table class="callsListTable" cellpadding="10">
<tr class="title">
<td width="40"></td>
<td width="20%">{word:date}</td>
<td width="20%">{word:country}</td>
<td width="20%">{word:to_number}</td>  
<td width="20%">{word:from_number}</td>
<td width="20%">{word:cost}</td>
<td width="20%">{word:time}</td>
<td width="20%">{word:price}</td>
</tr>
<call>
<tr class="line{class}">
<td><img src="/templates/g/images/{cdir}.gif"></td>
<td>{calldate}</td>
<td>{rdest}</td>
<td nowrap>{bnum}</td>
<td nowrap >{anum}</td>
<td>{mcost}</td>
<td>{billsec}</td>
<td>{ccost} {curr}</td>
</tr></call>
<tr>
<td colspan="5"></td>
<td colspan="3" align="right"><b>{word:total_calls_cost}: {total_calls_cost} Eur</b></td>
</tr>
</table></calls_list>

Re: Hide digits?

Posted: Mon Feb 13, 2012 6:33 pm
by Christopher
What is your question?