Changed job searching function BOD-311
This commit is contained in:
@@ -16,8 +16,8 @@ export default function JobReconciliationTotals({
|
||||
}) {
|
||||
const [errors, setErrors] = useState([]);
|
||||
const { t } = useTranslation();
|
||||
const [selectedBillLines, setSelectedBillLines] = billLineState;
|
||||
const [selectedJobLines, setSelectedJobLines] = jobLineState;
|
||||
const selectedBillLines = billLineState[0];
|
||||
const selectedJobLines = jobLineState[0];
|
||||
|
||||
const totals = useMemo(() => {
|
||||
const jlLookup = _.keyBy(selectedJobLines, (i) => i);
|
||||
|
||||
Reference in New Issue
Block a user