added missing fuctionallity

This commit is contained in:
jfrye122
2023-05-14 21:02:09 -04:00
parent be9d285ac9
commit d19bc10865
18 changed files with 397 additions and 87 deletions

View File

@@ -24,6 +24,7 @@ import {
} from "../../redux/timetickets/timetickets.selectors";
import moment from "moment";
import { EmployeeClockedInList } from "../time-ticket-lists/employee-clockedin-list.component";
import { useNavigation } from "@react-navigation/native";
const mapStateToProps = createStructuredSelector({
currentEmployee: selectCurrentEmployee,
@@ -50,6 +51,7 @@ export function ScreenTimeTicketBrowser({
currentSelectedTimeTicketJob,
currentSelectedTimeTicketJobId,
}) {
const navigation = useNavigation();
//const employeeId = currentEmployee.technician.id;
const [currentSCC, setCurrentSCC] = useState(null);
// const [currentSJob, setCurrentSJob] = useState(null);
@@ -128,8 +130,7 @@ export function ScreenTimeTicketBrowser({
};
return (
<View>
<Text>Time Ticket List goes here</Text>
<Button
{/* <Button
mode="outlined"
loading={loaderGettingRates}
//onPress={() => getRates(currentEmployee)}
@@ -137,8 +138,8 @@ export function ScreenTimeTicketBrowser({
createTheTimeTicketOBJ(currentEmployee, currentBodyshop, currentSCC, currentSJobId)
}
>
<Text>text here</Text>
</Button>
<Text>createTheTimeTicketOBJTest</Text>
</Button> */}
{/* {signingErrorMsg} */}
<JobIdSearchSelect
currentValue={currentSJobId}