Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
3.7 kB
1
Indexable
Never
 {this.state.eta==''&&this.state.etb==''?(
                                               this.state.finaldesc.trim()!=this.state.origindesc.trim()?(
                                                this.state.inlandEta!=""?(
                                                    <View>
                                                          <Text style={{ fontFamily: 'Montserrat-SemiBold', fontSize: 12, color: '#112d51' }}>Expected Arrival at Inland</Text>
                                                    <Text style={{ fontFamily: 'Montserrat-Medium', fontSize: 12, color: '#112d51' }}>{this.state.finaldesc} {this.state.pod}</Text>
                                                        </View>
                                                  
                                                ):null  
                                               ):null  
                                            ):(
                                                this.state.finaldesc.trim()!=this.state.dischargedesc.trim()?(
                                                    this.state.inlandEta!=""?(
                                                        <View>
                                                        <Text style={{ fontFamily: 'Montserrat-SemiBold', fontSize: 12, color: '#112d51' }}>Expected Arrival at:</Text>
                                                 <Text style={{ fontFamily: 'Montserrat-Medium', fontSize: 12, color: '#112d51' }}>{this.state.dischargedesc} {this.state.etb}</Text>
                                                 <Text style={{ fontFamily: 'Montserrat-SemiBold', fontSize: 12, color: '#112d51' }}>Expected Arrival at Inland:</Text>
                                                 <Text style={{ fontFamily: 'Montserrat-Medium', fontSize: 12, color: '#112d51' }}>{this.state.finaldesc} {this.state.inlandEta}</Text>
                                                   </View>
                                                    ):(
                                                        <View>
                                                        <Text style={{ fontFamily: 'Montserrat-SemiBold', fontSize: 12, color: '#112d51' }}>Expected Arrival at:</Text>
                                                 <Text style={{ fontFamily: 'Montserrat-Medium', fontSize: 12, color: '#112d51' }}>{this.state.dischargedesc} {this.state.etb}</Text>
                                                   </View>
                                                    )  
                                           
                                         
                                   
                                                )   :
                                                (
                                                    <View>
                                                         <Text style={{ fontFamily: 'Montserrat-SemiBold', fontSize: 12, color: '#112d51' }}>Expected Arrival at:</Text>
                                        <Text style={{ fontFamily: 'Montserrat-Medium', fontSize: 12, color: '#112d51' }}>{this.state.finaldesc} {this.state.eta}</Text>
                                        <Text style={{ fontFamily: 'Montserrat-SemiBold', fontSize: 12, color: '#112d51' }}>Expected Arrival at Berth:</Text>
                                        <Text style={{ fontFamily: 'Montserrat-Medium', fontSize: 12, color: '#112d51' }}>{this.state.finaldesc} {this.state.etb}</Text>
                                                        </View>
                                                )
                                            )}