@freteclick/quasar-financial-ui 1.0.106 → 1.0.107

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.106",
3
+ "version": "1.0.107",
4
4
  "author": "FreteClick",
5
5
  "description": "FreteClick financial Quasar UI Component",
6
6
  "license": "MIT",
@@ -176,6 +176,11 @@ export default {
176
176
  return null;
177
177
  }
178
178
 
179
+ // Se já temos nosso_numero, não gerar novamente
180
+ if (this.invoiceBankId !== null) {
181
+ return;
182
+ }
183
+
179
184
  let params = {};
180
185
 
181
186
  this.isLoading = true;
@@ -194,6 +194,12 @@ export default {
194
194
  return null;
195
195
  }
196
196
 
197
+ // Se já temos nosso_numero, não gerar novamente — apenas exibir o existente
198
+ if (this.invoiceBankId !== null) {
199
+ this.clickDownloadBilletSicred();
200
+ return;
201
+ }
202
+
197
203
  let params = {};
198
204
 
199
205
  this.isLoading = true;