Ignore:
Timestamp:
02/12/16 02:45:46 (8 years ago)
Author:
nanardon
Message:

Stat by employment can be done over user's attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts-Web/root/html/summary/employment/index.tt

    r1715 r1720  
    77<option value=contratType 
    88    [% "selected" IF c.req.param('key') == 'contratType' %]>[% l('Status') | html %]</option> 
     9<option value=allsite 
     10    [% "selected" IF c.req.param('key') == 'allsite' %]>[% l('Site') | html %]</option> 
    911</select><br> 
     12<label for=filter>[% l('Filter') %]</label> 
     13<input name=filter value=[% c.req.param('filter') | html %]> 
     14<br> 
    1015<input name=stacked type=checkbox value=on [% 'checked' IF c.req.param('stacked') %]> 
    1116<label for=stacked>[% l('Stacked') %]</label> 
     
    2328      // will return before the data is fetched 
    2429      //async: false, 
    25       url: "[% c.uri_for('/json/employment', { key => c.req.param('key') }) %]", 
     30      url: "[% c.uri_for('/json/employment', { 
     31            key => c.req.param('key'), filter 
     32            => c.req.param('filter') 
     33        }) %]", 
    2634      dataType:"json", 
    2735      success: function(data) { 
Note: See TracChangeset for help on using the changeset viewer.