import React from 'react' import { Head, router } from '@inertiajs/react' import { HiEye } from 'react-icons/hi' import AuthenticatedLayout from '@/Layouts/AuthenticatedLayout' import Pagination from '@/Components/Pagination' import { formatIDR } from '@/utils' export default function Info(props) { const { query: { links, data }, } = props return (
{/* {canCreate && ( )} */}
{data.map((sale) => ( ))}
# Customer Tanggal Voucher Total
{sale.code} {sale.customer.name} {sale.format_created_at} {formatIDR( sale.items_count )} {formatIDR(sale.amount)} router.get( route( 'sale.show', sale ) ) } >
Lihat
) }