+ {/* Identity */}
+
+
+ {/* Registration */}
+ {(company.taxId ||
+ company.registrationNumber ||
+ company.incorporationCountry ||
+ incorporationDate) && (
+
+
Registration
+
+
+
+
+
+
+
+ )}
+
+ {/* Contact */}
+ {company.billingEmail && (
+
+ )}
+
+ {/* Notes */}
+ {company.notes && (
+
+
Notes
+
+ {company.notes}
+
+
+ )}
+
+ );
+}
+
+export function getCompanyTabs({
+ companyId,
+ portSlug,
+ // currentUserId reserved for when NotesList supports entityType='companies'.
+ currentUserId: _currentUserId,
+ company,
+}: CompanyTabsOptions): DetailTab[] {
+ void _currentUserId;
+
+ return [
+ {
+ id: 'overview',
+ label: 'Overview',
+ content: