esoftplay-event 0.0.2-n → 0.0.2-p
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/event/order_detail.tsx +2 -1
- package/event/ticket_list.tsx +1 -1
- package/package.json +1 -1
package/event/order_detail.tsx
CHANGED
|
@@ -286,7 +286,7 @@ export default function m(props: EventOrder_detailProps): any {
|
|
|
286
286
|
}
|
|
287
287
|
curlPriceConfig(res?.url_price_config, res?.price_id, (conf) => {
|
|
288
288
|
args['tax'] = conf?.tax
|
|
289
|
-
args['fee_platform'] =
|
|
289
|
+
args['fee_platform'] = conf.hasOwnProperty('fee_platform_amount') ? {
|
|
290
290
|
fee_platform_amount: conf?.fee_platform_amount || 0,
|
|
291
291
|
fee_platform_type: conf?.fee_platform_type || "NONE"
|
|
292
292
|
} : fee_platform
|
|
@@ -296,6 +296,7 @@ export default function m(props: EventOrder_detailProps): any {
|
|
|
296
296
|
fee_custom_type: conf?.fee_custom_type || "NONE"
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
+
esp.log(conf, res?.price_id, args);
|
|
299
300
|
LibNavigation.navigate('payment/ticket', args)
|
|
300
301
|
})
|
|
301
302
|
}
|
package/event/ticket_list.tsx
CHANGED
|
@@ -271,7 +271,7 @@ export default function m(props: EventTicket_listProps): any {
|
|
|
271
271
|
LibNavigation.navigate('payment/ticket', {
|
|
272
272
|
order_type: eventConfig?.order_type?.ticket,
|
|
273
273
|
tax: config?.tax || selectedTicket?.tax || 0,
|
|
274
|
-
fee_platform:
|
|
274
|
+
fee_platform: config.hasOwnProperty('fee_platform_amount') ? {
|
|
275
275
|
fee_platform_amount: config?.fee_platform_amount || 0,
|
|
276
276
|
fee_platform_type: config?.fee_platform_type || "NONE"
|
|
277
277
|
} : fee_platform,
|