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
|
2020-10-29 06:44:04 +00:00
|
|
|
vn-tooltip="Inactive supplier"
|
2020-10-22 07:35:11 +00:00
|
|
|
icon="icon-disabled"
|
2020-12-04 12:40:58 +00:00
|
|
|
ng-if="$ctrl.supplier.isActive == false">
|
2020-10-22 07:35:11 +00:00
|
|
|
</vn-icon>
|
|
|
|
<vn-icon
|
2020-11-18 10:47:23 +00:00
|
|
|
vn-tooltip="Verified supplier"
|
|
|
|
icon="verified_user"
|
2020-12-04 12:40:58 +00:00
|
|
|
ng-if="$ctrl.supplier.isSerious == true">
|
2020-10-22 07:35:11 +00:00
|
|
|
</vn-icon>
|
2021-03-08 12:52:11 +00:00
|
|
|
<vn-icon
|
|
|
|
vn-tooltip="Unverified supplier"
|
|
|
|
icon="icon-supplierfalse"
|
2021-03-09 08:25:10 +00:00
|
|
|
ng-if="$ctrl.supplier.isSerious == false">
|
|
|
|
</vn-icon>
|
2020-10-22 07:35:11 +00:00
|
|
|
</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">
|
2021-05-31 06:21:16 +00:00
|
|
|
<vn-quick-link
|
|
|
|
tooltip="Create invoiceIn"
|
|
|
|
state="['invoiceIn.create', {supplierFk: $ctrl.id}]"
|
|
|
|
icon="icon-invoice-in-create">
|
|
|
|
</vn-quick-link>
|
2020-10-22 07:35:11 +00:00
|
|
|
</div>
|
2020-10-20 07:44:44 +00:00
|
|
|
</div>
|
|
|
|
</slot-body>
|
|
|
|
</vn-descriptor-content>
|