+
-
-
-
-
+ }}
+ />
{errors.billingEntity && (
{errors.billingEntity.message ??
@@ -185,7 +177,8 @@ export default function NewInvoicePage() {
)}
- Picker UI is coming in Task 10.2 — for now paste the client or company ID.
+ Select the client or company to invoice. Their name will be snapshotted into the
+ invoice.
@@ -299,7 +292,16 @@ export default function NewInvoicePage() {
Billing Entity
- {watchedValues.billingEntity?.type}: {watchedValues.billingEntity?.id}
+ {watchedValues.billingEntity ? (
+ <>
+ {watchedValues.billingEntity.type}{' '}
+
+ {watchedValues.billingEntity.id.slice(0, 12)}
+
+ >
+ ) : (
+ Not selected
+ )}