@widergy/utilitygo-smart-bill-mobile 3.13.0 → 3.13.2
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/CHANGELOG.md +37 -34
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/lib/components/SmartBillSummary/index.js +3 -0
- package/src/lib/components/SmartBillSummary/tabs/Billing/components/RateCard/index.js +16 -7
- package/src/lib/components/SmartBillSummary/tabs/Billing/components/RateCard/styles.js +9 -0
- package/src/lib/components/SmartBillSummary/tabs/Billing/index.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,79 +1,82 @@
|
|
|
1
|
-
|
|
1
|
+
## [3.13.2](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.13.1...v3.13.2) (2026-05-21)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* version bump ([b2101f5](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/b2101f5769cc1a5e575e4735fa90a0dba74140da))
|
|
7
7
|
|
|
8
|
-
## [3.
|
|
8
|
+
## [3.13.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.13.0...v3.13.1) (2026-05-20)
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
### Bug Fixes
|
|
12
12
|
|
|
13
|
-
* [
|
|
13
|
+
* [EVEP-461] smartbill changes ([#73](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/73)) ([55db4b8](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/55db4b8fe53380abd666c199b8f9f1ce2080de46))
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# [3.13.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.2...v3.13.0) (2026-04-27)
|
|
16
16
|
|
|
17
|
+
### Novedades y Mejoras
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
* Se incorporó información adicional en el encabezado alternativo de la aplicación. [#72](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/72) [EVEP-457](https://widergy.atlassian.net/browse/EVEP-457)
|
|
20
|
+
* Mejoras internas de la plataforma. [`351366b`](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/351366b)
|
|
19
21
|
|
|
20
|
-
|
|
22
|
+
## [3.12.2](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.1...v3.12.2) (2026-04-14)
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
### Novedades y Mejoras
|
|
23
25
|
|
|
26
|
+
* Mejoras internas de la plataforma [#70](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/70) [DEV-766](https://widergy.atlassian.net/browse/DEV-766)
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
## [3.12.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.0...v3.12.1) (2026-03-25)
|
|
26
29
|
|
|
27
|
-
|
|
28
|
-
* [EVEP-423] change ratecard footer ([#67](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/67)) ([eded80d](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/eded80d667497e5342fb0d3bdbc40499cfa1109b))
|
|
30
|
+
### Novedades y Mejoras
|
|
29
31
|
|
|
30
|
-
|
|
32
|
+
* Mejoras internas de la plataforma. [#69](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/69) [DEV-766](https://widergy.atlassian.net/browse/DEV-766)
|
|
31
33
|
|
|
34
|
+
# [3.12.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.11.0...v3.12.0) (2026-03-12)
|
|
32
35
|
|
|
33
|
-
###
|
|
36
|
+
### Novedades y Mejoras
|
|
34
37
|
|
|
35
|
-
*
|
|
38
|
+
* En la sección de tarifas, los conceptos ahora pueden mostrar subconceptos con mayor detalle, de forma consistente con la vista de detalle de factura. Si no hay subconceptos disponibles, la visualización permanece igual a la anterior. [#67](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/67) [EVEP-423](https://widergy.atlassian.net/browse/EVEP-423)
|
|
39
|
+
* Se agregó soporte para la adhesión de deuda por mora, permitiendo gestionar este tipo de situación directamente desde la aplicación. [#68](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/68) [EVEP-107](https://widergy.atlassian.net/browse/EVEP-107)
|
|
36
40
|
|
|
37
|
-
# [3.
|
|
41
|
+
# [3.11.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.10.0...v3.11.0) (2026-02-26)
|
|
38
42
|
|
|
43
|
+
### Novedades y Mejoras
|
|
39
44
|
|
|
40
|
-
|
|
45
|
+
* Se incorporaron mejoras en la funcionalidad de factura inteligente (Smart Bill) para los niveles tarifarios T2 y T3. [#66](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/66) [EVEP-273](https://widergy.atlassian.net/browse/EVEP-273)
|
|
41
46
|
|
|
42
|
-
|
|
43
|
-
* [EVEP-273] smartbill t2 t3 ([#65](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/65)) ([387c186](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/387c186d6469976b1985809e32e5e75e49c48d21))
|
|
47
|
+
# [3.10.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.9.0...v3.10.0) (2026-02-26)
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
### Novedades y Mejoras
|
|
46
50
|
|
|
51
|
+
* Se incorporaron mejoras en la factura inteligente para los planes tarifarios T2 y T3. [#64](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/64) [#65](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/65) [EVEP-273](https://widergy.atlassian.net/browse/EVEP-273)
|
|
47
52
|
|
|
48
|
-
|
|
53
|
+
# [3.9.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.8.0...v3.9.0) (2026-02-10)
|
|
49
54
|
|
|
50
|
-
|
|
55
|
+
### Novedades y Mejoras
|
|
56
|
+
|
|
57
|
+
* Mejoras internas de la plataforma. [#56](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/56) [DEV-766](https://widergy.atlassian.net/browse/DEV-766)
|
|
51
58
|
|
|
52
59
|
# [3.8.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.7.0...v3.8.0) (2026-02-02)
|
|
53
60
|
|
|
61
|
+
### Novedades y Mejoras
|
|
54
62
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
* charge configuration ([#63](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/63)) ([9bd0240](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/9bd0240c1914d9f424373304f020afa0303f9d6d))
|
|
63
|
+
* Se mejoró la visualización de tarifas, permitiendo mostrar u ocultar la sección de cargos según la configuración de cada cliente. [#63](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/63) [EVEP-386](https://widergy.atlassian.net/browse/EVEP-386)
|
|
58
64
|
|
|
59
65
|
# [3.7.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.1...v3.7.0) (2026-01-27)
|
|
60
66
|
|
|
67
|
+
### Novedades y Mejoras
|
|
61
68
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
* dependency ([#62](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/62)) ([c853ee6](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/c853ee66679e805f45f31082adc12ce61fe87b94))
|
|
69
|
+
* Se agregó un nuevo botón en la pantalla de tarifas para facilitar la navegación y las acciones disponibles para el usuario. [#61](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/61) [EVEP-356](https://widergy.atlassian.net/browse/EVEP-356)
|
|
65
70
|
|
|
71
|
+
### Correcciones
|
|
66
72
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
* [EVEP-356] new button in ratecard ([#61](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/61)) ([8802ecc](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/8802ecc5ed5cd49a24fea8c2fb229c6e975a717b))
|
|
73
|
+
* Mejoras internas de la plataforma. [#62](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/62) [EVEP-356](https://widergy.atlassian.net/browse/EVEP-356)
|
|
70
74
|
|
|
71
75
|
## [3.6.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.0...v3.6.1) (2026-01-14)
|
|
72
76
|
|
|
77
|
+
### Correcciones
|
|
73
78
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
* [EVEP-297] billing date range ([#58](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/58)) ([579140a](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/579140ad793797ac28b98df9e045ec44df8aa2f5))
|
|
79
|
+
* Se corrigió un problema con el rango de fechas en la visualización de facturas. [#58](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/pull/58) [EVEP-297](https://widergy.atlassian.net/browse/EVEP-297)
|
|
77
80
|
|
|
78
81
|
# [3.6.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.5.1...v3.6.0) (2025-12-19)
|
|
79
82
|
|
package/README.md
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
# UtilityGO-Smart-Bill
|
|
1
|
+
# UtilityGO-Smart-Bill-Mobile
|
|
2
2
|
|
package/package.json
CHANGED
|
@@ -20,6 +20,7 @@ const SmartBillSummary = ({
|
|
|
20
20
|
colors,
|
|
21
21
|
components,
|
|
22
22
|
constants = {},
|
|
23
|
+
currentAccount,
|
|
23
24
|
consumptionLayout,
|
|
24
25
|
FabComponent,
|
|
25
26
|
handlers,
|
|
@@ -258,6 +259,7 @@ const SmartBillSummary = ({
|
|
|
258
259
|
colors,
|
|
259
260
|
constants,
|
|
260
261
|
consumptionLayout,
|
|
262
|
+
currentAccount,
|
|
261
263
|
handlers,
|
|
262
264
|
loading,
|
|
263
265
|
smartBill,
|
|
@@ -322,6 +324,7 @@ SmartBillSummary.propTypes = {
|
|
|
322
324
|
components: object,
|
|
323
325
|
constants: object,
|
|
324
326
|
consumptionLayout: array,
|
|
327
|
+
currentAccount: object,
|
|
325
328
|
FabComponent: object,
|
|
326
329
|
handlers: shape({ [string]: func }),
|
|
327
330
|
loading: bool,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useMemo } from 'react';
|
|
2
2
|
import { Linking, View } from 'react-native';
|
|
3
|
-
import { Surface, UTButton, UTLabel, UTDataElement } from '@widergy/mobile-ui';
|
|
3
|
+
import { Surface, UTButton, UTLabel, UTDataElement, UTStatus } from '@widergy/mobile-ui';
|
|
4
4
|
import { object, string, func, objectOf, array, bool } from 'prop-types';
|
|
5
5
|
import isEmpty from 'lodash/isEmpty';
|
|
6
6
|
import debounce from 'lodash/debounce';
|
|
@@ -45,6 +45,7 @@ const RateCard = ({
|
|
|
45
45
|
} = rateCardTranslations;
|
|
46
46
|
const { client, periods } = smartBill?.asMutable ? smartBill.asMutable({ deep: true }) : { ...smartBill };
|
|
47
47
|
const purchasedRate = client?.rate?.purchased || '';
|
|
48
|
+
const descriptionRate = client?.rate?.description;
|
|
48
49
|
const periodsToCompare = getConsumptionPeriodsToCompare(periods);
|
|
49
50
|
const { totalConsumption, totalConsumptionFormatted } = getConsumptionLabels(periodsToCompare) || {};
|
|
50
51
|
const { levels = [] } =
|
|
@@ -93,13 +94,21 @@ const RateCard = ({
|
|
|
93
94
|
|
|
94
95
|
return (
|
|
95
96
|
<Surface elevation={withElevation ? 1 : 0} style={styles.container}>
|
|
96
|
-
<View style={styles.
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
<View style={styles.header}>
|
|
98
|
+
<View style={styles.headerTitles}>
|
|
99
|
+
<UTLabel variant="title2" weight="medium">
|
|
100
|
+
{title}
|
|
101
|
+
</UTLabel>
|
|
102
|
+
<UTLabel colorTheme="gray">{helpText}</UTLabel>
|
|
103
|
+
</View>
|
|
104
|
+
{descriptionRate && (
|
|
105
|
+
<View style={styles.headerDescriptionRate}>
|
|
106
|
+
<UTStatus type="light" variant="information" withoutIcon>
|
|
107
|
+
{descriptionRate}
|
|
108
|
+
</UTStatus>
|
|
109
|
+
</View>
|
|
110
|
+
)}
|
|
101
111
|
</View>
|
|
102
|
-
|
|
103
112
|
{!noLevels && (
|
|
104
113
|
<ProgressBar
|
|
105
114
|
colors={colors}
|
|
@@ -61,7 +61,16 @@ export const createStyles = colors =>
|
|
|
61
61
|
padding: 0,
|
|
62
62
|
width: '100%'
|
|
63
63
|
},
|
|
64
|
+
header: {
|
|
65
|
+
flexDirection: 'row',
|
|
66
|
+
justifyContent: 'space-between'
|
|
67
|
+
},
|
|
68
|
+
headerDescriptionRate: {
|
|
69
|
+
paddingRight: 16,
|
|
70
|
+
paddingTop: 16
|
|
71
|
+
},
|
|
64
72
|
headerTitles: {
|
|
73
|
+
flex: 1,
|
|
65
74
|
flexDirection: 'column',
|
|
66
75
|
gap: 8,
|
|
67
76
|
paddingHorizontal: 16,
|
|
@@ -39,6 +39,7 @@ const Billing = ({
|
|
|
39
39
|
notAdhered,
|
|
40
40
|
rateCard: rateCardTranslations,
|
|
41
41
|
ratesTableLink,
|
|
42
|
+
seeBillLink,
|
|
42
43
|
titularCard = {},
|
|
43
44
|
totalAmountLabel,
|
|
44
45
|
totalCard = {}
|
|
@@ -120,6 +121,7 @@ const Billing = ({
|
|
|
120
121
|
rateCardTranslations,
|
|
121
122
|
ratesTableLink,
|
|
122
123
|
readingType,
|
|
124
|
+
seeBillLink,
|
|
123
125
|
smartBill,
|
|
124
126
|
subsidy,
|
|
125
127
|
subsidyLevels,
|