|
@@ -386,7 +386,36 @@ export default class SummaryV2 extends Component {
|
|
|
</View>
|
|
</View>
|
|
|
}
|
|
}
|
|
|
{this.getSectionSkeleton()}
|
|
{this.getSectionSkeleton()}
|
|
|
- { utils.isNotEmpty(this.state.summaryInfo.idleFee) &&
|
|
|
|
|
|
|
+ { utils.isNotEmpty(this.state.summaryInfo.idleFeeV2) &&
|
|
|
|
|
+ <View style={styles.sections}>
|
|
|
|
|
+ <TextView style={styles.formTitle}>{$t('receipt.breakdownIdlesFees')}</TextView>
|
|
|
|
|
+ <View style={styles.formRow}>
|
|
|
|
|
+ <TextView style={styles.label}>Idle Fee Rules:</TextView>
|
|
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.idleFeeV2.idleRule}</TextView>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ <View style={styles.formRow}>
|
|
|
|
|
+ <TextView style={styles.label}>Grace Period Start Time:</TextView>
|
|
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.idleFeeV2.gracePeriodStartTime}</TextView>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ <View style={styles.formRow}>
|
|
|
|
|
+ <TextView style={styles.label}>Idle Fee Start Time:</TextView>
|
|
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.idleFeeV2.idlePeriodStartTime}</TextView>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ <View style={styles.formRow}>
|
|
|
|
|
+ <TextView style={styles.label}>Idle Fee Period:</TextView>
|
|
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.idleFeeV2.idlePeriod}</TextView>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ <View style={styles.formRow}>
|
|
|
|
|
+ <TextView style={styles.label}>Idle Fee End Time:</TextView>
|
|
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.idleFeeV2.idlePeriodEndTime}</TextView>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ <View style={styles.formRow}>
|
|
|
|
|
+ <TextView style={styles.label}>{$t('receipt.labelIdleFeeSubtotal3')}</TextView>
|
|
|
|
|
+ <TextView style={styles.text}>{this.state.summaryInfo.idleFeeV2.sumFee}</TextView>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ </View>
|
|
|
|
|
+ }
|
|
|
|
|
+ {/* utils.isNotEmpty(this.state.summaryInfo.idleFee) &&
|
|
|
<View style={styles.sections}>
|
|
<View style={styles.sections}>
|
|
|
<TextView style={styles.formTitle}>{$t('receipt.breakdownIdlesFees')}</TextView>
|
|
<TextView style={styles.formTitle}>{$t('receipt.breakdownIdlesFees')}</TextView>
|
|
|
<View style={styles.formRow}>
|
|
<View style={styles.formRow}>
|
|
@@ -402,7 +431,7 @@ export default class SummaryV2 extends Component {
|
|
|
<TextView style={styles.text}>{this.state.summaryInfo.idleFee.subtotal}</TextView>
|
|
<TextView style={styles.text}>{this.state.summaryInfo.idleFee.subtotal}</TextView>
|
|
|
</View>
|
|
</View>
|
|
|
</View>
|
|
</View>
|
|
|
- }
|
|
|
|
|
|
|
+ */}
|
|
|
{this.getSectionSkeleton()}
|
|
{this.getSectionSkeleton()}
|
|
|
{ utils.isNotEmpty(this.state.summaryInfo.reservationFee) &&
|
|
{ utils.isNotEmpty(this.state.summaryInfo.reservationFee) &&
|
|
|
<View style={styles.sections}>
|
|
<View style={styles.sections}>
|