NTP-14167 | Added 1-30 check
This commit is contained in:
@@ -183,12 +183,13 @@ const FiltersContainer: React.FC<FilterContainerProps> = (props) => {
|
||||
}}
|
||||
>
|
||||
<Text
|
||||
style={[filterKey === selectedFilterKey.filterKey && styles.blueText]}
|
||||
style={[filterKey === selectedFilterKey.filterKey && styles.blueText, GenericStyles.flex80]}
|
||||
dark
|
||||
>
|
||||
{filters[filterGroupKey].filters[filterKey].displayText}
|
||||
</Text>
|
||||
{selectedFiltersMap[filterKey] && (
|
||||
<View style={[GenericStyles.flex20, GenericStyles.alignItemsFlexEnd]}>
|
||||
<View
|
||||
style={[
|
||||
filterKey === selectedFilterKey.filterKey
|
||||
@@ -200,6 +201,7 @@ const FiltersContainer: React.FC<FilterContainerProps> = (props) => {
|
||||
style={[
|
||||
filterKey === selectedFilterKey.filterKey &&
|
||||
GenericStyles.whiteText,
|
||||
GenericStyles.lh18
|
||||
]}
|
||||
bold
|
||||
dark
|
||||
@@ -210,6 +212,7 @@ const FiltersContainer: React.FC<FilterContainerProps> = (props) => {
|
||||
: 1}
|
||||
</Text>
|
||||
</View>
|
||||
</View>
|
||||
)}
|
||||
</TouchableOpacity>
|
||||
) : null
|
||||
|
||||
@@ -53,15 +53,17 @@ const styles = StyleSheet.create({
|
||||
backgroundColor: COLORS.BACKGROUND.SILVER,
|
||||
borderColor: COLORS.BORDER.PRIMARY,
|
||||
borderWidth: 1,
|
||||
height: PixelRatio.roundToNearestPixel(25),
|
||||
width: PixelRatio.roundToNearestPixel(25),
|
||||
height: 20,
|
||||
width: 20,
|
||||
borderRadius: 20,
|
||||
alignItems: 'center',
|
||||
},
|
||||
filterCountSelected: {
|
||||
backgroundColor: COLORS.TEXT.BLUE,
|
||||
height: PixelRatio.roundToNearestPixel(25),
|
||||
width: PixelRatio.roundToNearestPixel(25),
|
||||
borderColor: COLORS.BORDER.LIGHT_BLUE,
|
||||
borderWidth: 1,
|
||||
height: 20,
|
||||
width: 20,
|
||||
borderRadius: 20,
|
||||
alignItems: 'center',
|
||||
},
|
||||
|
||||
@@ -336,7 +336,7 @@ const ListItem: React.FC<IListItem> = (props) => {
|
||||
{' '}Bucket {dpdBucket}
|
||||
</Text>
|
||||
)}
|
||||
{daysTillDeallocation ? (
|
||||
{daysTillDeallocation && is1To30FieldAgent ? (
|
||||
<Text small style={[styles.caseStatusText]} bold>
|
||||
Deallocation in {daysTillDeallocation} day
|
||||
{pluralise(daysTillDeallocation, '', 's')}
|
||||
|
||||
Reference in New Issue
Block a user