2019-01-20 15:47:04 +00:00
|
|
|
<vn-card class="summary">
|
2019-01-31 13:14:39 +00:00
|
|
|
<h5>{{$ctrl.summary.name}} - {{$ctrl.summary.id}} - {{$ctrl.summary.salesPerson.user.nickname}}</h5>
|
2019-01-20 15:47:04 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Basic data</h4>
|
|
|
|
<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"
|
2019-01-31 13:14:39 +00:00
|
|
|
value="{{$ctrl.summary.salesPerson.user.nickname}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Channel"
|
|
|
|
value="{{$ctrl.summary.contactChannel.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Fiscal address</h4>
|
|
|
|
<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-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Fiscal data</h4>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-check
|
|
|
|
label="Is equalizated"
|
|
|
|
field="$ctrl.summary.isEqualizated"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Active"
|
|
|
|
field="$ctrl.summary.isActive"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Invoice by address"
|
|
|
|
field="$ctrl.summary.hasToInvoiceByAddress"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Verified data"
|
|
|
|
field="$ctrl.summary.isTaxDataChecked"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Has to invoice"
|
|
|
|
field="$ctrl.summary.hasToInvoice"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Invoice by mail"
|
|
|
|
field="$ctrl.summary.isToBeMailed"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Vies"
|
|
|
|
field="$ctrl.summary.isVies"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Pay method</h4>
|
|
|
|
<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
|
|
|
|
label="Received LCR"
|
|
|
|
field="$ctrl.summary.hasLcr"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Received core VNL"
|
|
|
|
field="$ctrl.summary.hasCoreVnl"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
label="Received B2B VNL"
|
|
|
|
field="$ctrl.summary.hasSepaVnl"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Default address</h4>
|
|
|
|
<vn-label-value label="Name"
|
2019-02-28 07:55:34 +00:00
|
|
|
value="{{$ctrl.summary.defaultAddress.nickname}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Street" ellipsize="false"
|
2019-02-28 07:55:34 +00:00
|
|
|
value="{{$ctrl.summary.defaultAddress.street}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="City"
|
2019-02-28 07:55:34 +00:00
|
|
|
value="{{$ctrl.summary.defaultAddress.city}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Web access</h4>
|
|
|
|
<vn-label-value label="User"
|
|
|
|
value="{{$ctrl.summary.account.name}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-vertical>
|
|
|
|
<vn-check
|
|
|
|
label="Enable web access"
|
|
|
|
field="$ctrl.summary.account.active"
|
|
|
|
disabled="true">
|
|
|
|
</vn-check>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Business data</h4>
|
|
|
|
<vn-label-value label="Total greuge"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.totalGreuge | currency: 'EUR':2}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Mana"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.mana.mana | currency: 'EUR':2}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Rate"
|
|
|
|
value="{{$ctrl.summary.claimsRatio[0].priceIncreasing | percentage}}">
|
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Average invoiced"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.averageInvoiced.invoiced | currency: 'EUR':2}}">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Claims"
|
|
|
|
value="{{$ctrl.summary.claimsRatio[0].claimingRate | percentage}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</vn-one>
|
|
|
|
<vn-one>
|
|
|
|
<h4 translate>Financial information</h4>
|
|
|
|
<vn-label-value label="Risk"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.debt.debt | currency: 'EUR':2}}"
|
2019-01-29 07:53:29 +00:00
|
|
|
ng-class="{alert: $ctrl.summary.debt.debt > $ctrl.summary.credit}"
|
|
|
|
info="Invoices minus payments plus orders not yet invoiced">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Credit"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.credit | currency: 'EUR':2 }} "
|
2019-01-21 07:16:43 +00:00
|
|
|
ng-class="{alert: $ctrl.summary.credit > $ctrl.summary.creditInsurance ||
|
2019-01-29 07:53:29 +00:00
|
|
|
($ctrl.summary.credit && $ctrl.summary.creditInsurance == null)}"
|
|
|
|
info="Verdnatura's maximum risk">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Secured credit"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.creditInsurance | currency: 'EUR':2}} ({{$ctrl.summary.classifications[0].insurances[0].grade}})"
|
2019-01-29 07:53:29 +00:00
|
|
|
info="Solunion's maximum risk">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Balance"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.sumRisk | currency: 'EUR':2}}"
|
2019-01-29 07:53:29 +00:00
|
|
|
info="Invoices minus payments">
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Balance due"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.summary.defaulters[0].amount | currency: 'EUR':2}}"
|
2019-01-29 07:53:29 +00:00
|
|
|
ng-class="{alert: $ctrl.summary.defaulters[0].amount}"
|
|
|
|
info="Deviated invoices minus payments">
|
2019-01-20 15:47:04 +00:00
|
|
|
</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>
|
2018-03-01 11:51:35 +00:00
|
|
|
</vn-vertical>
|
2019-01-20 15:47:04 +00:00
|
|
|
</vn-one>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-card>
|