@freteclick/quasar-financial-ui 1.0.88 → 1.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
icon="money"
|
|
20
20
|
size="lg"
|
|
21
21
|
color="primary"
|
|
22
|
-
label="
|
|
22
|
+
label="Abrir Boleto Pix"
|
|
23
23
|
:loading="isLoadingDownload"
|
|
24
24
|
@click="clickDownloadBilletSicred()"
|
|
25
25
|
:disable="isPaid"
|
|
@@ -200,7 +200,7 @@ export default {
|
|
|
200
200
|
|
|
201
201
|
if (data.paymentType == 'billet') {
|
|
202
202
|
|
|
203
|
-
if (data.paymentStatus == 'created' && this.isPaid === false) {
|
|
203
|
+
// if (data.paymentStatus == 'created' && this.isPaid === false) {
|
|
204
204
|
|
|
205
205
|
if (this.paymentInstitution === 'itau') {
|
|
206
206
|
this.getItauHash().then(hash => {
|
|
@@ -222,18 +222,17 @@ export default {
|
|
|
222
222
|
|
|
223
223
|
this.showBillet = false;
|
|
224
224
|
let urlTmp = ENTRYPOINT + `/download?invoiceUrl=${this.payment.invoiceUrl}`;
|
|
225
|
-
// let urlTmp = ENTRYPOINT + `/vendor/pdf.js/web/viewer.html?file=/finance/${this.invoiceId}/download?timestamp${new Date().getTime()}`;
|
|
226
225
|
this.invoiceUrlSicred = urlTmp;
|
|
227
226
|
this.isLoading = false;
|
|
228
227
|
this.showBilletSicred = true;
|
|
229
228
|
|
|
230
229
|
}
|
|
231
|
-
} else {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}
|
|
230
|
+
// } else {
|
|
231
|
+
// this.showBillet = false;
|
|
232
|
+
// if (this.paymentInstitution === 'sicred') {
|
|
233
|
+
// this.isPaid = data.status === 'paid';
|
|
234
|
+
// }
|
|
235
|
+
// }
|
|
237
236
|
|
|
238
237
|
}
|
|
239
238
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
icon="money"
|
|
20
20
|
size="lg"
|
|
21
21
|
color="primary"
|
|
22
|
-
label="
|
|
22
|
+
label="Abrir Boleto Pix"
|
|
23
23
|
:loading="isLoadingDownload"
|
|
24
24
|
@click="clickDownloadBilletSicred()"
|
|
25
25
|
:disable="isPaid"
|
|
@@ -200,7 +200,7 @@ export default {
|
|
|
200
200
|
|
|
201
201
|
if (data.paymentType == 'billet') {
|
|
202
202
|
|
|
203
|
-
if (data.paymentStatus == 'created' && this.isPaid === false) {
|
|
203
|
+
// if (data.paymentStatus == 'created' && this.isPaid === false) {
|
|
204
204
|
|
|
205
205
|
if (this.paymentInstitution === 'itau') {
|
|
206
206
|
this.getItauHash().then(hash => {
|
|
@@ -222,18 +222,17 @@ export default {
|
|
|
222
222
|
|
|
223
223
|
this.showBillet = false;
|
|
224
224
|
let urlTmp = ENTRYPOINT + `/download?invoiceUrl=${this.payment.invoiceUrl}`;
|
|
225
|
-
// let urlTmp = ENTRYPOINT + `/vendor/pdf.js/web/viewer.html?file=/finance/${this.invoiceId}/download?timestamp${new Date().getTime()}`;
|
|
226
225
|
this.invoiceUrlSicred = urlTmp;
|
|
227
226
|
this.isLoading = false;
|
|
228
227
|
this.showBilletSicred = true;
|
|
229
228
|
|
|
230
229
|
}
|
|
231
|
-
} else {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
}
|
|
230
|
+
// } else {
|
|
231
|
+
// this.showBillet = false;
|
|
232
|
+
// if (this.paymentInstitution === 'sicred') {
|
|
233
|
+
// this.isPaid = data.status === 'paid';
|
|
234
|
+
// }
|
|
235
|
+
// }
|
|
237
236
|
|
|
238
237
|
}
|
|
239
238
|
|