import { Divider, Typography } from "antd"; import React from "react"; import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; import { selectBodyshop } from "../../redux/user/user.selectors"; import CurrencyFormatter from "../../utils/CurrencyFormatter"; import { DateTimeFormatter } from "../../utils/DateFormatter"; import JobTotalsTable from "../job-totals-table/job-totals-table.component"; const mapStateToProps = createStructuredSelector({ bodyshop: selectBodyshop, }); const stripeTestEnv = process.env.REACT_APP_STRIPE_PUBLIC_KEY; //.includes("test"); export function JobsDetailTotals({ job, bodyshop }) { const { t } = useTranslation(); return (
| {t("payments.fields.created_at")} | {t("payments.fields.payer")} | {t("payments.fields.amount")} | {t("payments.fields.memo")} | {t("payments.fields.type")} | {t("payments.fields.transactionid")} | {t("payments.fields.stripeid")} |
|---|---|---|---|---|---|---|
|
|
{p.payer} |
|
{p.memo} | {p.type} | {p.transactionid} | {p.stripeid ? ( {p.stripeid} ) : null} |