@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 CHANGED
@@ -1,72 +1,82 @@
1
- ## [3.12.2](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.1...v3.12.2) (2026-04-14)
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
- * [DEV-766] standarize prepush ([#70](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/70)) ([5b0bcc1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/5b0bcc16dcf897aad3622c5d09158ec90a947a2a))
6
+ * version bump ([b2101f5](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/b2101f5769cc1a5e575e4735fa90a0dba74140da))
7
7
 
8
- ## [3.12.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.0...v3.12.1) (2026-03-25)
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
- * [DEV-766] ci linter skip ([#69](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/69)) ([b0177a9](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/b0177a9643bed6ca2b18c8b6d442ee614800fb44))
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.12.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.11.0...v3.12.0) (2026-03-12)
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
- ### Features
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
- * [EVEP-107] attachment delinquency ([#68](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/68)) ([6f713e7](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/6f713e7134a83ba606a35c95188d3f9d26dd2362))
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
- # [3.11.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.10.0...v3.11.0) (2026-02-26)
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
- ### Features
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
- * [EVEP-273] smartbill t2 t3 ([#66](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/66)) ([ddef20b](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/ddef20b121aeec0510b49d2ba2e7e9056c10ffc9))
30
+ ### Novedades y Mejoras
29
31
 
30
- # [3.10.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.9.0...v3.10.0) (2026-02-26)
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
- ### Features
36
+ ### Novedades y Mejoras
34
37
 
35
- * [EVEP-273] smartbill t2 t3 ([#64](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/64)) ([1f9a6fc](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/1f9a6fcc56eeb5cacf5ae290e0b1496d6d1b6792))
36
- * [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))
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.9.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.8.0...v3.9.0) (2026-02-10)
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
- ### Features
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
- * [DEV-766] mvp widergy/eslint-config package ([#56](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/56)) ([9e87e33](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/9e87e337b1672ae7e30febb9f6cd8d4f28e14ea1))
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
- # [3.8.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.7.0...v3.8.0) (2026-02-02)
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
- ### Features
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
- * charge configuration ([#63](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/63)) ([9bd0240](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/9bd0240c1914d9f424373304f020afa0303f9d6d))
55
+ ### Novedades y Mejoras
51
56
 
52
- # [3.7.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.1...v3.7.0) (2026-01-27)
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
- ### Bug Fixes
61
+ ### Novedades y Mejoras
56
62
 
57
- * dependency ([#62](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/62)) ([c853ee6](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/c853ee66679e805f45f31082adc12ce61fe87b94))
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
- ### Features
67
+ ### Novedades y Mejoras
61
68
 
62
- * [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))
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
- ## [3.6.1](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.6.0...v3.6.1) (2026-01-14)
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
- ### Bug Fixes
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
- * [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)
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widergy/utilitygo-smart-bill-mobile",
3
- "version": "3.12.2",
3
+ "version": "3.13.2",
4
4
  "description": "UtilityGO SmartBill Mobile",
5
5
  "license": "MIT",
6
6
  "main": "src/lib/index.js",
@@ -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,
@@ -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;
@@ -4,8 +4,8 @@ export default StyleSheet.create({
4
4
  container: {
5
5
  borderRadius: 8,
6
6
  gap: 16,
7
- padding: 16,
8
7
  marginHorizontal: 16,
9
- marginTop: 16
8
+ marginTop: 16,
9
+ padding: 16
10
10
  }
11
11
  });
@@ -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.headerTitles}>
97
- <UTLabel variant="title2" weight="medium">
98
- {title}
99
- </UTLabel>
100
- <UTLabel colorTheme="gray">{helpText}</UTLabel>
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,