ColoredCow / portal

A hub-and-spoke platform for organizations to effectively manage their operations and data. Uses GSuite.
MIT License
55 stars 52 forks source link

New fields for job #316

Closed rathorevaibhav closed 3 years ago

rathorevaibhav commented 6 years ago

Description A job application may get closed after a particular date. There can be many reasons like no more vacancies or we're no longer hiring for that particular job description. Right now, there is no way to hide that job field.

Expected behavior When creating or editing a new job opportunity field, it should have two new date fields: start_date and end_date.

Add two new fields in the screen below image

kuldeep3 commented 3 years ago

@srivastava-jyoti @rathorevaibhav I can see the start date and end date input fields on UAT. Few observations

  1. Can we limit the date picker to only select dates starting from now. The previous date should not be selected.
  2. I can see > in the start date. Can we remove it?
Screenshot 2021-08-27 at 9 30 33 AM
kuldeep3 commented 3 years ago

Moreover, while updating the job opportunity, I see an error

Screenshot 2021-08-27 at 9 33 54 AM
rathorevaibhav commented 3 years ago

@kuldeep3 the DB error you reported should be fixed. It was an .env related issue.

kuldeep3 commented 3 years ago

@rathorevaibhav Got another this time

Screenshot 2021-08-27 at 12 46 39 PM
srivastava-jyoti commented 3 years ago

@rathorevaibhav I am also getting errors while creating job descriptions on my local. Inspected the page there is 500 internal server error. Screenshot (53)

rathorevaibhav commented 3 years ago

@kuldeep3 the database issue is resolved on UAT. You can continue testing there.

@srivastava-jyoti please take help from @am-Anmol on setting up the other database for WordPress. This is coming up because of his latest task. Also, please address the feedbacks reported by Kuldeep.

Also, @kuldeep3 please properly test the validations. I see start date and end date are showing up as required fields when submit but they don't have red asterisk.

srivastava-jyoti commented 3 years ago

@rathorevaibhav Okay, I will take help from @am-Anmol for setting up the database configurations. @kuldeep3 I have removed > in start_date and made the pull request and working on the first feature which you asked for.

srivastava-jyoti commented 3 years ago

@kuldeep3 This is how the page looks now. Screenshot (54)

rathorevaibhav commented 3 years ago

@kickb71 please test this also.

gautam071 commented 3 years ago

@rathorevaibhav I have tested it, I can see the date field, If I go into the job, I can see the start date and end date as well. But I can't edit the end date it the start date is greater than today's date.

rathorevaibhav commented 3 years ago

This is working fine. The dates are saving. I'll open another issue to show/hide from website