58 lines
2.1 KiB
HTML
58 lines
2.1 KiB
HTML
<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}}">
|
|
</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
|
|
vn-tooltip="Supplier inactive"
|
|
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
|
|
ng-if="$ctrl.supplier.client.fi"
|
|
tooltip="Go to client"
|
|
state="['client.card.summary', {id: $ctrl.supplier.client.id}]"
|
|
icon="person">
|
|
</vn-quick-link>
|
|
</div>
|
|
<div ng-transclude="btnThree">
|
|
</div>
|
|
</div>
|
|
</slot-body>
|
|
</vn-descriptor-content>
|