Errores solucionados
This commit is contained in:
parent
51c58d9a9b
commit
e15a03e0ea
|
@ -1,7 +1,7 @@
|
|||
<a ui-sref="clientCard.basicData({ id: {{itemClient.client.id}} })" pad-medium border-solid-bottom>
|
||||
<div class="vn-item-client-name">{{itemClient.client.name}}</div>
|
||||
<div>Id Cliente: <b>{{itemClient.client.id}}</b></div>
|
||||
<div>Teléfono: <b>{{itemClient.client.phone | vnPhone}}</b></div>
|
||||
<div>Teléfono: <b>{{itemClient.client.phone | phone}}</b></div>
|
||||
<div>Población: <b>{{itemClient.client.city}}</b></div>
|
||||
<div>email: <b>{{itemClient.client.email}}</b></div>
|
||||
</a>
|
||||
|
|
|
@ -3,7 +3,7 @@ import {module} from '../module';
|
|||
/**
|
||||
* Formats a phone number putting a space every three digits.
|
||||
*/
|
||||
function phone() {
|
||||
export default function phone() {
|
||||
return function(input) {
|
||||
input = input || '';
|
||||
let out = '';
|
||||
|
@ -15,4 +15,4 @@ function phone() {
|
|||
return out;
|
||||
};
|
||||
}
|
||||
module.filter('vnPhone', phone);
|
||||
module.filter('phone', phone);
|
||||
|
|
Loading…
Reference in New Issue