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 (
# | Customer | Tanggal | Limit | Keterangan | Creator |
---|---|---|---|---|---|
{history.description} | {customer.name} | {history.format_created_at} | Rp.{' '} {formatIDR(history.credit)} | {history.note} | {history.creator.name} |