50 lines
1.8 KiB
HTML
50 lines
1.8 KiB
HTML
<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>
|
|
<vn-icon-menu
|
|
vn-id="more-button"
|
|
icon="more_vert"
|
|
show-filter="false"
|
|
value-field="callback"
|
|
translate-fields="['name']"
|
|
data="$ctrl.moreOptions"
|
|
on-change="$ctrl.onMoreChange(value)"
|
|
on-open="$ctrl.onMoreOpen()">
|
|
</vn-icon-menu>
|
|
</div>
|
|
<div class="body">
|
|
<div class="attributes">
|
|
<h5>{{$ctrl.invoiceOut.ref}}</h5>
|
|
<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"
|
|
value="{{$ctrl.invoiceOut.client.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value label="Company"
|
|
value="{{$ctrl.invoiceOut.company.code}}">
|
|
</vn-label-value>
|
|
</div>
|
|
<vn-quick-links
|
|
links="$ctrl.quicklinks">
|
|
</vn-quick-links>
|
|
</div>
|
|
</div>
|
|
<vn-confirm
|
|
vn-id="deleteConfirmation"
|
|
on-response="$ctrl.deleteInvoiceOut($response)"
|
|
question="Are you sure you want to delete this invoice?">
|
|
</vn-confirm>
|
|
<vn-confirm
|
|
vn-id="bookConfirmation"
|
|
on-response="$ctrl.bookInvoiceOut($response)"
|
|
question="Are you sure you want to book this invoice?">
|
|
</vn-confirm> |