Last change
on this file since 1761 was
1758,
checked in by nanardon, 8 years ago
|
Ajout compte de statut par période
|
File size:
797 bytes
|
Line | |
---|
1 | package LATMOS::Accounts::Web::Controller::Summary::EmploymentByPeriod; |
---|
2 | use Moose; |
---|
3 | use namespace::autoclean; |
---|
4 | use DateTime; |
---|
5 | |
---|
6 | BEGIN { extends 'Catalyst::Controller'; } |
---|
7 | |
---|
8 | =head1 NAME |
---|
9 | |
---|
10 | LATMOS::Accounts::Web::Controller::Summary::EmploymentByPeriod - Catalyst Controller |
---|
11 | |
---|
12 | =head1 DESCRIPTION |
---|
13 | |
---|
14 | Catalyst Controller. |
---|
15 | |
---|
16 | =head1 METHODS |
---|
17 | |
---|
18 | =cut |
---|
19 | |
---|
20 | |
---|
21 | =head2 index |
---|
22 | |
---|
23 | =cut |
---|
24 | |
---|
25 | sub index :Path :Args(0) { |
---|
26 | my ( $self, $c ) = @_; |
---|
27 | |
---|
28 | my $year = DateTime->now->year; |
---|
29 | $c->req->params->{start} ||= "01/01/$year"; |
---|
30 | $c->req->params->{end} ||= "31/12/$year"; |
---|
31 | } |
---|
32 | |
---|
33 | |
---|
34 | |
---|
35 | =encoding utf8 |
---|
36 | |
---|
37 | =head1 AUTHOR |
---|
38 | |
---|
39 | Olivier Thauvin,Guyancourt - B1428,+33 1 80285052, |
---|
40 | |
---|
41 | =head1 LICENSE |
---|
42 | |
---|
43 | This library is free software. You can redistribute it and/or modify |
---|
44 | it under the same terms as Perl itself. |
---|
45 | |
---|
46 | =cut |
---|
47 | |
---|
48 | __PACKAGE__->meta->make_immutable; |
---|
49 | |
---|
50 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.