2020-10-20 07:44:44 +00:00
|
|
|
<vn-descriptor-content
|
|
|
|
module="supplier"
|
|
|
|
description="$ctrl.supplier.name">
|
|
|
|
<slot-body>
|
|
|
|
<div class="attributes">
|
|
|
|
<vn-label-value label="Tax number"
|
|
|
|
value="{{$ctrl.supplier.nif}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Alias"
|
|
|
|
value="{{$ctrl.supplier.nickname}}">
|
2020-10-22 07:35:11 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Pay method"
|
|
|
|
value="{{$ctrl.supplier.payMethod.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Payment deadline"
|
|
|
|
value="{{$ctrl.supplier.payDem.payDem}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Pay day"
|
|
|
|
value="{{$ctrl.supplier.payDay}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Account"
|
|
|
|
value="{{$ctrl.supplier.account}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</div>
|
|
|
|
<div class="icons">
|
|
|
|
<vn-icon
|
|
|
|
vn-tooltip="Supplier inactive"
|
|
|
|
icon="icon-disabled"
|
|
|
|
ng-class="{bright: $ctrl.supplier.isActive == false}">
|
|
|
|
</vn-icon>
|
|
|
|
<vn-icon
|
2020-10-27 11:44:46 +00:00
|
|
|
vn-tooltip="Supplier official"
|
2020-10-22 07:35:11 +00:00
|
|
|
icon="icon-net"
|
|
|
|
ng-class="{bright: $ctrl.supplier.isOfficial == false}">
|
|
|
|
</vn-icon>
|
|
|
|
</div>
|
|
|
|
<div class="quicklinks">
|
|
|
|
<div ng-transclude="btnOne">
|
|
|
|
<vn-quick-link
|
|
|
|
tooltip="All entries with current supplier"
|
|
|
|
state="['entry.index', {q: $ctrl.entryFilter}]"
|
|
|
|
icon="icon-entry">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
|
|
|
<div ng-transclude="btnTwo">
|
|
|
|
<vn-quick-link
|
2020-10-26 07:38:43 +00:00
|
|
|
ng-if="$ctrl.supplier.client.fi"
|
2020-10-22 07:35:11 +00:00
|
|
|
tooltip="Go to client"
|
2020-10-26 07:38:43 +00:00
|
|
|
state="['client.card.summary', {id: $ctrl.supplier.client.id}]"
|
2020-10-22 07:35:11 +00:00
|
|
|
icon="person">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
|
|
|
<div ng-transclude="btnThree">
|
|
|
|
</div>
|
2020-10-20 07:44:44 +00:00
|
|
|
</div>
|
|
|
|
</slot-body>
|
|
|
|
</vn-descriptor-content>
|