63 lines
2.3 KiB
HTML
63 lines
2.3 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="Inactive supplier"
|
|
icon="icon-disabled"
|
|
ng-if="$ctrl.supplier.isActive == false">
|
|
</vn-icon>
|
|
<vn-icon
|
|
vn-tooltip="Unverified supplier"
|
|
icon="icon-supplierfalse"
|
|
ng-if="$ctrl.supplier.isSerious == 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">
|
|
<vn-quick-link
|
|
tooltip="Create invoiceIn"
|
|
state="['invoiceIn.create', {supplierFk: $ctrl.id}]"
|
|
icon="icon-invoice-in-create">
|
|
</vn-quick-link>
|
|
</div>
|
|
</div>
|
|
</slot-body>
|
|
</vn-descriptor-content>
|