Changes in jobsbnow application.
Need to create following tables.
1. CompanyMappingCode (MappingCode(string), DisplayJobToAll(boolean), Company (Company Object), ValidUntil(date))
2. RegisteredUsers (company(Pointer), user(Pointer), Status (String (1) [R-registered, U-unregistered])
1) Jobsnow
Create new page for entering company code, on this page user can see list of companies with which he is already mapped and he will able to remove the mapping.
When user register with any company then entry will go into “RegisteredUsers” table with isRegister flag true.
If user remove company mapping, then check if this user is added in any group of company employer. If added, then remove user from that group.
If user remove company mapping, then remove entry from “RegisteredUsers” table for that company.
User can register with any company only once until he deletes his registration with that company.
Changes for fetching job
There are three scenarios
Check if job posted for all or a particular group in all three scenarios.
1. User is not logged in
Fetch all jobs of companies whose status of DisplayJobToAll from CompanyCodeMapping table is true.
1. User is logged in but not registered with any company.
1. Fetch jobs only which matches user profile like salary, time and job role of companies whose status of DisplayJobToAll from CompanyCodeMapping table is true.
2. User is logged in and registered with companies.
1. Fetch all jobs from registered companies with restriction of salary, jobRole and time which set in profile.
2. Also fetch job from which matches user profile like salary, time and job role of companies whose status of DisplayJobToAll from CompanyCodeMapping table is true.
2)Jobs Manager
Company Information Page
The user will be able to see company details and also view the company code and valid till date.
User will have option to regenerate code. A unique code will be generated from the system. The valid till will be calculated based on the CompanyCodeDuration...
JavaScript
Changes in jobsbnow application.
Need to create following tables.
1. CompanyMappingCode (MappingCode(string), DisplayJobToAll(boolean), Company (Company Object), ValidUntil(date))
2. RegisteredUsers (company(Pointer), user(Pointer), Status (String (1) [R-registered, U-unregistered])
1) Jobsnow
Create new page for entering company code, on this page user can see list of companies with which he is already mapped and he will able to remove the mapping.
When user register with any company then entry will go into “RegisteredUsers” table with isRegister flag true.
If user remove company mapping, then check if this user is added in any group of company employer. If added, then remove user from that group.
If user remove company mapping, then remove entry from “RegisteredUsers” table for that company.
User can register with any company only once until he deletes his registration with that company.
Changes for fetching job
There are three scenarios
Check if job posted for all or a particular group in all three scenarios.
1. User is not logged in
Fetch all jobs of companies whose status of DisplayJobToAll from CompanyCodeMapping table is true.
1. User is logged in but not registered with any company.
1. Fetch jobs only which matches user profile like salary, time and job role of companies whose status of DisplayJobToAll from CompanyCodeMapping table is true.
2. User is logged in and registered with companies.
1. Fetch all jobs from registered companies with restriction of salary, jobRole and time which set in profile.
2. Also fetch job from which matches user profile like salary, time and job role of companies whose status of DisplayJobToAll from CompanyCodeMapping table is true.
2)Jobs Manager
Company Information Page
The user will be able to see company details and also view the company code and valid till date.
User will have option to regenerate code. A unique code will be generated from the system. The valid till will be calculated based on the CompanyCodeDuration...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.