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 { HiRefresh } from 'react-icons/hi' export default function PaylaterHistory(props) { const { query: { links, data }, customer, } = props return (
{data.map((paylater) => ( ))}
# Customer Debit Credit Tanggal Note Status Approver
{paylater.description} {customer.name} {`Rp ${formatIDR( paylater.credit )}`} {`Rp ${formatIDR( paylater.debit )}`} {paylater.format_created_at} {paylater.note} {paylater.status_text.text} {paylater.editor?.name}
Lihat
) }