import {
Card,
CardItem,
Container,
Content,
Form,
H2,
H3,
Text,
} from "native-base";
import React from "react";
import { RefreshControl, StyleSheet } from "react-native";
import DataLabelComponent from "../data-label/data-label.component";
import { useTranslation } from "react-i18next";
export default function JobTombstone({ job, loading, refetch }) {
const { t } = useTranslation();
if (!!!job) {
Job is not defined.
;
}
const onRefresh = async () => {
return refetch();
};
return (
}
>
{job.status}
{job.inproduction && (
{t("objects.jobs.labels.inproduction")}
)}
{job.inproduction && job.production_vars && job.production_vars.note && (
{job.production_vars.note}
)}
{t("jobdetail.labels.claiminformation")}
{t("jobdetail.labels.employeeassignments")}
);
}
const localStyles = StyleSheet.create({
twoColumnCard: { display: "flex", flexDirection: "row" },
twoColumnCardColumn: { flex: 1 },
status: {
textAlign: "center",
flexDirection: "row",
justifyContent: "center",
},
inproduction: {
backgroundColor: "tomato",
textAlign: "center",
flexDirection: "row",
justifyContent: "center",
},
});
//
//
//
// {job.ins_co_nm || ""}
// {job.clm_no || ""}
//
//
// {job.ded_status || ""}
//
// {Dinero({ amount: (job.ded_amt || 0) * 100 }).toFormat()}
//
//
//
//
//
// {`${job.ownr_fn || ""} ${job.ownr_ln || ""}${
// job.ownr_co_nm || ""
// }`}
// {job.ownr_ph1 || ""}
//
//
// {`${job.v_model_yr || ""} ${
// job.v_make_desc || ""
// } ${job.v_model_desc || ""} ${job.v_vin || ""}`}
//
//
//
// ;