2020-05-06 12:38:09 +00:00
|
|
|
<vn-descriptor-content
|
|
|
|
module="invoiceOut"
|
2022-04-11 06:02:05 +00:00
|
|
|
description="$ctrl.invoiceOut.ref"
|
|
|
|
summary="$ctrl.$.summary">
|
2021-11-09 14:10:43 +00:00
|
|
|
<slot-dot-menu>
|
|
|
|
<vn-invoice-out-descriptor-menu
|
|
|
|
invoice-out="$ctrl.invoiceOut"
|
2021-11-10 13:48:17 +00:00
|
|
|
parent-reload="$ctrl.reload()"
|
2021-11-09 14:10:43 +00:00
|
|
|
/>
|
|
|
|
</slot-dot-menu>
|
2020-04-30 10:48:52 +00:00
|
|
|
<slot-body>
|
2019-03-26 13:27:08 +00:00
|
|
|
<div class="attributes">
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Date"
|
2019-10-18 23:18:25 +00:00
|
|
|
value="{{$ctrl.invoiceOut.issued | date: 'dd/MM/yyyy'}}">
|
2019-03-26 13:27:08 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Import"
|
2019-04-08 14:53:37 +00:00
|
|
|
value="{{$ctrl.invoiceOut.amount | currency: 'EUR': 2}}">
|
2019-03-26 13:27:08 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
2020-09-03 13:11:16 +00:00
|
|
|
label="Client">
|
|
|
|
<span
|
|
|
|
ng-click="clientDescriptor.show($event, $ctrl.invoiceOut.client.id)"
|
|
|
|
class="link">
|
|
|
|
{{$ctrl.invoiceOut.client.name}}
|
|
|
|
</span>
|
2019-03-26 13:27:08 +00:00
|
|
|
</vn-label-value>
|
2020-04-30 10:48:52 +00:00
|
|
|
<vn-label-value
|
|
|
|
label="Company"
|
2019-03-26 13:27:08 +00:00
|
|
|
value="{{$ctrl.invoiceOut.company.code}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</div>
|
2020-04-30 10:48:52 +00:00
|
|
|
<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"
|
2020-05-29 09:10:58 +00:00
|
|
|
state="['ticket.index', {q: $ctrl.filter}]"
|
2020-04-30 10:48:52 +00:00
|
|
|
icon="icon-ticket">
|
|
|
|
</vn-quick-link>
|
|
|
|
</div>
|
|
|
|
<div ng-transclude="btnThree">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</slot-body>
|
2022-04-11 06:02:05 +00:00
|
|
|
</vn-descriptor-content>
|
|
|
|
<vn-popup vn-id="summary">
|
|
|
|
<vn-invoice-out-summary invoice-out="$ctrl.invoiceOut"></vn-invoice-out-summary>
|
|
|
|
</vn-popup>
|