2020-10-20 07:44:44 +00:00
|
|
|
<vn-card class="summary">
|
2020-11-23 12:41:51 +00:00
|
|
|
<h5>
|
|
|
|
<a ng-if="::$ctrl.summary.id"
|
|
|
|
vn-tooltip="Go to the supplier"
|
|
|
|
ui-sref="supplier.card.summary({id: {{::$ctrl.summary.id}}})"
|
|
|
|
name="goToSummary">
|
|
|
|
<vn-icon-button icon="launch"></vn-icon-button>
|
|
|
|
</a>
|
|
|
|
<span>{{::$ctrl.summary.name}} - {{::$ctrl.summary.id}}</span>
|
|
|
|
</h5>
|
2020-10-20 07:44:44 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-one>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isAdministrative">
|
2021-01-11 09:36:20 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="supplier.card.basicData({id:$ctrl.supplier.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Basic data</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
|
|
|
ng-show="!$ctrl.isAdministrative">
|
|
|
|
Basic data
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2020-11-18 10:47:23 +00:00
|
|
|
<vn-vertical>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Id"
|
|
|
|
value="{{::$ctrl.summary.id}}">
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Alias"
|
|
|
|
value="{{::$ctrl.summary.nickname}}">
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-label-value>
|
2020-11-24 13:56:10 +00:00
|
|
|
<vn-label-value no-ellipsize
|
|
|
|
label="Notes"
|
|
|
|
value="{{::$ctrl.summary.note}}">
|
|
|
|
</vn-label-value>
|
2020-11-18 10:47:23 +00:00
|
|
|
<vn-check
|
|
|
|
label="Verified"
|
|
|
|
ng-model="$ctrl.summary.isSerious"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Is active"
|
|
|
|
ng-model="$ctrl.summary.isActive"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isAdministrative">
|
2021-01-11 09:36:20 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="supplier.card.billingData({id:$ctrl.supplier.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Billing data</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
|
|
|
ng-show="!$ctrl.isAdministrative">
|
|
|
|
Billing data
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Pay method"
|
|
|
|
value="{{::$ctrl.summary.payMethod.name}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Payment deadline"
|
|
|
|
value="{{::$ctrl.summary.payDem.payDem}}">
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Pay day"
|
|
|
|
value="{{::$ctrl.summary.payDay}}">
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Account"
|
|
|
|
value="{{::$ctrl.summary.account}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-check
|
2020-11-18 10:47:23 +00:00
|
|
|
label="Is Farmer"
|
|
|
|
ng-model="$ctrl.summary.isFarmer"
|
2020-10-20 07:44:44 +00:00
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-one>
|
2020-11-18 13:44:07 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2020-11-18 10:47:23 +00:00
|
|
|
<vn-one>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isAdministrative">
|
2021-01-11 09:36:20 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="supplier.card.fiscalData({id:$ctrl.supplier.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Fiscal data</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
|
|
|
ng-show="!$ctrl.isAdministrative">
|
|
|
|
Fiscal data
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Sage tax type"
|
|
|
|
value="{{::$ctrl.summary.sageTaxType.vat}}">
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
title="{{::$ctrl.summary.sageTransactionType.transaction}}"
|
|
|
|
label="Sage transaction type"
|
|
|
|
value="{{::$ctrl.summary.sageTransactionType.transaction}}">
|
2020-11-18 10:47:23 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
title="{{::$ctrl.summary.sageWithholding.withholding}}"
|
|
|
|
label="Sage withholding"
|
|
|
|
value="{{::$ctrl.summary.sageWithholding.withholding}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
2020-11-18 13:44:07 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2020-10-20 07:44:44 +00:00
|
|
|
<vn-one>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4 ng-show="$ctrl.isAdministrative">
|
2021-01-11 09:36:20 +00:00
|
|
|
<a
|
2021-01-12 09:11:37 +00:00
|
|
|
ui-sref="supplier.card.fiscalData({id:$ctrl.supplier.id})"
|
|
|
|
target="_self">
|
2021-01-11 09:36:20 +00:00
|
|
|
<span translate vn-tooltip="Go to">Fiscal address</span>
|
2021-01-08 14:43:33 +00:00
|
|
|
</a>
|
|
|
|
</h4>
|
2021-01-12 06:39:12 +00:00
|
|
|
<h4
|
2021-01-12 09:11:37 +00:00
|
|
|
translate
|
|
|
|
ng-show="!$ctrl.isAdministrative">
|
|
|
|
Fiscal address
|
2021-01-12 06:39:12 +00:00
|
|
|
</h4>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Social name"
|
|
|
|
value="{{::$ctrl.summary.name}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Tax number"
|
|
|
|
value="{{::$ctrl.summary.nif}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Street"
|
|
|
|
value="{{::$ctrl.summary.street}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="City"
|
|
|
|
value="{{::$ctrl.summary.city}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Postcode"
|
|
|
|
value="{{::$ctrl.summary.postCode}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Province"
|
|
|
|
value="{{::$ctrl.summary.province.name}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
2020-11-18 13:44:07 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Country"
|
|
|
|
value="{{::$ctrl.summary.country.country}}">
|
2020-10-20 07:44:44 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|
|
|
|
<vn-worker-descriptor-popover
|
|
|
|
vn-id="workerDescriptor">
|
|
|
|
</vn-worker-descriptor-popover>
|