diff --git a/components/Selects/select-job-name.jsx b/components/Selects/select-job-name.jsx index 6b0655b..8ef7f6a 100644 --- a/components/Selects/select-job-name.jsx +++ b/components/Selects/select-job-name.jsx @@ -12,6 +12,9 @@ import { Dropdown } from "react-native-element-dropdown"; import { connect } from "react-redux"; import { OwnerNameDisplayFunction } from "../owner-name-display/owner-name-display.component"; + +// This component is not currently used + export function JobSearchSelect( convertedOnly = false, notInvoiced = false, diff --git a/components/labor-allocations-table/labor-allocations-table-container.component.jsx b/components/labor-allocations-table/labor-allocations-table-container.component.jsx index 481caef..ff85fe4 100644 --- a/components/labor-allocations-table/labor-allocations-table-container.component.jsx +++ b/components/labor-allocations-table/labor-allocations-table-container.component.jsx @@ -1,15 +1,13 @@ import React from "react"; import { useTranslation } from "react-i18next"; -import { FlatList, RefreshControl, StyleSheet, Text, View } from "react-native"; -import { Card, DataTable } from "react-native-paper"; +import { StyleSheet, View } from "react-native"; import { GET_LINE_TICKET_BY_PK } from "../../graphql/jobs.queries"; import ErrorDisplay from "../error-display/error-display.component"; import { useQuery } from "@apollo/client"; import { connect } from "react-redux"; export function LaborAllocationsTableContainer({ jobId }) { - console.log("LaborAllocationsTableContainer, jobId", jobId); - + // console.log("LaborAllocationsTableContainer, jobId", jobId); const { t } = useTranslation(); const { loading, error, data, refetch } = useQuery(GET_LINE_TICKET_BY_PK, { @@ -18,8 +16,7 @@ export function LaborAllocationsTableContainer({ jobId }) { fetchPolicy: "network-only", nextFetchPolicy: "network-only", }); - - console.log("LaborAllocationsTableContainer, data", data); + // console.log("LaborAllocationsTableContainer, data", data); if (error) return ; return ( @@ -34,8 +31,7 @@ export function LaborAllocationsTableContainer({ jobId }) { adjustments={data ? data.jobs_by_pk.lbr_adjustments : []} /> ) : null} - - + ); } diff --git a/components/time-ticket/screen-time-ticket-clockoff.component.jsx b/components/time-ticket/screen-time-ticket-clockoff.component.jsx index fe0f769..d824096 100644 --- a/components/time-ticket/screen-time-ticket-clockoff.component.jsx +++ b/components/time-ticket/screen-time-ticket-clockoff.component.jsx @@ -45,9 +45,6 @@ console.log("TimeTicketClockOff, currentTmTicketJobId :", currentTmTicketJobId); // console.log("TimeTicketClockOff, jobId :", jobId); // console.log("TimeTicketClockOff, timeTicketId :", timeTicketId); const { t } = useTranslation(); - -// const [isDatePickerVisible, setDatePickerVisibility] = useState(false); -// const [date2, setDate2] = useState(new Date()); const [loading, setLoading] = useState(false); const [currentSCC, setCurrentSCC] = useState(null);