|
|
@@ -40,7 +40,7 @@ export default class SummaryV2 extends Component {
|
|
|
componentDidMount() {
|
|
|
const params = this.props.route.params;
|
|
|
if (params.chargingPk) {
|
|
|
- //Dialog.showProgressDialog();
|
|
|
+ Dialog.showProgressDialog();
|
|
|
this.setState({
|
|
|
chargingPk: params.chargingPk
|
|
|
})
|
|
|
@@ -75,7 +75,7 @@ export default class SummaryV2 extends Component {
|
|
|
apiCharge.getChargeSummaryV2({
|
|
|
chargingPk: chargingPk
|
|
|
}).then(res => {
|
|
|
- //Dialog.dismissLoading();
|
|
|
+ Dialog.dismissLoading();
|
|
|
if (res.data) {
|
|
|
this.setState({
|
|
|
loading: false,
|
|
|
@@ -85,7 +85,7 @@ export default class SummaryV2 extends Component {
|
|
|
});
|
|
|
}
|
|
|
}).catch((err) => {
|
|
|
- //Dialog.dismissLoading();
|
|
|
+ Dialog.dismissLoading();
|
|
|
toastShort(err);
|
|
|
this.setState({
|
|
|
isPendding: true,
|
|
|
@@ -406,7 +406,7 @@ export default class SummaryV2 extends Component {
|
|
|
<TextView style={styles.text}>{this.state.summaryInfo.reservationFee.reservationDuration}</TextView>
|
|
|
</View>
|
|
|
<View style={styles.formRow}>
|
|
|
- <TextView style={styles.label}>{$t('receipt.labelReservationFeeSubtotal3')}</TextView>
|
|
|
+ <TextView style={styles.label}>{this.getTaxTitle($t('receipt.labelReservationFeeSubtotal2'))}</TextView>
|
|
|
<TextView style={styles.text}>{this.state.summaryInfo.reservationFee.reservationFeeSubtotal}</TextView>
|
|
|
</View>
|
|
|
</View>
|
|
|
@@ -433,7 +433,7 @@ export default class SummaryV2 extends Component {
|
|
|
}
|
|
|
{ utils.isNotEmpty(this.state.summaryInfo.payment.reservationFeeSubtotal) &&
|
|
|
<View style={styles.formRow}>
|
|
|
- <TextView style={styles.label}>{$t('receipt.labelReservationFeeSubtotal3')}</TextView>
|
|
|
+ <TextView style={styles.label}>{this.getTaxTitle($t('receipt.labelReservationFeeSubtotal2'))}</TextView>
|
|
|
<TextView style={styles.text}>{this.state.summaryInfo.payment.reservationFeeSubtotal}</TextView>
|
|
|
</View>
|
|
|
}
|