summaryrefslogtreecommitdiff
path: root/lib/bidding/list/edit-bidding-sheet.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bidding/list/edit-bidding-sheet.tsx')
-rw-r--r--lib/bidding/list/edit-bidding-sheet.tsx53
1 files changed, 52 insertions, 1 deletions
diff --git a/lib/bidding/list/edit-bidding-sheet.tsx b/lib/bidding/list/edit-bidding-sheet.tsx
index 71eeed2b..c76ec2a2 100644
--- a/lib/bidding/list/edit-bidding-sheet.tsx
+++ b/lib/bidding/list/edit-bidding-sheet.tsx
@@ -98,9 +98,11 @@ export function EditBiddingSheet({
budget: "",
targetPrice: "",
finalBidPrice: "",
+
+ isPublic: false,
+ isUrgent: false,
status: "bidding_generated",
- isPublic: false,
managerName: "",
managerEmail: "",
managerPhone: "",
@@ -143,6 +145,7 @@ export function EditBiddingSheet({
status: bidding.status || "bidding_generated",
isPublic: bidding.isPublic || false,
+ isUrgent: bidding.isUrgent || false,
managerName: bidding.managerName || "",
managerEmail: bidding.managerEmail || "",
managerPhone: bidding.managerPhone || "",
@@ -377,6 +380,54 @@ export function EditBiddingSheet({
</FormItem>
)}
/>
+
+ <div className="space-y-3">
+ <FormField
+ control={form.control}
+ name="isPublic"
+ render={({ field }) => (
+ <FormItem className="flex flex-row items-center justify-between rounded-lg border p-3">
+ <div className="space-y-0.5">
+ <FormLabel className="text-sm">
+ 공개 입찰
+ </FormLabel>
+ <FormDescription className="text-xs">
+ 공개 입찰 여부를 설정합니다
+ </FormDescription>
+ </div>
+ <FormControl>
+ <Switch
+ checked={field.value}
+ onCheckedChange={field.onChange}
+ />
+ </FormControl>
+ </FormItem>
+ )}
+ />
+
+ <FormField
+ control={form.control}
+ name="isUrgent"
+ render={({ field }) => (
+ <FormItem className="flex flex-row items-center justify-between rounded-lg border p-3">
+ <div className="space-y-0.5">
+ <FormLabel className="text-sm">
+ 긴급 입찰
+ </FormLabel>
+ <FormDescription className="text-xs">
+ 긴급 입찰 여부를 설정합니다
+ </FormDescription>
+ </div>
+ <FormControl>
+ <Switch
+ checked={field.value}
+ onCheckedChange={field.onChange}
+ />
+ </FormControl>
+ </FormItem>
+ )}
+ />
+ </div>
</CardContent>
</Card>