salix/modules/supplier/front/summary/index.html

163 lines
5.6 KiB
HTML
Raw Normal View History

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>
<h4 ng-show="$ctrl.isAdministrative">
<a
ui-sref="supplier.card.basicData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Basic data</span>
2021-01-08 14:43:33 +00:00
</a>
</h4>
<h4
translate
ng-show="!$ctrl.isAdministrative">
Basic data
</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>
<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>
<h4 ng-show="$ctrl.isAdministrative">
<a
ui-sref="supplier.card.billingData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Billing data</span>
2021-01-08 14:43:33 +00:00
</a>
</h4>
<h4
translate
ng-show="!$ctrl.isAdministrative">
Billing data
</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>
<h4 ng-show="$ctrl.isAdministrative">
<a
ui-sref="supplier.card.fiscalData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Fiscal data</span>
2021-01-08 14:43:33 +00:00
</a>
</h4>
<h4
translate
ng-show="!$ctrl.isAdministrative">
Fiscal data
</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>
<h4 ng-show="$ctrl.isAdministrative">
<a
ui-sref="supplier.card.fiscalData({id:$ctrl.supplier.id})"
target="_self">
<span translate vn-tooltip="Go to">Fiscal address</span>
2021-01-08 14:43:33 +00:00
</a>
</h4>
<h4
translate
ng-show="!$ctrl.isAdministrative">
Fiscal address
</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>