import React from 'react' import { Link, router } from '@inertiajs/react' import { Head } from '@inertiajs/react' import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout' import Pagination from '@/Components/Pagination' import Button from '@/Components/Button' import { HiRefresh } from 'react-icons/hi' import { formatIDR } from '@/utils' export default function PaylaterLimitHistory(props) { const { query: { links, data }, customer, } = props return (
{data.map((history) => ( ))}
Customer Tanggal Limit Keterangan Creator
{customer.name} {history.format_created_at} Rp.{' '} {formatIDR(history.credit)} {history.description} {history.creator.name}
) }