added missing fuctionallity
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user