summaryrefslogtreecommitdiff
path: root/lib/bidding/list/create-bidding-dialog.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bidding/list/create-bidding-dialog.tsx')
-rw-r--r--lib/bidding/list/create-bidding-dialog.tsx21
1 files changed, 16 insertions, 5 deletions
diff --git a/lib/bidding/list/create-bidding-dialog.tsx b/lib/bidding/list/create-bidding-dialog.tsx
index a25dd363..cb91a984 100644
--- a/lib/bidding/list/create-bidding-dialog.tsx
+++ b/lib/bidding/list/create-bidding-dialog.tsx
@@ -69,6 +69,7 @@ import { Checkbox } from "@/components/ui/checkbox"
import { createBidding, type CreateBiddingInput } from "@/lib/bidding/service"
import { getIncotermsForSelection, getPaymentTermsForSelection, getPlaceOfShippingForSelection, getPlaceOfDestinationForSelection } from "@/lib/procurement-select/service"
+import { TAX_CONDITIONS } from "@/lib/tax-conditions/types"
import {
createBiddingSchema,
type CreateBiddingSchema
@@ -1475,14 +1476,24 @@ export function CreateBiddingDialog() {
<label className="text-sm font-medium">
세금조건 <span className="text-red-500">*</span>
</label>
- <Input
- placeholder="예: 부가세 별도"
+ <Select
value={biddingConditions.taxConditions}
- onChange={(e) => setBiddingConditions(prev => ({
+ onValueChange={(value) => setBiddingConditions(prev => ({
...prev,
- taxConditions: e.target.value
+ taxConditions: value
}))}
- />
+ >
+ <SelectTrigger>
+ <SelectValue placeholder="세금조건 선택" />
+ </SelectTrigger>
+ <SelectContent>
+ {TAX_CONDITIONS.map((condition) => (
+ <SelectItem key={condition.code} value={condition.code}>
+ {condition.name}
+ </SelectItem>
+ ))}
+ </SelectContent>
+ </Select>
</div>
<div className="space-y-2">