Skip to content

Commit ef9725d

Browse files
committed
fix: internal data to ARCA
1 parent de5b87f commit ef9725d

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

src/app/afip/afip.component.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface InvoiceElement {
2626
}
2727

2828
@Component({
29-
selector: 'app-afip',
29+
selector: 'app-arca',
3030
templateUrl: './afip.component.html',
3131
styleUrls: ['./afip.component.scss'],
3232
animations: [
@@ -84,7 +84,7 @@ export class AfipComponent implements OnInit {
8484
scanQR() {
8585
this.barcodeScanner.scan({
8686
formats: 'QR_CODE',
87-
prompt: 'Coloque un Código QR de AFIP en el Escaner.',
87+
prompt: 'Coloque un Código QR de ARCA en el Escaner.',
8888
resultDisplayDuration: 0
8989
})
9090
.then(barcodeData => {
@@ -99,7 +99,7 @@ export class AfipComponent implements OnInit {
9999
scanQRContinue() {
100100
this.barcodeScanner.scan({
101101
formats: 'QR_CODE',
102-
prompt: 'Coloque un Código QR de AFIP en el Escaner. Puede escanear todas las Facturas AFIP que desee. Al finalizar, oprima en el botón Volver.',
102+
prompt: 'Coloque un Código QR de ARCA en el Escaner. Puede escanear todas las Facturas ARCA que desee. Al finalizar, oprima en el botón Volver.',
103103
resultDisplayDuration: 0
104104
})
105105
.then(barcodeData => {
@@ -279,7 +279,7 @@ export class AfipComponent implements OnInit {
279279
}
280280
} else {
281281
this.qrs[i] = false;
282-
this.qrErrors.push('QR no es de AFIP');
282+
this.qrErrors.push('¡QR no es de ARCA!');
283283
}
284284
}
285285
}
@@ -401,7 +401,7 @@ export class AfipComponent implements OnInit {
401401
var base64data = reader.result;
402402
try {
403403
const result = await Filesystem.writeFile({
404-
path: 'invoices_afip_' + `${year}${month}${day}` + '.csv',
404+
path: 'invoices_arca_' + `${year}${month}${day}` + '.csv',
405405
data: <string>base64data,
406406
directory: Directory.Data,
407407
recursive: true
@@ -508,7 +508,7 @@ export class AfipComponent implements OnInit {
508508
var base64data = reader.result;
509509
try {
510510
const result = await Filesystem.writeFile({
511-
path: 'invoices_afip_' + `${year}${month}${day}` + '.csv',
511+
path: 'invoices_arca_' + `${year}${month}${day}` + '.csv',
512512
data: <string>base64data,
513513
directory: Directory.Data,
514514
recursive: true

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</div>
1111
<div class="col text-center d-flex flex-wrap align-items-center codize-logo overflow-hidden position-relative">
1212
<img src="./assets/img/codize-logo.webp" class="img-fluid" />
13-
<small class="position-absolute" style="bottom:-5px;right:0;font-size:10px;opacity:0.8;">AFIP</small>
13+
<small class="position-absolute" style="bottom:-5px;right:0;font-size:10px;opacity:0.8;">ARCA</small>
1414
</div>
1515
<div class="col text-end">
1616
</div>

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Globals } from './app.globals';
77
styleUrls: ['./app.component.scss']
88
})
99
export class AppComponent {
10-
title = 'codize-afip';
10+
title = 'codize-arca';
1111

1212
globals = Globals;
1313

0 commit comments

Comments
 (0)