esoftplay-event 0.0.2-z → 0.0.3

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/config.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "fonts": {
3
- "mono": "mono.ttf",
4
3
  "Arial": "Arial.ttf",
5
4
  "ArialBold": "ArialBold.ttf",
6
5
  "SFProText": "SFProText.ttf",
6
+ "mono": "mono.ttf",
7
7
  "MonoSpace": "MonoSpace.ttf",
8
8
  "DecoNumbers": "DecoNumbers.ttf",
9
9
  "digital": "digital.ttf"
@@ -123,7 +123,7 @@ export default function m(props: EventExchange_ticket_resultProps): any {
123
123
  <View style={{ flex: 1, flexDirection: 'row', alignContent: 'center', alignItems: 'center', padding: 5 }}>
124
124
  <View style={{ flex: 1, }}>
125
125
  <Text allowFontScaling={false} numberOfLines={2} ellipsizeMode="tail" style={{ fontSize: 16, fontWeight: 'bold', color: "#000" }}>{item?.title} </Text>
126
- <Text allowFontScaling={false} style={{ fontSize: 18, marginTop: 4, letterSpacing: 1 }}>{item?.qty} Item</Text>
126
+ <Text allowFontScaling={false} style={{ fontSize: 18, marginTop: 4, letterSpacing: 1 }}>{item?.list?.filter?.((x: any) => x?.is_exchanged == 0)?.length || 0} {esp.lang("event/exchange_ticket_result", "available")}</Text>
127
127
  </View>
128
128
  {
129
129
  item?.list?.[0].is_exchanged == 0 &&
package/id.json CHANGED
@@ -689,6 +689,7 @@
689
689
  "total_scan": "Total Tiket Terpindai"
690
690
  },
691
691
  "event/exchange_ticket_result": {
692
+ "available": "dapat ditukarkan",
692
693
  "cancel": "Batal",
693
694
  "choose": "Pilih",
694
695
  "err": "Oops",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay-event",
3
- "version": "0.0.2-z",
3
+ "version": "0.0.3",
4
4
  "description": "event module on esoftplay framework",
5
5
  "main": "index.js",
6
6
  "scripts": {