Changeset 2126 for trunk/LATMOS-Accounts-Web
- Timestamp:
- 11/09/17 19:33:38 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LATMOS-Accounts-Web/lib/LATMOS/Accounts/Web/Controller/Summary/ListEmployments.pm
r2124 r2126 117 117 if ($pEnd->ymd('-') ge $_->{firstday}) { 118 118 $prev->{lastday} = $_->{lastday}; 119 120 if (my $dpmt = $_->{department}) { 121 if (!$prev->{department}) { 122 $prev->{department} = $dpmt; 123 } elsif ($prev->{department} !~ m/\b$dpmt\b/) { 124 $prev->{department} .= ", $dpmt"; 125 } 126 } 119 127 next; 120 128 }
Note: See TracChangeset
for help on using the changeset viewer.