Skip to content

Commit

Permalink
Merge branch 'main' into PIMS-1860-ImportResultAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamS-Quartech authored Jul 8, 2024
2 parents 389ae40 + be1689d commit 5ecb6c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions express-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,7 @@ COPY --from=base /express-api/dist .
# Copy seed SQL files. Typescript compiler ignores these.
COPY --from=base /express-api/src/typeorm/Migrations/Seeds ./src/typeorm/Migrations/Seeds

RUN chmod g+rwx /express-api

CMD [ "node", "src/server.js" ]

6 changes: 4 additions & 2 deletions react-app/src/components/ltsa/TitleOwnership.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import useDataLoader from '@/hooks/useDataLoader';
import LtsaOwnershipTable from './LtsaOwnershipTable';
import LtsaChargeTable from './LtsaChargeTable';
import { Box, Typography } from '@mui/material';
import { dateFormatter } from '@/utilities/formatters';

interface TitleOwnershipProps {
pid: string;
Expand Down Expand Up @@ -35,9 +36,10 @@ const TitleOwnership = (props: TitleOwnershipProps) => {
data?.order?.orderedProduct?.fieldedData.descriptionsOfLand[0]?.fullLegalDescription,
TitleStatus: data?.order?.status,
SalesHistory: data?.order?.orderedProduct?.fieldedData.tombstone?.marketValueAmount,
ApplicationReceived:
ApplicationReceived: dateFormatter(
data?.order?.orderedProduct?.fieldedData.tombstone?.applicationReceivedDate,
EnteredOn: data?.order?.orderedProduct?.fieldedData.tombstone?.enteredDate,
),
EnteredOn: dateFormatter(data?.order?.orderedProduct?.fieldedData.tombstone?.enteredDate),
};

return (
Expand Down

0 comments on commit 5ecb6c3

Please sign in to comment.