/* Copyright (C) 2024 Manuel Bustillo*/ import Image from 'next/image'; import { lusitana } from '@/app/ui/fonts'; import Search from '@/app/ui/search'; import { CustomersTableType, FormattedCustomersTable, } from '@/app/lib/definitions'; export default async function CustomersTable({ customers, }: { customers: FormattedCustomersTable[]; }) { return (
{customer.name}
{customer.email}
Pending
{customer.total_pending}
Paid
{customer.total_paid}
{customer.total_guests} guests
Name | Total guests | Total Pending | Total Paid | |
---|---|---|---|---|
{customer.name} |
{customer.email} | {customer.total_guests} | {customer.total_pending} | {customer.total_paid} |