esoftplay-event 0.0.2-u → 0.0.2-v
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.
|
@@ -114,7 +114,7 @@ export default function m(props: EventOrder_detail_upgradeProps): any {
|
|
|
114
114
|
<EventHtmltext allowFontScaling={false} style={{ flexWrap: 'wrap', fontFamily: "Arial", fontSize: 11, fontStyle: "normal", letterSpacing: 0, color: '#999' }}>{item.info}</EventHtmltext>
|
|
115
115
|
}
|
|
116
116
|
</View>
|
|
117
|
-
<Text allowFontScaling={false} style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold', marginTop: 5, color: item.status != 1 ? "#c9c9c9" : selTic ? LibStyle.colorBlue : "#000" }}>{"+ "
|
|
117
|
+
<Text allowFontScaling={false} style={{ textAlign: 'center', fontSize: 14, fontWeight: 'bold', marginTop: 5, color: item.status != 1 ? "#c9c9c9" : selTic ? LibStyle.colorBlue : "#000" }}>{"+ "}{item?.is_remainer == "0" ? LibUtils.money(item?.price_difference, item?.currency) : LibUtils.money(item?.amount_difference, item?.currency)}</Text>
|
|
118
118
|
|
|
119
119
|
</View>
|
|
120
120
|
</View>
|
|
@@ -111,7 +111,7 @@ export default function m(props: EventOrder_detail_upgrade_paymentProps): any {
|
|
|
111
111
|
return (percent * amount) / 100
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
const price = Number(selectedTicket?.selected_ticket?.price_to)
|
|
114
|
+
const price = Number(selectedTicket?.selected_ticket?.price_to || selectedTicket?.selected_ticket?.amount_difference)
|
|
115
115
|
const qty = Number(dataTicket?.qty_upgrade)
|
|
116
116
|
|
|
117
117
|
const calculate = PaymentFee_calculate(price, qty,
|
|
@@ -291,7 +291,7 @@ export default function m(props: EventOrder_rescheduleProps): any {
|
|
|
291
291
|
</View>
|
|
292
292
|
</View>
|
|
293
293
|
<View style={applyStyle({ marginLeft: 10, flexDirection: 'column', marginRight: 6 })} >
|
|
294
|
-
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: _selectTicket ? "#3ea4dc" : '#999', opacity: opacityPassed })} >{LibUtils.money(item1.price, item1.currency)}</Text>
|
|
294
|
+
{/* <Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 12, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, textAlign: "right", color: _selectTicket ? "#3ea4dc" : '#999', opacity: opacityPassed })} >{LibUtils.money(item1.price, item1.currency)}</Text> */}
|
|
295
295
|
</View>
|
|
296
296
|
|
|
297
297
|
<TouchableOpacity onPress={() => {
|
|
@@ -313,7 +313,7 @@ export default function m(props: EventOrder_rescheduleProps): any {
|
|
|
313
313
|
)
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
esp.log(result);
|
|
316
|
+
// esp.log(result);
|
|
317
317
|
function renderRefundList(item: any, i: number) {
|
|
318
318
|
let _selectTicket = item.hasOwnProperty('check') && item.check == 1
|
|
319
319
|
const styleID_12nkjf: any = { marginLeft: 10, textDecorationLine: 'line-through', textDecorationStyle: 'solid', opacity: item.is_refundable == 1 ? 1 : 0.5, marginTop: 4, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: _selectTicket ? "#3ea4dc" : '#999' }
|
|
@@ -335,7 +335,7 @@ export default function m(props: EventOrder_rescheduleProps): any {
|
|
|
335
335
|
<Text allowFontScaling={false} style={{ opacity: item.is_refundable == 1 ? 1 : 0.5, fontFamily: "Arial", fontSize: 10, marginBottom: 4, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0.23, color: LibStyle.colorRed }}>{item.refund == "0.00" ? esp.lang("event/order_reschedule", "cant_refund") : esp.lang("event/order_reschedule", "refundable", LibUtils.numberAbsolute(item.refund).toString())}</Text>
|
|
336
336
|
<Text allowFontScaling={false} style={applyStyle({ fontFamily: "Arial", fontSize: 14, fontWeight: "bold", fontStyle: "normal", letterSpacing: 0, color: _selectTicket ? "#3ea4dc" : '#999' })}>{esp.lang("ticket/refund", "ticket")} {item.price_name + " (" + item.qty + " " + esp.lang("ticket/refund", "ticket") + ") "}</Text>
|
|
337
337
|
<View style={{ flexDirection: 'row', alignContent: 'center', alignItems: 'center' }}>
|
|
338
|
-
<Text allowFontScaling={false} style={applyStyle({ marginTop: 4, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: _selectTicket ? "#3ea4dc" : '#999' })}>{LibUtils.money(item.
|
|
338
|
+
<Text allowFontScaling={false} style={applyStyle({ marginTop: 4, fontFamily: "Arial", fontSize: 12, fontWeight: "normal", fontStyle: "normal", letterSpacing: 0, color: _selectTicket ? "#3ea4dc" : '#999' })}>{LibUtils.money(item.total, item.currency)}</Text>
|
|
339
339
|
{
|
|
340
340
|
item.refund != "0.00" && item.refund != "100.00" &&
|
|
341
341
|
<Text allowFontScaling={false} style={styleID_12nkjf}>{LibUtils.money(item.price)}</Text>
|