- Timestamp:
- 02/14/17 21:39:12 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r1949 r1950 1530 1530 my ($self) = @_; 1531 1531 1532 # Get current employment name 1532 1533 my $currentempl = $self->get_attributes('currentEmployment') || ''; 1533 1534 … … 1540 1541 1541 1542 if (my $currentemployment = $self->base->get_object('employment', $currentempl)) { 1543 1544 # If an employement apply we set the value to the user object 1545 1542 1546 $self->computeEmploymentDate; 1543 1547 … … 1574 1578 } 1575 1579 } else { 1580 # No current employment, resetting values: 1581 1576 1582 return $self->_resetEmployment; 1577 1583 } 1578 1584 1579 1585 } 1586 1587 # Reset attribute value set by employment 1588 # except maangerContact and expire 1580 1589 1581 1590 sub _resetEmployment {
Note: See TracChangeset
for help on using the changeset viewer.