summaryrefslogtreecommitdiff
path: root/lib/pq
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pq')
-rw-r--r--lib/pq/pq-review-table-new/request-investigation-dialog.tsx6
-rw-r--r--lib/pq/service.ts7
2 files changed, 6 insertions, 7 deletions
diff --git a/lib/pq/pq-review-table-new/request-investigation-dialog.tsx b/lib/pq/pq-review-table-new/request-investigation-dialog.tsx
index aaf10a71..f5a7ff91 100644
--- a/lib/pq/pq-review-table-new/request-investigation-dialog.tsx
+++ b/lib/pq/pq-review-table-new/request-investigation-dialog.tsx
@@ -59,7 +59,7 @@ const requestInvestigationFormSchema = z.object({
}),
investigationAddress: z.string().min(1, "실사 장소를 입력해주세요."),
investigationMethod: z.string().optional(),
- investigationNotes: z.string().optional(),
+ investigationNotes: z.string().min(1, "실사 목적을 입력해주세요."),
})
type RequestInvestigationFormValues = z.infer<typeof requestInvestigationFormSchema>
@@ -264,10 +264,10 @@ export function RequestInvestigationDialog({
name="investigationNotes"
render={({ field }) => (
<FormItem>
- <FormLabel>특이사항 (선택사항)</FormLabel>
+ <FormLabel>실사목적</FormLabel>
<FormControl>
<Textarea
- placeholder="실사 관련 특이사항을 입력하세요"
+ placeholder="실사 목적을 입력하세요"
className="resize-none min-h-[60px]"
{...field}
disabled={isPending}
diff --git a/lib/pq/service.ts b/lib/pq/service.ts
index fd71888e..57ce5f88 100644
--- a/lib/pq/service.ts
+++ b/lib/pq/service.ts
@@ -2821,7 +2821,7 @@ export async function requestPqSupplementAction({
requesterEmail = requester?.email || null;
}
- const reviewUrl = `http://${host}/evcp/pq/${vendorId}/${pqSubmissionId}`;
+ const reviewUrl = `${process.env.NEXT_PUBLIC_BASE_URL}/partners/pq_new`;
await sendEmail({
to: vendor.email,
@@ -3472,9 +3472,8 @@ export async function getQMManagers() {
.where(
and(
eq(users.isActive, true),
- ne(users.domain, "partners")
- // ilike(users.deptName, "%품질경영팀(%")
- // 테스트 간 임시제거 후 추가 예정(1103)
+ ne(users.domain, "partners"),
+ ilike(users.deptName, "%품질경영팀(%")
)
)
.orderBy(users.name);