import { Divider } from "antd";
import JobPayments from "../job-payments/job-payments.component";
import JobTotalsTable from "../job-totals-table/job-totals-table.component";

export function JobsDetailTotals({ job, refetch }) {
  return (
    <div>
      <JobTotalsTable job={job} refetch={refetch} />
      <Divider />
      <JobPayments job={job} refetch={refetch} />
    </div>
  );
}

export default JobsDetailTotals;
