@freteclick/quasar-financial-ui 1.0.89 → 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freteclick/quasar-financial-ui",
3
- "version": "1.0.89",
3
+ "version": "1.0.90",
4
4
  "author": "FreteClick",
5
5
  "description": "FreteClick financial Quasar UI Component",
6
6
  "license": "MIT",
@@ -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
- this.showBillet = false;
233
- if (this.paymentInstitution === 'sicred') {
234
- this.isPaid = data.status === 'paid';
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
 
@@ -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
- this.showBillet = false;
233
- if (this.paymentInstitution === 'sicred') {
234
- this.isPaid = data.status === 'paid';
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