Changeset 1860 for trunk/LATMOS-Accounts/lib/LATMOS/Accounts
- Timestamp:
- 11/23/16 15:43:25 (8 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
r1834 r1860 46 46 sub _has_extended_attributes { 1 } 47 47 48 sub _reported_atributes { qw(contratType endcircuit hosted company ) }48 sub _reported_atributes { qw(contratType endcircuit hosted company employer) } 49 49 50 50 sub _get_attr_schema { … … 166 166 label => l('Company'), 167 167 }, 168 employer => { 169 label => l('Employer'), 170 }, 168 171 endcircuit => { 169 172 formtype => 'DATE', … … 298 301 if (! $base->config("allow_pasted_employment")) { 299 302 # Completed contract are RO, we allow to still set lastday 300 foreach (qw(endcircuit firstday contratType department managerContact company )) {303 foreach (qw(endcircuit firstday contratType department managerContact company employer)) { 301 304 $attrs->{$_}{ro} = sub { 302 305 my ($self) = $_[0]; -
trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm
r1857 r1860 1225 1225 label => l('Company'), 1226 1226 }, 1227 employer => { 1228 label => l('Employer'), 1229 }, 1227 1230 comment => { 1228 1231 label => l('Comment'), … … 1372 1375 1373 1376 foreach (qw(contratType managerContact company endcircuit department hosted 1374 contratTypeHistory )) {1377 contratTypeHistory employer)) { 1375 1378 $attrs->{$_}{ro} = $employmentro; 1376 1379 }
Note: See TracChangeset
for help on using the changeset viewer.