|
|
@@ -10,7 +10,6 @@ import Dialog from '../../components/Dialog';
|
|
|
import { MyRefreshProps } from '../../components/ThemesConfig';
|
|
|
import utils from '../../utils/utils';
|
|
|
import { PageList } from '../Router';
|
|
|
-import app from '../../../app.json';
|
|
|
import TextView from '../../components/TextView';
|
|
|
|
|
|
export default class SummaryV3 extends Component {
|
|
|
@@ -231,12 +230,12 @@ export default class SummaryV3 extends Component {
|
|
|
</View>
|
|
|
</View>
|
|
|
}
|
|
|
- { utils.isNotEmpty(this.state.summaryInfo.pointsReward) &&
|
|
|
+ { utils.isNotEmpty(this.state.summaryInfo.payment?.pointsReward) &&
|
|
|
<View style={styles.sections}>
|
|
|
<TextView style={styles.formTitle}>{$t('receipt.labelPointsRewards')}</TextView>
|
|
|
<View style={styles.formRow}>
|
|
|
<TextView style={styles.label}>{$t('receipt.labelPointsRewarded')}:</TextView>
|
|
|
- <TextView style={styles.text}>{this.state.summaryInfo.pointsReward + " " + $t('points.points')}</TextView>
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.payment.pointsReward + " " + $t('points.points')}</TextView>
|
|
|
</View>
|
|
|
</View>
|
|
|
}
|