Changeset 2147 for trunk/LATMOS-Accounts/lib/LATMOS
- Timestamp:
- 09/25/18 17:50:05 (6 years ago)
- Location:
- trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/Employment.pm
r2116 r2147 175 175 formtype => 'CHECKBOX', 176 176 label => l('Hosted'), 177 }, 178 assigned => { 179 formtype => 'CHECKBOX', 180 label => l('Assigned'), 177 181 }, 178 182 requestId => { -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r2146 r2147 1430 1430 label => l('Hosted'), 1431 1431 }, 1432 assigned => { 1433 formtype => 'CHECKBOX', 1434 label => l('Assigned'), 1435 }, 1432 1436 createRequestId => { 1433 1437 label => l('Account Request id') 1434 1438 }, 1435 1439 requestId => { 1436 label => l('Request id') 1437 } 1438 1440 label => l('Request id'), 1441 }, 1442 nationality => { 1443 label => l('Nationality'), 1444 }, 1445 nativeCountry => { 1446 label => l('Native country'), 1447 }, 1439 1448 }; 1440 1449 … … 1472 1481 }; 1473 1482 1474 foreach (qw(contratType managerContact company endcircuit department hosted requestId 1475 contratTypeHistory employer)) { 1483 foreach (_reported_atributes(), qw(department managerContact contratTypeHistory)) { 1476 1484 $attrs->{$_}{ro} = $employmentro; 1477 1485 } … … 1581 1589 } 1582 1590 1583 sub _reported_atributes { qw(contratType endcircuit hosted requestId company employer) }1591 sub _reported_atributes { qw(contratType endcircuit hosted assigned requestId company employer) } 1584 1592 1585 1593 =head2 applyCurrentEmployment … … 1657 1665 ); 1658 1666 1659 my @attributesToReset = (_reported_atributes , qw(department));1667 my @attributesToReset = (_reported_atributes(), qw(department)); 1660 1668 1661 1669 foreach my $attr (@attributesToReset) {
Note: See TracChangeset
for help on using the changeset viewer.