diff --git a/src/components/CreateProject/ProjectClientDetails.tsx b/src/components/CreateProject/ProjectClientDetails.tsx index a506569..238fcf0 100644 --- a/src/components/CreateProject/ProjectClientDetails.tsx +++ b/src/components/CreateProject/ProjectClientDetails.tsx @@ -115,6 +115,8 @@ const ProjectClientDetails: React.FC = ({ if (selectedCustomerId !== undefined) { fetchCustomer(selectedCustomerId).then( ({ contacts, subsidiaryIds, customer }) => { + console.log(contacts) + console.log(subsidiaryIds) setCustomerContacts(contacts); setCustomerSubsidiaryIds(subsidiaryIds); setValue( @@ -433,7 +435,7 @@ const ProjectClientDetails: React.FC = ({ }} /> - + {/* */} = ({ }} /> + {customerContacts.length > 0 && ( - <> + + + + {t("Subsidiary Details")} + + + = ({ value={selectedCustomerContact?.email || ""} /> - + + )} - + {/* */} {/*