|
toggleSelectRow(customer)}
aria-label={t('customers.selectRow', { name })}
/>
|
{name}
{badgeKey ? (
{t(badgeKey)}
) : null}
{!customer.isEnabled && (
{t('customers.disabled')}
)}
|
{formatCellForDisplay(customer.cellNumber)} |
{customer.orderCount == null || customer.orderCount === 0 ? (
{t('customers.noOrders')}
) : (
customer.orderCount
)}
|
{formatTransactionTotal(customer.totalTransactionsIrt)}
|
{formatDate(customer.createdAt, locale)}
|
void handleToggleEnabled(customer, isEnabled)
}
/>
setAccessTarget(customer)}
onViewInvoices={() => handleViewInvoices(customer)}
onTickets={() => handleTickets(customer)}
/>
|
)
})}