import { Container, DataGridInner } from '@/components';
import { TransactionProvider } from './hooks/TransactionContext';
import { Breadcrumbs, Link } from '@mui/material';
import { Helmet } from 'react-helmet';
import { UploadBatchDialog } from './blocks/UploadBatchDialog';

const HistoryTransactionDisbursement = () => {
  return (
    <> 
      <Helmet>
        <title>TPAY | History Disbursement</title>
      </Helmet>
      <TransactionProvider>
        <Container className="mb-7">
          <h1 className="text-xl font-medium leading-none text-gray-900 mb-5">DISBURSEMENT</h1>
          <Breadcrumbs sx={{ mb: 2 }}>
            <Link underline="none" color="inherit" href="/">
              <span className="text-sm hover:underline">Dashboard</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">Disbursement</span>
            </Link>

            <Link underline="none" color="inherit">
              <span className="text-sm">Disbursement</span>
            </Link>
          </Breadcrumbs>
          <div className="grid gap-5 lg:gap-7.5">
            <DataGridInner />
          </div>
          <UploadBatchDialog />
        </Container>
      </TransactionProvider>
    </>
  );
};

export default HistoryTransactionDisbursement;
