2587-supplier_minor_changes #458

Merged
carlosjr merged 5 commits from 2587-supplier_minor_changes into dev 2020-11-19 08:42:01 +00:00
2 changed files with 58 additions and 36 deletions
Showing only changes of commit 85b2c96ffd - Show all commits

View File

@ -15,5 +15,4 @@ export default class Controller extends Section {
ngModule.vnComponent('vnSupplierIndex', {
template: require('./index.html'),
controller: Controller
});

This line doesn't look any good.

This line doesn't look any good.

View File

@ -1,14 +1,16 @@
<vn-card class="summary">
<h5>{{$ctrl.summary.name}} - {{$ctrl.summary.id}}</h5>
<h5>{{::$ctrl.summary.name}} - {{::$ctrl.summary.id}}</h5>
<vn-horizontal>
<vn-one>
<h4 translate>Basic data</h4>
<vn-vertical>
<vn-label-value label="Id"
value="{{$ctrl.summary.id}}">
<vn-label-value
label="Id"
value="{{::$ctrl.summary.id}}">
</vn-label-value>
<vn-label-value label="Alias"
value="{{$ctrl.summary.nickname}}">
<vn-label-value
label="Alias"
value="{{::$ctrl.summary.nickname}}">
</vn-label-value>
<vn-check
label="Verified"
@ -20,24 +22,29 @@
ng-model="$ctrl.summary.isActive"
disabled="true">
</vn-check>
<vn-label-value label="Notes"
value="{{$ctrl.summary.note}}">
<vn-label-value
label="Notes"
value="{{::$ctrl.summary.note}}">
</vn-label-value>
</vn-vertical>
</vn-one>
<vn-one>
<h4 translate>Billing data</h4>
<vn-label-value label="Pay method"
value="{{$ctrl.summary.payMethod.name}}">
<vn-label-value
label="Pay method"
value="{{::$ctrl.summary.payMethod.name}}">
</vn-label-value>
<vn-label-value label="Payment deadline"
value="{{$ctrl.summary.payDem.payDem}}">
<vn-label-value
label="Payment deadline"
value="{{::$ctrl.summary.payDem.payDem}}">
</vn-label-value>
<vn-label-value label="Pay day"
value="{{$ctrl.summary.payDay}}">
<vn-label-value
label="Pay day"
value="{{::$ctrl.summary.payDay}}">
</vn-label-value>
<vn-label-value label="Account"
value="{{$ctrl.summary.account}}">
<vn-label-value
label="Account"
value="{{::$ctrl.summary.account}}">
</vn-label-value>
<vn-check
label="Is Farmer"
@ -45,40 +52,56 @@
disabled="true">
</vn-check>
</vn-one>
</vn-horizontal>
<vn-horizontal>
<vn-one>
carlosjr marked this conversation as resolved
Review

vn-tooltip or title missing.

vn-tooltip or title missing.
<h4 translate>Fiscal data</h4>
<vn-label-value label="Sage tax type"
value="{{$ctrl.summary.sageTaxType.vat}}">
<vn-label-value
label="Sage tax type"
value="{{::$ctrl.summary.sageTaxType.vat}}">
</vn-label-value>
<vn-label-value label="Sage transaction type"
value="{{$ctrl.summary.SageTransactionType.transaction}}">
<vn-label-value
title="{{::$ctrl.summary.sageTransactionType.transaction}}"
label="Sage transaction type"
value="{{::$ctrl.summary.sageTransactionType.transaction}}">
</vn-label-value>
<vn-label-value label="Sage withholding"
value="{{$ctrl.summary.sageWithholding.withholding}}">
<vn-label-value
title="{{::$ctrl.summary.sageWithholding.withholding}}"
label="Sage withholding"
value="{{::$ctrl.summary.sageWithholding.withholding}}">
</vn-label-value>
</vn-one>
</vn-horizontal>
<vn-horizontal>
<vn-one>
<h4 translate>Fiscal address</h4>
<vn-label-value label="Social name"
value="{{$ctrl.summary.name}}">
<vn-label-value
label="Social name"
value="{{::$ctrl.summary.name}}">
</vn-label-value>
<vn-label-value label="Tax number"
value="{{$ctrl.summary.nif}}">
<vn-label-value
label="Tax number"
value="{{::$ctrl.summary.nif}}">
</vn-label-value>
<vn-label-value label="Street" ellipsize="false"
value="{{$ctrl.summary.street}}">
<vn-label-value
label="Street"
value="{{::$ctrl.summary.street}}">
</vn-label-value>
<vn-label-value label="City"
value="{{$ctrl.summary.city}}">
<vn-label-value
label="City"
value="{{::$ctrl.summary.city}}">
</vn-label-value>
<vn-label-value label="Postcode"
value="{{$ctrl.summary.postCode}}">
<vn-label-value
label="Postcode"
value="{{::$ctrl.summary.postCode}}">
</vn-label-value>
<vn-label-value label="Province"
value="{{$ctrl.summary.province.name}}">
<vn-label-value
label="Province"
value="{{::$ctrl.summary.province.name}}">
</vn-label-value>
<vn-label-value label="Country"
value="{{$ctrl.summary.country.country}}">
<vn-label-value
label="Country"
value="{{::$ctrl.summary.country.country}}">
</vn-label-value>
</vn-one>
</vn-horizontal>