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 SaleHistory(props) {
const {
query: { links, data },
customer,
} = props
return (
# | Customer | Tanggal | Pembayaran | Total | |
---|---|---|---|---|---|
{sale.code} | {customer.name} | {sale.format_created_at} | {sale.payment_with} | {`Rp ${formatIDR( sale.amount )}`} |
Lihat
|