2019-03-26 13:27:08 +00:00
|
|
|
<div class="vn-descriptor">
|
|
|
|
<div class="header">
|
|
|
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="invoiceOut.index">
|
|
|
|
<vn-icon icon="chevron_left"></vn-icon>
|
|
|
|
</a>
|
|
|
|
<a translate-attr="{title: 'Preview'}" ui-sref="invoiceOut.card.summary({id: $ctrl.invoiceOut.id})">
|
|
|
|
<vn-icon icon="desktop_windows"></vn-icon>
|
|
|
|
</a>
|
2019-04-18 09:47:31 +00:00
|
|
|
<vn-icon-menu
|
|
|
|
vn-id="more-button"
|
|
|
|
icon="more_vert"
|
|
|
|
show-filter="false"
|
|
|
|
value-field="callback"
|
|
|
|
translate-fields="['name']"
|
|
|
|
data="$ctrl.moreOptions"
|
2019-04-26 10:05:49 +00:00
|
|
|
on-change="$ctrl.onMoreChange(value)"
|
|
|
|
on-open="$ctrl.onMoreOpen()">
|
2019-04-18 09:47:31 +00:00
|
|
|
</vn-icon-menu>
|
2019-03-26 13:27:08 +00:00
|
|
|
</div>
|
|
|
|
<div class="body">
|
|
|
|
<div class="attributes">
|
|
|
|
<h5>{{$ctrl.invoiceOut.ref}}</h5>
|
|
|
|
<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>
|
2019-04-08 14:53:37 +00:00
|
|
|
<vn-label-value label="Import"
|
|
|
|
value="{{$ctrl.invoiceOut.amount | currency: 'EUR': 2}}">
|
2019-03-26 13:27:08 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Client"
|
2019-04-08 14:53:37 +00:00
|
|
|
value="{{$ctrl.invoiceOut.client.name}}">
|
2019-03-26 13:27:08 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Company"
|
|
|
|
value="{{$ctrl.invoiceOut.company.code}}">
|
|
|
|
</vn-label-value>
|
|
|
|
</div>
|
2019-10-18 19:36:30 +00:00
|
|
|
<vn-quick-links
|
|
|
|
links="$ctrl.quicklinks">
|
|
|
|
</vn-quick-links>
|
2019-03-26 13:27:08 +00:00
|
|
|
</div>
|
2019-04-26 10:05:49 +00:00
|
|
|
</div>
|
|
|
|
<vn-confirm
|
|
|
|
vn-id="deleteConfirmation"
|
2020-03-31 13:15:16 +00:00
|
|
|
on-accept="$ctrl.deleteInvoiceOut()"
|
2019-04-26 10:05:49 +00:00
|
|
|
question="Are you sure you want to delete this invoice?">
|
2019-04-30 09:03:48 +00:00
|
|
|
</vn-confirm>
|
|
|
|
<vn-confirm
|
|
|
|
vn-id="bookConfirmation"
|
2020-03-31 13:15:16 +00:00
|
|
|
on-accept="$ctrl.bookInvoiceOut()"
|
2019-04-30 09:03:48 +00:00
|
|
|
question="Are you sure you want to book this invoice?">
|
2019-04-26 10:05:49 +00:00
|
|
|
</vn-confirm>
|