import React from 'react' import { Link, router } from '@inertiajs/react' import { Head } from '@inertiajs/react' import { HiEye } from 'react-icons/hi2' import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout' import Pagination from '@/Components/Pagination' import { formatIDR } from '@/utils' import Button from '@/Components/Button' import { HiOutlineReply, HiRefresh } from 'react-icons/hi' export default function DepositHistory(props) { const { query: { links, data }, customer, } = props return (
{data.map((deposit) => ( ))}
# Customer Debit Credit Tanggal Note Status Approver
{deposit.description} {customer.name} {`Rp ${formatIDR( deposit.credit )}`} {`Rp ${formatIDR( deposit.debit )}`} {deposit.format_created_at} {deposit.note} {deposit.status.text} {deposit.editor?.name}
Lihat
) }