import { Divider } from "antd";
import React from "react";
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} />
      <Divider />
      <JobPayments job={job} refetch={refetch} />
    </div>
  );
}

export default JobsDetailTotals;
