Skip to content

sandeepperkariappdev/WorkforceSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

// TODO // create the screen to enter the recruiter to the LIST - not required // create the screen to enter the Sales Person to the LIST- not required // when adding a new row to the Incentive List we can select the Recruiter/salesperson from the drop down // Add percentage efforts to Each Person //

// Create a List of VISA Type - GC OPT Citizen, H1b // Create a List of Employee Type - C2C, W2, NewW2 // Create a List of Role - Sales, Recruiter

// Create a screen to enter the Salesperson/Recruiter to the IncentiveDetails Screen with the below fields

// Employee Info

// employeeName // firstName // lastName // employeeId // employeeRole // employeeIncentive, // isTeamLead

Transaction Info

// transactionId // team // salesPerName // salesPerEmpID // salesPerIncAmount // salesPerPerctEfforts // comSalesPerPerctEfforts // comSalesPerEmpID // comSalesPerEmpName // salesPersonComments // recName // recEmpID // recPerctEfforts // compRecruitPerctEfforts // compRecruitEmpID // compRecruitEmpName // recIncAmount // recComments // candidateName // candidateEmpID // candidateStDate // billRate // visaType // payRate // marginPerct // margin // incentiveTL // totalEmpIncentive // incentiveMonths : // incentiveStMonth // incentiveEndMonth // createdDate // createdBy // modifiedDate // modifiedBy // commentsToSalesPerson // comments // commentsToRecruiter // months:[] // managerIncentive

// commit to GIT git add . git commit -m "" git push -u origin rsrit-workforce-1

// Questions ?

// should we capture the employee details upfront // should we capture the employee ID? // does the incentive be repetitive monthly? // does the sales person and recruiter be same person? // can we have a list of employees with roles properly defined? // can we get proper teams names list // Can we show the total amount of the employee and the details in the same sheet

/*

h1b

{ "billRate":100.00,// actualBillRate - billRateCostsDeduc "actualBillRate":100.00, "billRateCostsDeduc":8/100 * actualBillRate "payRate":"",// actualPayRate - payRateCostsDeduc "actualPayRate":"", "payRateCostsDeduc": 12/100 * actualPayRate, "margin":,// billRate - payRate "marginPercent":, //(margin * 100)/actualBillRate "recruitSalesIncentive":"",// Calculated from Sales Incentives Table "managerIncentive":""// calculated from T M Incentive Table }

// Payrate Calculator // how the payrate in calculated from salary ? salary/2080 -- what is 2080 just curious // how do we get the salary ? -- entered by the user { "salary":90000,// how do we get the salary ? "payrate":43.666,// salary/2080 "billRate":"",// % basis ? "percentage":"",// % basis ? "payRatePerct":""// % basis ? }

// what is the text at the bottom ---? IncentiveSales Table

TMIncentives Table

*/

/*

OPT General { "billRate":100.00,// actualBillRate - billRateCostsDeduc "actualBillRate":100.00, "billRateCostsDeduc":10/100 * actualBillRate "payRate":"",// actualPayRate - payRateCostsDeduc "actualPayRate":"", "payRateCostsDeduc": 8/100 * actualPayRate, "margin":,// billRate - payRate "marginPercent":, //(margin * 100)/actualBillRate "recruitSalesIncentive":"",// Calculated from Sales Incentives Table "managerIncentive":""// calculated from T M Incentive Table }

OPT Guest House

{ "billRate":100.00,// actualBillRate - billRateCostsDeduc "actualBillRate":100.00, "billRateCostsDeduc":7/100 * actualBillRate "payRate":"",// actualPayRate - payRateCostsDeduc "actualPayRate":"", "payRateCostsDeduc": 8/100 * actualPayRate, "margin":,// billRate - payRate "marginPercent":, //(margin * 100)/actualBillRate "recruitSalesIncentive":"",// Calculated from Sales Incentives Table "managerIncentive":""// calculated from T M Incentive Table } IncentiveSales Table

TMIncentives Table

// how the payrate in calculated from salary ? salary/2080 -- what is 2080 just curious // how do we get the salary ? -- entered by the user { "salary":90000,// how do we get the salary ? "payrate":43.666,// salary/2080 "billRate":"",// % basis ? "percentage":"",// % basis ? "payRatePerct":""// % basis ? }

*/

