@@ -1405,7 +1405,7 @@ const JobDetails = ({
14051405 >
14061406 < Button
14071407 type = "text"
1408- size = "small "
1408+ size = "large "
14091409 icon = {
14101410 expandedYears . has ( year )
14111411 ? "▼"
@@ -1418,7 +1418,7 @@ const JobDetails = ({
14181418 minWidth : 20 ,
14191419 height : 20 ,
14201420 padding : 0 ,
1421- fontSize : 10 ,
1421+ fontSize : 15 ,
14221422 color : "#6b7280" ,
14231423 } }
14241424 />
@@ -2673,6 +2673,33 @@ const JobDetails = ({
26732673 </ Form . Item >
26742674 </ Col >
26752675 </ Row >
2676+ < Row gutter = { [ 16 , 12 ] } className = "md:gutter-24" >
2677+ < Col span = { 24 } >
2678+ < Form . Item
2679+ name = { [ field . name , "hasBondRequirement" ] }
2680+ valuePropName = "checked"
2681+ initialValue = { false }
2682+ className = "mb-3 md:mb-4"
2683+ >
2684+ < Checkbox
2685+ onChange = { ( e ) => {
2686+ if ( ! e . target . checked ) {
2687+ form . setFieldValue ( [ "salaries" , index , "bondAmount" ] , 0 ) ;
2688+ form . setFieldValue ( [ "salaries" , index , "bondDuration" ] , "" ) ;
2689+ setFieldValue ( `salaries.${ index } .bondAmount` , 0 ) ;
2690+ setFieldValue ( `salaries.${ index } .bondDuration` , "" ) ;
2691+ }
2692+ } }
2693+ >
2694+ < Text strong className = "text-xs md:text-sm text-gray-700" >
2695+ Is there a bond requirement?
2696+ </ Text >
2697+ </ Checkbox >
2698+ </ Form . Item >
2699+ </ Col >
2700+ </ Row >
2701+
2702+ { form . getFieldValue ( [ "salaries" , index , "hasBondRequirement" ] ) === true && (
26762703 < Row gutter = { [ 24 , 16 ] } >
26772704 < Col span = { 12 } >
26782705 < Form . Item
@@ -2751,7 +2778,8 @@ const JobDetails = ({
27512778 </ Form . Item >
27522779 </ Col >
27532780 </ Row >
2754- </ >
2781+ ) }
2782+ </ >
27552783 ) : (
27562784 < >
27572785 < Title
@@ -3214,7 +3242,7 @@ const JobDetails = ({
32143242 style = { { fontSize : 14 , color : "#374151" } }
32153243 >
32163244 < span style = { { color : "#ef4444" } } > * </ span >
3217- Duration
3245+ Duration (in Min)
32183246 </ Text >
32193247 }
32203248 name = { [ field . name , "duration" ] }
@@ -3373,7 +3401,7 @@ const JobDetails = ({
33733401 style = { { fontSize : 14 , color : "#374151" } }
33743402 >
33753403 < span style = { { color : "#ef4444" } } > * </ span >
3376- Duration
3404+ Duration (in Min)
33773405 </ Text >
33783406 }
33793407 name = { [ field . name , "duration" ] }
0 commit comments