Link to: source code | record
viewer directory
Copyright Turtle Creek Software 1996-2006. All Rights Reserved.
This class manages payroll benefit items for the Goldenseal accounting software,
payroll software and small business
management software.
Viewer for employee benefit details, part of Goldenseal payroll software
class CBenefitItemViewer : public DB_RecordViewer
{
public:
CBenefitItemViewer(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo)
: DB_RecordViewer (inPaneInfo, inViewInfo) {}
virtual ~CBenefitItemViewer() {}
virtual void FinishCreateSelf();
protected:
virtual void HandlePopupChanged(CTCS_StdPopupMenu *popupMenu);
virtual void HandleCheckboxClicked(CTCS_StdCheckbox *checkbox);
virtual void GetReadyToUpdateFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject);
virtual void FinishUpdatingFields(const UInt8 creationMethod,
DB_PersistentObject *viewerObject);
void FormatPayFields(const SInt32 payType, const Boolean updateNow = false);
void FormatBasedOn(const Boolean isPercent);
void FormatSubtractFrom(const UInt8 basedOn);
}; |