/* GC

{ "billRate":100.00,// actualBillRate - billRateCostsDeduc "actualBillRate":100.00, "billRateCostsDeduc":6/100 * actualBillRate "payRate":"",// actualPayRate - payRateCostsDeduc "actualPayRate":"", "payRateCostsDeduc": 12/100 * actualPayRate, "margin":,// billRate - payRate "marginPercent":, //(margin * 100)/actualBillRate "recruitSalesIncentive":"",// Calculated from Sales Incentives Table "managerIncentive":""// calculated from T M Incentive Table }

// Payrate Calculator // how the payrate in calculated from salary ? salary/2080 -- what is 2080 just curious // how do we get the salary ? -- entered by the user { "salary":90000,// how do we get the salary ? "payrate":43.666,// salary/2080 "billRate":"",// % basis ? "percentage":"",// % basis ? "payRatePerct":""// % basis ? }

// what is the text at the bottom ---? IncentiveSales Table

TMIncentives Table

*/

/* C2C -- why did we have separate sheet for c2c??

{ "billRate":100.00,// actualBillRate - billRateCostsDeduc "actualBillRate":100.00, "billRateCostsDeduc":0, "payRate":"",// actualPayRate - payRateCostsDeduc "actualPayRate":"", "payRateCostsDeduc": 0, "margin":,// billRate - payRate "marginPercent":, //(margin * 100)/actualBillRate "recruitSalesIncentive":"",// Calculated from Sales Incentives Table "managerIncentive":""// calculated from T M Incentive Table }

EXP GC USC

{ "billRate":100.00,// actualBillRate - billRateCostsDeduc "actualBillRate":100.00, "billRateCostsDeduc":3/100 * actualBillRate "payRate":"",// actualPayRate - payRateCostsDeduc "actualPayRate":"", "payRateCostsDeduc": 12/100 * actualPayRate, "margin":,// billRate - payRate "marginPercent":, //(margin * 100)/actualBillRate "recruitSalesIncentive":"",// Calculated from Sales Incentives Table "managerIncentive":""// calculated from T M Incentive Table }

C2C Incentive Table

Notes:

If margin is $10-15 more, commission will be paid for 6 instalments if consultant works for 300 hours or more Margin of $15 consultant must bill for 500 hours

/return (

{/ Candidate Info /} Candidate
Candidate Name Name of the Candidate assigned Visa Type <Select value={this.state.visaType} name="visaType" onChange={this.handleChange} input={} renderValue={selected => selected} MenuProps={MenuProps}> { visaTypeList.map((item, index) => ( -1}/> )) } Some important helper text Pay Roll Type <Select value={this.state.payRollType} name="payRollType" onChange={this.handleChange} input={} renderValue={selected => selected} MenuProps={MenuProps}> { payRollTypeList.map((item, index) => ( -1}/> )) } Some important helper text
Bill Rate <Input id="name-helper" error value={this.state.actualBillRate} name="actualBillRate" startAdornment={ $} onChange={this.handleChange} type="number"/> Actual Bill Rate Pay Rate <Input id="name-helper" error value={this.state.actualPayRate} name="actualPayRate" startAdornment={ $} onChange={this.handleChange} type="number"/> Actual Pay Rate <TextField id="date" label="Start Date" type="date" value={this.state.candidateStartDate} name="candidateStartDate" onChange={this.handleChange} className={classes.startDateField} InputLabelProps={{ shrink: true }}/>
{/
Sales Person /} {!assignClosedBySelfRec && ( Sales
Sales Person Enter Full Name Employee ID Employee ID from the ADP Efforts <Input id="name-helper" value={this.state.salesPerEfforts} name="salesPerEfforts" startAdornment={%< /InputAdornment>} onChange={this.handleChange} type="number"/> Percentage efforts involved
<FormControlLabel control={ } label="Closed By Sales" /> Comments Enter Comments on Sales Person SalesPerMonth <Select multiple value={this.state.salesPerMonth} onChange={this.handleChange} name="salesPerMonth" input={} renderValue={selected => selected.join(', ')} MenuProps={MenuProps}> {monthsList.map(name => ( -1} /> ))}
{/
Componsated Sales Person /} { salesPerComEfforts && (
Name Enter Full Name Employee ID Employee ID from the ADP Efforts <Input id="name-helper" value={this.state.comSalesPerEfforts} name="comSalesPerEfforts" startAdornment={%< /InputAdornment>} onChange={this.handleChange} type="number"/> Percentage efforts involved
) } ) } {/
Recruiter Person /} {!assignClosedBySelfSalesPer && ( Recruiter
Recruiter Enter Full Name Employee ID Employee ID from the ADP Efforts <Input id="name-helper" type="number" name="recEfforts" startAdornment={%< /InputAdornment>} onChange={this.handleChange} value={recEfforts}/> Percentage efforts involved
<FormControlLabel control={ } label="Closed By Recruiter" /> Comments Enter Comments on Recruiter Rec Month <Select multiple value={this.state.recMonth} onChange={this.handleChange} name="recMonth" input={} renderValue={selected => selected.join(', ')} MenuProps={MenuProps}> {monthsList.map(name => ( -1} /> ))}
{recComEfforts && (
Recruiter Enter Full Name Employee ID Employee ID from the ADP Efforts <Input id="name-helper" value={this.state.comRecEfforts} name="comRecEfforts" startAdornment={%< /InputAdornment>} onChange={this.handleChange} type="number"/> Percentage efforts involved Comments Percentage efforts involved
)} )} {/Calculated Incentives/} {showIncentives && ( Incentives
Actual Bill Rate <Input id="name-helper" value={this.state.actualBillRate} name="actualBillRate" startAdornment={ $} onChange={this.handleChange} type="number"/> Actual Pay Rate <Input id="name-helper" value={this.state.actualPayRate} name="actualPayRate" startAdornment={ $} onChange={this.handleChange} type="number"/> Bill Rate <Input id="name-helper" value={this.state.billRate} name="billRate" startAdornment={ $} onChange={this.handleChange} type="number"/> Pay Rate <Input id="name-helper" value={this.state.payRate} name="payRate" startAdornment={ $} onChange={this.handleChange} type="number"/> Bill Rate Cost Deduc <Input id="name-helper" value={this.state.billRateCostsDeduc} name="billRateCostsDeduc" startAdornment={ $} onChange={this.handleChange} type="number"/> Pay Rate Cost Deduc <Input id="name-helper" value={this.state.payRateCostsDeduc} name="payRateCostsDeduc" startAdornment={ $} onChange={this.handleChange} type="number"/> margin <Input id="name-helper" value={this.state.margin} name="margin" startAdornment={ $} onChange={this.handleChange} type="number"/> Margin Percent <Input id="name-helper" value={this.state.marginPercent} name="marginPercent" startAdornment={ %} onChange={this.handleChange} type="number"/> Incentive <Input id="name-helper" value={this.state.recruitSalesIncentive} name="recruitSalesIncentive" startAdornment={ $} onChange={this.handleChange} type="number"/> Manager Incentive <Input id="name-helper" value={this.state.managerIncentive} name="managerIncentive" startAdornment={ $} onChange={this.handleChange} type="number"/>
)} {/Submit Buttons/} Cancel Generate Incentives Submit );
/

About

React Redux Google Firebase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published