Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #157 from AppliedIS/feature-adminassurances
Browse files Browse the repository at this point in the history
admin view for assurances section
  • Loading branch information
jefferey committed Nov 18, 2016
2 parents 83a1966 + 71198a9 commit b2cb525
Show file tree
Hide file tree
Showing 9 changed files with 102 additions and 1 deletion.
1 change: 1 addition & 0 deletions DOL.WHD.Section14c.Web/src/modules/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ app.constant('_env', env);
// Load Application Components
require('./constants')(app);
require('./components')(app);
require('./filters')(app);
require('./pages')(app);
require('./services')(app);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<p ng-show="answer.county"><em>County:</em> {{ answer.county }}</p>
</div>
<div ng-show="datefield">
{{ answer.month }} / {{ answer.day }} / {{ answer.year }}
{{ answer | dateFilter }}
</div>
</div>
<div class="answer-answer" ng-show="answer === undefined">
Expand Down
1 change: 1 addition & 0 deletions DOL.WHD.Section14c.Web/src/modules/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module.exports = function(ngModule) {
require('./mainNavigationControl')(ngModule);
require('./resetPasswordForm')(ngModule);
require('./sectionAdminAppInfo')(ngModule);
require('./sectionAdminAssurances')(ngModule);
require('./sectionAdminEmployer')(ngModule);
require('./sectionAdminWioa')(ngModule);
require('./sectionAppInfo')(ngModule);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = function(ngModule) {
require('./sectionAdminAssurancesDirective')(ngModule);
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

module.exports = function(ngModule) {
ngModule.directive('sectionAdminAssurances', function() {

'use strict';

return {
restrict: 'EA',
template: require('./sectionAdminAssurancesTemplate.html')
};
});
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<div class="admin-page">
<h1>Assurances</h1>

<div class="usa-content">
<p>I certify that I have read this form and to the best of my knowledge and belief, all answers and information given
in the application and attachments are true; that the representations set forth in support of this application
to obtain or continue the authorization to pay workers with disabilities at subminimum wage rates are true; and
I acknowledge that the authorization, if issued or continued, is subject to revocation in accordance with the
provisions of 29 C.F.R. part 525. I represent that as set forth in the regulations governing the employment of
workers with disabilities, the following conditions exist and will continue to exist:
</p>
<ol type="1">
<li>Workers employed under the authority in 29 C.F.R. part 525 have disabilities for the work to be performed;</li>
<li>Wage rates paid to workers with disabilities under the authority in 29 C.F.R. part 525 are commensurate with
those paid experienced workers, who do not have disabilities, in industry in the vicinity for essentially
the same type, quality, and quantity of work;</li>
<li>The operations are and will continue to be in compliance with the FLSA, PCA, SCA, and Contract Work Hours and
Safety Standards Act (CWHSSA), an overtime statute for Federal contract work, as applicable;</li>
<li>No deductions will be made from the commensurate wages earned by a patient worker to cover the cost of room,
board or other services provided by the facility;</li>
<li>Records required under 29 C.F.R. part 525 with respect to documentation of disability, productivity, work measurements
or time studies, and prevailing wage surveys will be maintained.</li>
</ol>
<p>Further, I certify that:</p>
<ol type="1">
<li>The wage rates of all hourly-rated employees paid in accordance with FLSA section 14(c) will be reviewed at least
every six months; and</li>
<li>Wages paid to all employees under FLSA section 14(c) will be adjusted at periodic intervals, at least once a
year, to reflect changes in the prevailing wage paid to experienced workers, who do not have disabilities,
employed in the vicinity for essentially the same type of work.</li>
</ol>
</div>

<answer-field answer="appData.signature.agreement">
I agree to use an electronic signature. By entering my Full Name and Title below, I certify that I am authorized to accept
these representations and assurances on behalf of the organization named on this application.
</answer-field>

<answer-field answer="appData.signature.fullName">
Full Name
</answer-field>

<answer-field answer="appData.signature.title">
Title
</answer-field>

<answer-field answer="appData.signature.date" datefield="true">
Date
</answer-field>
</div>
20 changes: 20 additions & 0 deletions DOL.WHD.Section14c.Web/src/modules/filters/dateFilter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

module.exports = function(ngModule) {
ngModule.filter('dateFilter', function(moment) {
return function(input) {
// parse to moment object
let outVal = "INVALID DATE";
const dateValMoment = moment(input, moment.ISO_8601, true);
if(dateValMoment.isValid()) {
// parse out values
const month = dateValMoment.month() + 1; // month is zero-based
const day = dateValMoment.date();
const year = dateValMoment.year();
outVal = `${month}/${day}/${year}`;
}

return outVal;
}
});
};
5 changes: 5 additions & 0 deletions DOL.WHD.Section14c.Web/src/modules/filters/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
'use strict';

module.exports = function(ngModule) {
require('./dateFilter')(ngModule);
};
6 changes: 6 additions & 0 deletions DOL.WHD.Section14c.Web/src/styles/admin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

.admin-page {
@include span(12);

.usa-content {
p {
max-width: none;
}
}
}

}

0 comments on commit b2cb525

Please sign in to comment.