import React from 'react' import { Head, router } from '@inertiajs/react' import { HiChevronLeft } from 'react-icons/hi2' import { isEmpty } from 'lodash' import CustomerLayout from '@/Layouts/CustomerLayout' export default function Detail({ paylater }) { return (
{ router.get(route('customer.paylater.index')) }} >
{/* detail */}
{paylater.description}
{paylater.amount}
{paylater.format_created_at}
{isEmpty(paylater.note) === false && (
{paylater.note}
)} {isEmpty(paylater.status) === false && (
{paylater.status}
)}
) }