EXPO Package Upgrades and added job details fields.

This commit is contained in:
Patrick Fic
2020-12-09 20:05:48 -08:00
parent ccb42548d0
commit ee77860112
12 changed files with 4371 additions and 10050 deletions

View File

@@ -50,36 +50,38 @@ export function JobListItem({ setCameraJob, setCameraJobId, item }) {
return (
<Swipeable renderRightActions={() => <RenderRightAction />}>
<Card>
<CardItem header bordered first button onPress={onPress}>
<View style={localStyles.item_header}>
<H3 style={localStyles.item_header_content}>
{item.ro_number ? item.ro_number : `EST-${item.est_number}`}
</H3>
<Text style={localStyles.item_header_margin}>
{item.clm_no || ""}
</Text>
</View>
</CardItem>
<CardItem bordered last button>
<View>
<Text>{`${item.ownr_fn || ""} ${item.ownr_ln || ""} ${
item.ownr_co_nm || ""
}`}</Text>
<Text>{`${item.v_model_yr || ""} ${item.v_make_desc || ""} ${
item.v_model_desc || ""
}`}</Text>
</View>
<View style={[{ width: 150 }, localStyles.card_content_margin]}>
<Text numberOfLines={1}>{item.ins_co_nm || ""}</Text>
<Text>
{Dinero({
amount: Math.round(item.clm_total * 100),
}).toFormat() || ""}
</Text>
</View>
</CardItem>
</Card>
<TouchableOpacity onPress={onPress}>
<Card>
<CardItem header bordered first button>
<View style={localStyles.item_header}>
<H3 style={localStyles.item_header_content}>
{item.ro_number ? item.ro_number : `EST-${item.est_number}`}
</H3>
<Text style={localStyles.item_header_margin}>
{item.clm_no || ""}
</Text>
</View>
</CardItem>
<CardItem bordered last button>
<View>
<Text>{`${item.ownr_fn || ""} ${item.ownr_ln || ""} ${
item.ownr_co_nm || ""
}`}</Text>
<Text>{`${item.v_model_yr || ""} ${item.v_make_desc || ""} ${
item.v_model_desc || ""
}`}</Text>
</View>
<View style={[{ width: 150 }, localStyles.card_content_margin]}>
<Text numberOfLines={1}>{item.ins_co_nm || ""}</Text>
<Text>
{Dinero({
amount: Math.round(item.clm_total * 100),
}).toFormat() || ""}
</Text>
</View>
</CardItem>
</Card>
</TouchableOpacity>
</Swipeable>
);
}