getGC: Compute gift certificate cost

getGCR Documentation

Compute gift certificate cost

Description

Gift certificates amounting to 1500 PhP are usually given to employee on December for non-seasonal employees. For seasonal employees, the gift certificates are awarded in October.

Usage

getGC(theObject)

## S4 method for signature 'Employee'
getGC(theObject)

Arguments

theObject

Employee-class object

Value

a data.frame with 12 rows and 3 columns although only either the 10th or 12th row may have a value since the cost is charged only in October (for seasonal employees) and in December (for regular and probationary employees).

Each row represents a month. The columns are:

ID

character string representing the unique identifier of the real employee

month

integer value representing the month

benefits

numeric value defining the cost charged for that month

Functions

  • getGC(Employee): Summarize gift certificate cost


basilrabi/mansched documentation built on May 18, 2023, 1:29 p.m.