Added more information for the Agent User

This commit is contained in:
Tiago Ribeiro
2023-11-27 13:02:19 +00:00
parent 5f76e430af
commit 81f5af5629
5 changed files with 132 additions and 7 deletions

View File

@@ -208,6 +208,29 @@ export default function Home() {
/>
</div>
{user.type === "agent" && (
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 w-full">
<Input
label="Company Name"
type="text"
name="companyName"
onChange={() => null}
placeholder="Enter company name"
defaultValue={user.agentInformation.companyName}
disabled
/>
<Input
label="Commercial Registration"
type="text"
name="commercialRegistration"
onChange={() => null}
placeholder="Enter company name"
defaultValue={user.agentInformation.commercialRegistration}
disabled
/>
</div>
)}
<div className="flex flex-col md:flex-row gap-8 w-full">
<div className="flex flex-col gap-3 w-full">
<label className="font-normal text-base text-mti-gray-dim">Country *</label>