Ignore:
Timestamp:
01/04/16 19:27:16 (9 years ago)
Author:
nanardon
Message:

Add hosted attribute

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

    r1587 r1589  
    4545sub _has_extended_attributes { 1 } 
    4646 
    47 sub _reported_atributes { qw(company contratType department endcircuit) } 
     47sub _reported_atributes { qw(company contratType department endcircuit hosted) } 
    4848 
    4949sub _get_attr_schema { 
     
    125125            monitored => 1, 
    126126            label => l('End of entrance'), 
     127        }, 
     128        hosted => { 
     129            formtype => 'CHECKBOX', 
     130            label => l('Hosted'), 
    127131        }, 
    128132        previous => { 
  • trunk/LATMOS-Accounts/lib/LATMOS/Accounts/Bases/Sql/User.pm

    r1577 r1589  
    11021102                reference => 'employment', 
    11031103            }, 
     1104            hosted => { 
     1105                formtype => 'CHECKBOX', 
     1106                label => l('Hosted'), 
     1107            }, 
     1108 
    11041109    }; 
    11051110 
     
    11371142    }; 
    11381143 
    1139     foreach (qw(contratType managerContact company endcircuit department)) { 
     1144    foreach (qw(contratType managerContact company endcircuit department hosted)) { 
    11401145        $attrs->{$_}{ro} = $employmentro; 
    11411146    } 
Note: See TracChangeset for help on using the changeset viewer.