added camera controls component and updated camera ui
This commit is contained in:
@@ -9,6 +9,7 @@ import Swipeable from "react-native-gesture-handler/Swipeable";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import { setCameraJob, setCameraJobId } from "../../redux/app/app.actions";
|
||||
import Dinero from "dinero.js";
|
||||
import styles from "../styles";
|
||||
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
@@ -71,7 +72,11 @@ export function JobListItem({ setCameraJob, setCameraJobId, item }) {
|
||||
</View>
|
||||
<View style={[{ width: 150 }, localStyles.card_content_margin]}>
|
||||
<Text numberOfLines={1}>{item.ins_co_nm || ""}</Text>
|
||||
<Text>{item.clm_total || ""}</Text>
|
||||
<Text>
|
||||
{Dinero({
|
||||
amount: Math.round(item.clm_total * 100),
|
||||
}).toFormat() || ""}
|
||||
</Text>
|
||||
</View>
|
||||
</CardItem>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user