Description | manuals and libraries |
LedgerSMB::Entity::Payroll::Wage - Wages and Salary Handling for LedgerSMB
Implements a database mapping for 'wage instance' attributes.
To retrieve a list of wages for an entity:
my @wages = LedgerSMB::Entity::Person::Wage->list($entity_id);
To retrieve a list of wage categories for selection: my @classes = LedgerSMB::Entity::Person::Wage->classes($entity_id);
To save a new wage:
my $wage = LedgerSMB::Entity::Person::Wage->new(%$request);
$wage->save;
This is the entry id (when set) of the wage.
This is the class id of the wage (when set)
This is the rate that one is paid. Depending on class could be hourly, per month, or per unit produced.
Retrns a list of wage objects for entity
Returns a list of wage types
Saves the wage and attaches to the entity record
Copyright (C) 2018 The LedgerSMB Core Team
This file is licensed under the GNU General Public License version 2, or at your option any later version. A copy of the license should have been included with your software.