@widergy/utilitygo-smart-bill-mobile 3.12.2 → 3.13.0

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,3 +1,10 @@
1
+ # [3.13.0](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.2...v3.13.0) (2026-04-27)
2
+
3
+
4
+ ### Features
5
+
6
+ * new data in alternative header ([#72](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/issues/72)) ([980220e](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/commit/980220edf3726c276e1fc5bd0b6aaabea7651236))
7
+
1
8
  ## [3.12.2](https://github.com/widergy/UtilityGO-Smart-Bill-Mobile/compare/v3.12.1...v3.12.2) (2026-04-14)
2
9
 
3
10
 
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.0",
4
4
  "description": "UtilityGO SmartBill Mobile",
5
5
  "license": "MIT",
6
6
  "main": "src/lib/index.js",
@@ -238,6 +238,10 @@ const SmartBillSummary = ({
238
238
  district={smartBill.client?.district}
239
239
  supplyAddressText={translations.billingTab.secondHeader?.supplyAddress}
240
240
  clientNumberFormatter={utils?.formatters?.clientNumberFormatter}
241
+ rate={smartBill.client?.rate?.description}
242
+ rateText={translations.billingTab.secondHeader?.rateHelpText}
243
+ ivaCondition={smartBill.client?.iva_condition}
244
+ ivaConditionText={translations.billingTab.secondHeader?.ivaConditionHelpText}
241
245
  />
242
246
  )}
243
247
  {smartBill?.attachment && (
@@ -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
  });