import React from 'react' import { Head, router } from '@inertiajs/react' import CustomerLayout from '@/Layouts/CustomerLayout' import VoucherCard from './VoucherCard' import { HiChevronLeft } from 'react-icons/hi2' export default function Detail({ sale }) { return (
{ router.get(route('transactions.index')) }} >
Transaksi #{sale.code}
{sale.format_created_at}
TOTAL
pembayaran: {sale.payed_with}
{sale.display_amount}
{sale.items.map((item) => ( ))}
) }