esoftplay-event 0.0.0-q → 0.0.0-r

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.
@@ -711,7 +711,7 @@ export default function m(props: EventOrder_detailProps): any {
711
711
  {
712
712
  esp.isDebug("") &&
713
713
  <View style={{ padding: 5 }}>
714
- <EventButton label={"Kirim tiket ke email"} onPress={() => {
714
+ <EventButton label={esp.lang("event/order_detail", "send_to_email")} onPress={() => {
715
715
  LibToastProperty.show("Coming Soon")
716
716
  }} backgroundColor={"#FFF"} borderColor={LibStyle.colorGreen} fontColor={LibStyle.colorGreen} />
717
717
  </View>
@@ -95,12 +95,11 @@ export default function m(props: EventOrder_detail_upgradeProps): any {
95
95
  </View>
96
96
  </View>
97
97
 
98
- <LibTextstyle textStyle='m_overline' text={esp.lang("event/order_detail_upgrade", "upgrade_to")} style={{ fontSize: 12, margin: 15, marginBottom: 0 }} />
98
+ <LibTextstyle textStyle='m_overline' text={esp.lang("event/order_detail_upgrade", "upgrade_to")} style={{ fontSize: 12, margin: 15, marginBottom: 10 }} />
99
99
 
100
100
  <LibList
101
101
  data={result?.list}
102
102
  extraData={selectedTicket}
103
- style={{ margin: 15, justifyContent: 'space-between' }}
104
103
  renderItem={(item: any, i: number) => {
105
104
  return (
106
105
  <Pressable onPress={() => {
@@ -121,7 +120,7 @@ export default function m(props: EventOrder_detail_upgradeProps): any {
121
120
  } else {
122
121
  LibDialog.warning(esp.lang("event/order_detail_upgrade", "oops"), item.message_error)
123
122
  }
124
- }} key={i} style={{ ...LibStyle.elevation(2), width: LibStyle.width - 35, marginLeft: 2.5, marginTop: 2.5, marginBottom: 10, borderRadius: 10, backgroundColor: item.status == 0 ? LibStyle.colorBgGrey : selectedTicket?.selected_ticket?.id == item.id ? LibStyle.colorGreen : "#fff", padding: 10, alignContent: 'center', alignItems: 'center', justifyContent: 'center' }}>
123
+ }} key={i} style={{ ...LibStyle.elevation(2), marginHorizontal: 15, marginTop: 2.5, marginBottom: 10, borderRadius: 10, backgroundColor: item.status == 0 ? LibStyle.colorBgGrey : selectedTicket?.selected_ticket?.id == item.id ? LibStyle.colorGreen : "#fff", padding: 10, alignContent: 'center', alignItems: 'center', justifyContent: 'center' }}>
125
124
  <EventHtmltext allowFontScaling={false} style={{ marginHorizontal: 5, fontSize: 16, color: item.status == 0 ? "#c9c9c9" : selectedTicket?.selected_ticket?.id == item.id ? "#fff" : "#000", textAlign: 'center', fontWeight: 'bold' }} numberOfLines={2} ellipsizeMode={'tail'}>{item?.price_name_to}</EventHtmltext>
126
125
  <Text allowFontScaling={false} style={{ fontSize: 14, fontWeight: 'bold', marginTop: 5, color: item.status == 0 ? "#c9c9c9" : selectedTicket?.selected_ticket?.id == item.id ? "#fff" : "#000" }}>{"+ " + LibUtils.money(Number(dataTicket?.qty_upgrade) * Number(item?.amount))}</Text>
127
126
 
@@ -53,9 +53,9 @@ export default function m(props: EventOrder_waitingProps): any {
53
53
  useEffect(() => {
54
54
  loadData()
55
55
  stateData.reset()
56
- LibAutoreload.set(() => {
57
- loadData()
58
- }, 6000)
56
+ // LibAutoreload.set(() => {
57
+ // loadData()
58
+ // }, 6000)
59
59
  return () => LibAutoreload.clear()
60
60
  }, [])
61
61
 
package/id.json CHANGED
@@ -975,6 +975,7 @@
975
975
  "see_all_coupon": "Lihat Semua Kupon",
976
976
  "select_domicile": "Pilih Domisili",
977
977
  "select_gender": "Pilih Jenis Kelamin",
978
+ "send_to_email": "Kirim tiket ke email",
978
979
  "share_msg": "Pastikan temanmu sudah mendownload dan mendaftar di BBO",
979
980
  "share_no": "Batal",
980
981
  "share_ok": "Lanjutkan",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "esoftplay-event",
3
- "version": "0.0.0-q",
3
+ "version": "0.0.0-r",
4
4
  "description": "event module on esoftplay framework",
5
5
  "main": "index.js",
6
6
  "scripts": {