Changed Comercial labels to Corporate
This commit is contained in:
@@ -62,7 +62,7 @@ export default function DemographicInformationInput({user, mutateUser}: Props) {
|
|||||||
<form className="flex flex-col items-center justify-items-center gap-6 w-full h-full -md:px-4 lg:w-1/2 mb-32" onSubmit={save}>
|
<form className="flex flex-col items-center justify-items-center gap-6 w-full h-full -md:px-4 lg:w-1/2 mb-32" onSubmit={save}>
|
||||||
{user.type === "agent" && (
|
{user.type === "agent" && (
|
||||||
<div className="w-full flex gap-8">
|
<div className="w-full flex gap-8">
|
||||||
<Input type="text" onChange={setCompanyName} name="companyName" label="Company Name" required />
|
<Input type="text" onChange={setCompanyName} name="companyName" label="Corporate Name" required />
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
onChange={setCommercialRegistration}
|
onChange={setCommercialRegistration}
|
||||||
|
|||||||
@@ -146,11 +146,11 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers,
|
|||||||
<>
|
<>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 w-full">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 w-full">
|
||||||
<Input
|
<Input
|
||||||
label="Company Name"
|
label="Corporate Name"
|
||||||
type="text"
|
type="text"
|
||||||
name="companyName"
|
name="companyName"
|
||||||
onChange={setCompanyName}
|
onChange={setCompanyName}
|
||||||
placeholder="Enter company name"
|
placeholder="Enter corporate name"
|
||||||
defaultValue={companyName}
|
defaultValue={companyName}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
@@ -159,7 +159,7 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers,
|
|||||||
type="text"
|
type="text"
|
||||||
name="commercialRegistration"
|
name="commercialRegistration"
|
||||||
onChange={setCommercialRegistration}
|
onChange={setCommercialRegistration}
|
||||||
placeholder="Enter company name"
|
placeholder="Enter commercial registration"
|
||||||
defaultValue={commercialRegistration}
|
defaultValue={commercialRegistration}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
@@ -171,11 +171,11 @@ const UserCard = ({user, loggedInUser, onClose, onViewStudents, onViewTeachers,
|
|||||||
<>
|
<>
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 w-full">
|
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 w-full">
|
||||||
<Input
|
<Input
|
||||||
label="Company Name"
|
label="Corporate Name"
|
||||||
type="text"
|
type="text"
|
||||||
name="companyName"
|
name="companyName"
|
||||||
onChange={setCompanyName}
|
onChange={setCompanyName}
|
||||||
placeholder="Enter company name"
|
placeholder="Enter corporate name"
|
||||||
defaultValue={companyName}
|
defaultValue={companyName}
|
||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
|
|||||||
@@ -214,11 +214,11 @@ export default function Home() {
|
|||||||
{user.type === "agent" && (
|
{user.type === "agent" && (
|
||||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 w-full">
|
<div className="grid grid-cols-1 md:grid-cols-2 gap-8 w-full">
|
||||||
<Input
|
<Input
|
||||||
label="Company Name"
|
label="Corporate Name"
|
||||||
type="text"
|
type="text"
|
||||||
name="companyName"
|
name="companyName"
|
||||||
onChange={() => null}
|
onChange={() => null}
|
||||||
placeholder="Enter company name"
|
placeholder="Enter corporate name"
|
||||||
defaultValue={user.agentInformation.companyName}
|
defaultValue={user.agentInformation.companyName}
|
||||||
disabled
|
disabled
|
||||||
/>
|
/>
|
||||||
@@ -227,7 +227,7 @@ export default function Home() {
|
|||||||
type="text"
|
type="text"
|
||||||
name="commercialRegistration"
|
name="commercialRegistration"
|
||||||
onChange={() => null}
|
onChange={() => null}
|
||||||
placeholder="Enter company name"
|
placeholder="Enter commercial registration"
|
||||||
defaultValue={user.agentInformation.commercialRegistration}
|
defaultValue={user.agentInformation.commercialRegistration}
|
||||||
disabled
|
disabled
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user