208 lines
10 KiB
HTML
208 lines
10 KiB
HTML
<vn-vertical vn-one>
|
|
<vn-card class="summary" pad-medium>
|
|
<vn-vertical margin-medium>
|
|
<vn-auto>
|
|
<h5 text-center pad-small-v class="title">{{$ctrl.summary.name}} - {{$ctrl.summary.id}} - {{$ctrl.summary.salesPerson.firstName}} {{$ctrl.summary.salesPerson.name}}</h5>
|
|
</vn-auto>
|
|
<vn-horizontal vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Basic data</h5>
|
|
<vn-label-value label="Id"
|
|
value="{{$ctrl.summary.id}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Comercial Name"
|
|
value="{{$ctrl.summary.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Contact"
|
|
value="{{$ctrl.summary.contact}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Phone"
|
|
value="{{$ctrl.summary.phone}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Mobile"
|
|
value="{{$ctrl.summary.mobile}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Email" ellipsize="false"
|
|
value="{{$ctrl.summary.email}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Sales person"
|
|
value="{{$ctrl.summary.salesPerson.firstName}} {{$ctrl.summary.salesPerson.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Channel"
|
|
value="{{$ctrl.summary.contactChannel.name}}">
|
|
</vn-label-value>
|
|
</vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Fiscal data</h5>
|
|
<vn-label-value label="Social name"
|
|
value="{{$ctrl.summary.socialName}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="NIF / CIF"
|
|
value="{{$ctrl.summary.fi}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Street" ellipsize="false"
|
|
value="{{$ctrl.summary.street}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="City"
|
|
value="{{$ctrl.summary.city}}">
|
|
</vn-label-value>
|
|
<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>
|
|
<vn-label-value label="Country"
|
|
value="{{$ctrl.summary.country.country}}">
|
|
</vn-label-value>
|
|
<vn-vertical>
|
|
<vn-check vn-one
|
|
label="Is equalizated"
|
|
field="$ctrl.summary.isEqualizated"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Active"
|
|
field="$ctrl.summary.isActive"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Invoice by address"
|
|
field="$ctrl.summary.hasToInvoiceByAddress"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Verified data"
|
|
field="$ctrl.summary.isTaxDataChecked"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Has to invoice"
|
|
field="$ctrl.summary.hasToInvoice"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Invoice by mail"
|
|
field="$ctrl.summary.isToBeMailed"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Vies"
|
|
field="$ctrl.summary.isVies"
|
|
disabled="true">
|
|
</vn-check>
|
|
</vn-vertical>
|
|
</vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Pay method</h5>
|
|
<vn-label-value label="Pay method"
|
|
value="{{$ctrl.summary.payMethod.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="IBAN"
|
|
value="{{$ctrl.summary.iban}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Due day"
|
|
value="{{$ctrl.summary.dueDay}}">
|
|
</vn-label-value>
|
|
<vn-vertical>
|
|
<vn-check vn-one
|
|
label="Received LCR"
|
|
field="$ctrl.summary.hasLcr"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Received core VNL"
|
|
field="$ctrl.summary.hasCoreVnl"
|
|
disabled="true">
|
|
</vn-check>
|
|
|
|
<vn-check vn-one
|
|
label="Received B2B VNL"
|
|
field="$ctrl.summary.hasSepaVnl"
|
|
disabled="true">
|
|
</vn-check>
|
|
</vn-vertical>
|
|
</vn-one>
|
|
</vn-horizontal>
|
|
<vn-horizontal vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Default address</h5>
|
|
<vn-label-value label="Name"
|
|
value="{{$ctrl.summary.addresses[0].nickname}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Street" ellipsize="false"
|
|
value="{{$ctrl.summary.addresses[0].street}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="City"
|
|
value="{{$ctrl.summary.addresses[0].city}}">
|
|
</vn-label-value>
|
|
</vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Web access</h5>
|
|
<vn-label-value label="User"
|
|
value="{{$ctrl.summary.account.name}}">
|
|
</vn-label-value>
|
|
<vn-vertical>
|
|
<vn-check vn-one
|
|
label="Enable web access"
|
|
field="$ctrl.summary.account.active"
|
|
disabled="true">
|
|
</vn-check>
|
|
</vn-vertical>
|
|
</vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Business data</h5>
|
|
<vn-label-value label="Total greuge"
|
|
value="{{$ctrl.summary.totalGreuge | currency:'€ ':2}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Mana"
|
|
value="{{$ctrl.summary.mana.mana | currency:'€ ':2}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Rate"
|
|
value="{{$ctrl.summary.claimsRatio[0].priceIncreasing | percentage}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Average invoiced"
|
|
value="{{$ctrl.summary.averageInvoiced.invoiced | currency:'€ ':2}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Claims"
|
|
value="{{$ctrl.summary.claimsRatio[0].claimingRate | percentage}}">
|
|
</vn-label-value>
|
|
</vn-one>
|
|
<vn-one margin-medium>
|
|
<h5 translate>Financial information</h5>
|
|
<vn-label-value label="Risk"
|
|
value="{{$ctrl.summary.debt.debt | currency:'€ ':2}}"
|
|
ng-class="{bold: $ctrl.summary.debt.debt > $ctrl.summary.credit}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Credit"
|
|
value="{{$ctrl.summary.credit | currency:'€ ':2 }} "
|
|
ng-class="{bold: $ctrl.summary.credit > $ctrl.summary.creditInsurance ||
|
|
($ctrl.summary.credit && $ctrl.summary.creditInsurance == null)}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Secured credit"
|
|
value="{{$ctrl.summary.creditInsurance | currency:'€ ':2}} ({{$ctrl.summary.classifications[0].insurances[0].grade}})">
|
|
</vn-label-value>
|
|
<vn-label-value label="Balance"
|
|
value="{{$ctrl.summary.sumRisk | currency:'€ ':2}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Balance due"
|
|
value="{{$ctrl.summary.defaulters[0].amount | currency:'€ ':2}}"
|
|
ng-class="{bold: $ctrl.summary.defaulters[0].amount}">
|
|
</vn-label-value>
|
|
<vn-vertical ng-if="$ctrl.summary.recovery.started">
|
|
<vn-label-value label="Recovery since"
|
|
value="{{$ctrl.summary.recovery.started | date:'dd/MM/yyyy'}}">
|
|
</vn-label-value>
|
|
</vn-vertical>
|
|
</vn-one>
|
|
</vn-horizontal>
|
|
</vn-vertical>
|
|
</vn-card>
|
|
</vn-vertical> |