60 lines
2.0 KiB
HTML
60 lines
2.0 KiB
HTML
<vn-descriptor-content
|
|
module="invoiceOut"
|
|
description="$ctrl.invoiceOut.ref"
|
|
summary="$ctrl.$.summary">
|
|
<slot-dot-menu>
|
|
<vn-invoice-out-descriptor-menu
|
|
invoice-out="$ctrl.invoiceOut"
|
|
parent-reload="$ctrl.reload()"
|
|
/>
|
|
</slot-dot-menu>
|
|
<slot-body>
|
|
<div class="attributes">
|
|
<vn-label-value
|
|
label="Date"
|
|
value="{{$ctrl.invoiceOut.issued | date: 'dd/MM/yyyy'}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Import"
|
|
value="{{$ctrl.invoiceOut.amount | currency: 'EUR': 2}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Client">
|
|
<span
|
|
ng-click="clientDescriptor.show($event, $ctrl.invoiceOut.client.id)"
|
|
class="link">
|
|
{{$ctrl.invoiceOut.client.name}}
|
|
</span>
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Company"
|
|
value="{{$ctrl.invoiceOut.company.code}}">
|
|
</vn-label-value>
|
|
</div>
|
|
<div class="quicklinks">
|
|
<div ng-transclude="btnOne">
|
|
<vn-quick-link
|
|
tooltip="Client card"
|
|
state="['client.card.summary', {id: $ctrl.invoiceOut.clientFk}]"
|
|
icon="person">
|
|
</vn-quick-link>
|
|
</div>
|
|
<div ng-transclude="btnTwo">
|
|
<vn-quick-link
|
|
tooltip="Invoice ticket list"
|
|
state="['ticket.index', {q: $ctrl.filter}]"
|
|
icon="icon-ticket">
|
|
</vn-quick-link>
|
|
</div>
|
|
<div ng-transclude="btnThree">
|
|
</div>
|
|
</div>
|
|
</slot-body>
|
|
</vn-descriptor-content>
|
|
<vn-popup vn-id="summary">
|
|
<vn-invoice-out-summary invoice-out="$ctrl.invoiceOut"></vn-invoice-out-summary>
|
|
</vn-popup>
|
|
<vn-client-descriptor-popover
|
|
vn-id="clientDescriptor">
|
|
</vn-client-descriptor-popover>
|