time radio buttons on pass value 0,1,2 on submit click, then in JS file become index value in discount & time array