@widergy/utilitygo-smart-bill-mobile 3.12.2 → 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 +39 -29
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/lib/components/SmartBillSummary/index.js +7 -0
- package/src/lib/components/SmartBillSummary/tabs/Billing/components/AlternativeHeader/index.js +28 -2
- package/src/lib/components/SmartBillSummary/tabs/Billing/components/AlternativeHeader/styles.js +2 -2
- 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,72 +1,82 @@
|
|
|
1
|
-
## [3.
|
|
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
|
-
# [3.
|
|
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
|
-
|
|
21
|
-
* [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))
|
|
22
|
+
## [3.12.2](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.1...v3.12.2) (2026-04-14)
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
### Novedades y Mejoras
|
|
24
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)
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
## [3.12.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.0...v3.12.1) (2026-03-25)
|
|
27
29
|
|
|
28
|
-
|
|
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
|
-
*
|
|
36
|
-
*
|
|
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)
|
|
37
40
|
|
|
38
|
-
# [3.
|
|
41
|
+
# [3.11.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.10.0...v3.11.0) (2026-02-26)
|
|
39
42
|
|
|
43
|
+
### Novedades y Mejoras
|
|
40
44
|
|
|
41
|
-
|
|
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)
|
|
42
46
|
|
|
43
|
-
|
|
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
|
|
51
56
|
|
|
52
|
-
|
|
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)
|
|
53
58
|
|
|
59
|
+
# [3.8.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.7.0...v3.8.0) (2026-02-02)
|
|
54
60
|
|
|
55
|
-
###
|
|
61
|
+
### Novedades y Mejoras
|
|
56
62
|
|
|
57
|
-
*
|
|
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
|
|
|
65
|
+
# [3.7.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.1...v3.7.0) (2026-01-27)
|
|
59
66
|
|
|
60
|
-
###
|
|
67
|
+
### Novedades y Mejoras
|
|
61
68
|
|
|
62
|
-
*
|
|
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)
|
|
63
70
|
|
|
64
|
-
|
|
71
|
+
### Correcciones
|
|
65
72
|
|
|
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)
|
|
66
74
|
|
|
67
|
-
|
|
75
|
+
## [3.6.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.0...v3.6.1) (2026-01-14)
|
|
76
|
+
|
|
77
|
+
### Correcciones
|
|
68
78
|
|
|
69
|
-
*
|
|
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)
|
|
70
80
|
|
|
71
81
|
# [3.6.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.5.1...v3.6.0) (2025-12-19)
|
|
72
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,
|
|
@@ -238,6 +239,10 @@ const SmartBillSummary = ({
|
|
|
238
239
|
district={smartBill.client?.district}
|
|
239
240
|
supplyAddressText={translations.billingTab.secondHeader?.supplyAddress}
|
|
240
241
|
clientNumberFormatter={utils?.formatters?.clientNumberFormatter}
|
|
242
|
+
rate={smartBill.client?.rate?.description}
|
|
243
|
+
rateText={translations.billingTab.secondHeader?.rateHelpText}
|
|
244
|
+
ivaCondition={smartBill.client?.iva_condition}
|
|
245
|
+
ivaConditionText={translations.billingTab.secondHeader?.ivaConditionHelpText}
|
|
241
246
|
/>
|
|
242
247
|
)}
|
|
243
248
|
{smartBill?.attachment && (
|
|
@@ -254,6 +259,7 @@ const SmartBillSummary = ({
|
|
|
254
259
|
colors,
|
|
255
260
|
constants,
|
|
256
261
|
consumptionLayout,
|
|
262
|
+
currentAccount,
|
|
257
263
|
handlers,
|
|
258
264
|
loading,
|
|
259
265
|
smartBill,
|
|
@@ -318,6 +324,7 @@ SmartBillSummary.propTypes = {
|
|
|
318
324
|
components: object,
|
|
319
325
|
constants: object,
|
|
320
326
|
consumptionLayout: array,
|
|
327
|
+
currentAccount: object,
|
|
321
328
|
FabComponent: object,
|
|
322
329
|
handlers: shape({ [string]: func }),
|
|
323
330
|
loading: bool,
|
package/src/lib/components/SmartBillSummary/tabs/Billing/components/AlternativeHeader/index.js
CHANGED
|
@@ -12,7 +12,11 @@ const AlternativeHeader = ({
|
|
|
12
12
|
clientNumberFormatter,
|
|
13
13
|
district,
|
|
14
14
|
supplyAddressText,
|
|
15
|
-
supplyAddress
|
|
15
|
+
supplyAddress,
|
|
16
|
+
rate,
|
|
17
|
+
rateText,
|
|
18
|
+
ivaCondition,
|
|
19
|
+
ivaConditionText
|
|
16
20
|
}) => (
|
|
17
21
|
<Surface elevation={1} style={styles.container}>
|
|
18
22
|
<View>
|
|
@@ -34,6 +38,24 @@ const AlternativeHeader = ({
|
|
|
34
38
|
{supplyAddressText}
|
|
35
39
|
</UTLabel>
|
|
36
40
|
</View>
|
|
41
|
+
|
|
42
|
+
<View>
|
|
43
|
+
<UTLabel variant="small" weight="bold">
|
|
44
|
+
{rate}
|
|
45
|
+
</UTLabel>
|
|
46
|
+
<UTLabel colorTheme="gray" variant="small">
|
|
47
|
+
{rateText}
|
|
48
|
+
</UTLabel>
|
|
49
|
+
</View>
|
|
50
|
+
|
|
51
|
+
<View>
|
|
52
|
+
<UTLabel variant="small" weight="bold">
|
|
53
|
+
{ivaCondition}
|
|
54
|
+
</UTLabel>
|
|
55
|
+
<UTLabel colorTheme="gray" variant="small">
|
|
56
|
+
{ivaConditionText}
|
|
57
|
+
</UTLabel>
|
|
58
|
+
</View>
|
|
37
59
|
</Surface>
|
|
38
60
|
);
|
|
39
61
|
|
|
@@ -44,7 +66,11 @@ AlternativeHeader.propTypes = {
|
|
|
44
66
|
clientNumberFormatter: func,
|
|
45
67
|
district: string,
|
|
46
68
|
supplyAddressText: string,
|
|
47
|
-
supplyAddress: string
|
|
69
|
+
supplyAddress: string,
|
|
70
|
+
rate: string,
|
|
71
|
+
rateText: string,
|
|
72
|
+
ivaCondition: string,
|
|
73
|
+
ivaConditionText: string
|
|
48
74
|
};
|
|
49
75
|
|
|
50
76
|
export default AlternativeHeader;
|
|
@@ -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,
|