diff --git a/src/app/domains/pos/modules/saleInvoices/views/single.component.html b/src/app/domains/pos/modules/saleInvoices/views/single.component.html
index 548fa4d..7d52d4f 100644
--- a/src/app/domains/pos/modules/saleInvoices/views/single.component.html
+++ b/src/app/domains/pos/modules/saleInvoices/views/single.component.html
@@ -5,6 +5,8 @@
[sendToTspLoading]="sendToTspLoading()"
[inquiryLoading]="inquiryLoading()"
[resendToTspLoading]="resendToTspLoading()"
+ [correctionLoading]="correctionLoading()"
+ [returnFromSaleLoading]="backFromSaleLoading()"
(onSendToTsp)="sendToTsp()"
(onResendToTsp)="resendToTsp()"
(onInquiry)="inquiry()"
diff --git a/src/app/shared/components/invoices/correctionForm/form.component.html b/src/app/shared/components/invoices/correctionForm/form.component.html
index 8c9984b..6762f6e 100644
--- a/src/app/shared/components/invoices/correctionForm/form.component.html
+++ b/src/app/shared/components/invoices/correctionForm/form.component.html
@@ -43,7 +43,7 @@
-
+
Promise | boolean;
@Input({ required: true }) invoiceDate!: string;
@Input() visible = false;
+ @Input() loading = false;
form = this.fb.group({
invoice_date: [this.invoiceDate],
diff --git a/src/app/shared/components/invoices/returnForm/form.component.html b/src/app/shared/components/invoices/returnForm/form.component.html
index f57c2ba..be47804 100644
--- a/src/app/shared/components/invoices/returnForm/form.component.html
+++ b/src/app/shared/components/invoices/returnForm/form.component.html
@@ -22,5 +22,5 @@
-
+
diff --git a/src/app/shared/components/invoices/sale-invoice-single-view.component.html b/src/app/shared/components/invoices/sale-invoice-single-view.component.html
index ac20984..06a5c5f 100644
--- a/src/app/shared/components/invoices/sale-invoice-single-view.component.html
+++ b/src/app/shared/components/invoices/sale-invoice-single-view.component.html
@@ -50,6 +50,7 @@
[initialValues]="invoice.items"
[invoiceDate]="invoice.invoice_date"
[beforeSubmit]="beforeCorrectionSubmitHandler.bind(this)"
+ [loading]="correctionLoading || false"
(onSubmit)="correctionSubmit($event)"
(onClose)="cancelCorrection()" />