This commit is contained in:
parent
86ecaedb0e
commit
427425a750
|
@ -1,21 +1,13 @@
|
|||
<span ng-if="$ctrl.phoneNumber">
|
||||
<span ng-if="$ctrl.icon" >
|
||||
<span ng-if="$ctrl.showNumber">
|
||||
{{ $ctrl.phoneNumber }}
|
||||
</span>
|
||||
<a href="tel:{{$ctrl.phoneNumber}}">
|
||||
<vn-icon
|
||||
flat
|
||||
round
|
||||
icon="phone"
|
||||
title="MicroSIP"
|
||||
ng-click="$event.stopPropagation();"
|
||||
>
|
||||
</vn-icon>
|
||||
</a>
|
||||
</span>
|
||||
<a ng-if="!$ctrl.icon" href="tel:$ctrl.phoneNumber">
|
||||
{{ $ctrl.phoneNumber }}
|
||||
</a>
|
||||
</span>
|
||||
<span ng-if="!$ctrl.phoneNumber">-</span>
|
||||
<a
|
||||
ng-if="$ctrl.phoneNumber"
|
||||
href="tel:{{$ctrl.phoneNumber}}"
|
||||
>
|
||||
<vn-icon
|
||||
flat
|
||||
round
|
||||
icon="phone"
|
||||
title="MicroSIP"
|
||||
ng-click="$event.stopPropagation();"
|
||||
>
|
||||
</vn-icon>
|
||||
</a>
|
|
@ -46,12 +46,14 @@
|
|||
value="{{$ctrl.summary.contact}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Phone">
|
||||
{{$ctrl.summary.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.phone"
|
||||
></vn-link-phone>
|
||||
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Mobile">
|
||||
{{$ctrl.summary.mobile | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.mobile"
|
||||
></vn-link-phone>
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
value="{{$ctrl.summary.landed | date: 'dd/MM/yyyy HH:mm'}}">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Phone">
|
||||
{{$ctrl.summary.address.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.address.phone"
|
||||
></vn-link-phone>
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
<vn-label-value
|
||||
label="Phone"
|
||||
>
|
||||
{{summary.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="summary.phone"
|
||||
></vn-link-phone>
|
||||
|
|
|
@ -84,6 +84,7 @@
|
|||
<vn-label-value label="Address phone"
|
||||
ng-if="$ctrl.summary.address.phone != null"
|
||||
>
|
||||
{{$ctrl.summary.address.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.address.phone"
|
||||
></vn-link-phone>
|
||||
|
@ -91,18 +92,21 @@
|
|||
<vn-label-value label="Address mobile"
|
||||
ng-if="$ctrl.summary.address.mobile != null"
|
||||
>
|
||||
{{$ctrl.summary.address.mobile | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.address.mobile"
|
||||
></vn-link-phone>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Client phone"
|
||||
ng-if="$ctrl.summary.client.phone != null">
|
||||
{{$ctrl.summary.client.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.client.phone"
|
||||
></vn-link-phone>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Client mobile"
|
||||
ng-if="$ctrl.summary.client.mobile != null">
|
||||
{{$ctrl.summary.client.mobile | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.summary.client.mobile"
|
||||
></vn-link-phone>
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
<vn-label-value
|
||||
label="Phone"
|
||||
>
|
||||
{{$ctrl.worker.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.worker.phone"
|
||||
></vn-link-phone>
|
||||
|
@ -45,6 +46,7 @@
|
|||
<vn-label-value
|
||||
label="Extension"
|
||||
>
|
||||
{{$ctrl.worker.sip.extension | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="$ctrl.worker.sip.extension"
|
||||
></vn-link-phone>
|
||||
|
|
|
@ -43,17 +43,20 @@
|
|||
</span>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Mobile extension">
|
||||
{{worker.mobileExtension | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="worker.mobileExtension"
|
||||
></vn-link-phone>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Business phone">
|
||||
{{worker.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="worker.phone"
|
||||
></vn-link-phone>
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Personal phone"
|
||||
>
|
||||
{{worker.client.phone | dashIfEmpty}}
|
||||
<vn-link-phone
|
||||
phone-number="worker.client.phone"
|
||||
></vn-link-phone>
|
||||
|
|
Loading…
Reference in New Issue