4548-invoiceIn-pdf #1113

Merged
joan merged 22 commits from 4548-invoiceIn-pdf into dev 2022-11-03 07:48:43 +00:00
2 changed files with 22 additions and 3 deletions
Showing only changes of commit 066cf6f69b - Show all commits

View File

@ -26,14 +26,12 @@
Clone Invoice
</vn-item>
<vn-item
ng-if="!$ctrl.hasDocuwareFile"
ng-click="$ctrl.showPdfInvoice()"
translate>
Show Invoice as PDF
</vn-item>
<vn-item
ng-if="!$ctrl.hasDocuwareFile"
ng-click="$ctrl.showPdfInvoice()"
ng-click="sendPdfConfirmation.show({email: $ctrl.entity})"
translate>
Send Invoice as PDF
</vn-item>
@ -94,3 +92,22 @@
<vn-popup vn-id="summary">
<vn-invoice-in-summary invoice-in="$ctrl.invoiceIn"></vn-invoice-in-summary>
</vn-popup>
<!-- Send PDF invoice confirmation popup -->
<vn-dialog
vn-id="sendPdfConfirmation"
on-accept="$ctrl.sendPdfInvoice($data)"
message="Send PDF invoice">
<tpl-body>
{{sendPdfConfirmation.data.email}}
<span translate>Are you sure you want to send it?</span>
<vn-textfield vn-one
label="Email"
ng-model="sendPdfConfirmation.data.email">
</vn-textfield>
</tpl-body>
<tpl-buttons>
<input type="button" response="cancel" translate-attr="{value: 'Cancel'}"/>
<button response="accept" translate>Confirm</button>
</tpl-buttons>
</vn-dialog>

View File

@ -19,3 +19,5 @@ To book: Contabilizar
Total amount: Total importe
Total net: Total neto
Total stems: Total tallos
Show Invoice as PDF: Ver Factura Agrícola como PDF
alexm marked this conversation as resolved Outdated

i minuscula, y per a l'anglés posa que es agricola.

i minuscula, y per a l'anglés posa que es agricola.
Send Invoice as PDF: Enviar Factura Agrícola como PDF