summary title amended + clientDescriptor for alias
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2020-11-11 12:45:45 +01:00
parent 5d70794326
commit 3a0ff3be38
2 changed files with 17 additions and 6 deletions

View File

@ -1,5 +1,9 @@
<vn-card class="summary">
<h5>{{$ctrl.summary.id}} - {{$ctrl.summary.client.name}} - {{$ctrl.summary.client.salesPerson.id}}
<h5>
<span>
Ticket #{{$ctrl.summary.id}} - {{$ctrl.summary.client.name}}
({{$ctrl.summary.client.salesPersonFk}})
</span>
<vn-button
disabled="$ctrl.order.isConfirmed"
class="flat"
@ -14,8 +18,12 @@
<vn-label-value label="Id"
value="{{$ctrl.summary.id}}">
</vn-label-value>
<vn-label-value label="Nickname"
value="{{$ctrl.summary.address.nickname}}">
<vn-label-value label="Nickname">
<span
ng-click="clientDescriptor.show($event, $ctrl.summary.clientFk)"
class="link">
{{$ctrl.summary.address.nickname}}
</span>
</vn-label-value>
<vn-check label="Confirmed" disabled="true"
ng-model="$ctrl.summary.isConfirmed">
@ -101,3 +109,6 @@
<vn-item-descriptor-popover
vn-id="descriptor">
</vn-item-descriptor-popover>
<vn-client-descriptor-popover
vn-id="clientDescriptor">
</vn-client-descriptor-popover>

View File

@ -18,13 +18,13 @@ vn-order-summary .summary{
flex: none
}
}
& > div > vn-horizontal > vn-one {
min-width: 160px !important;
& > vn-horizontal > vn-one {
min-width: 160px;
&.taxes {
border: $border-thin-light;
text-align: right;
padding: 8px !important;
padding: 8px;
& > p {
font-size: 1.2rem;