Skip to content

Commit

Permalink
Merge pull request #2001 from civicrm/PCHR-2395-fix-self-sick-leave-r…
Browse files Browse the repository at this point in the history
…equest

PCHR-2395: Fix sick leave request
  • Loading branch information
igorpavlov authored Jul 14, 2017
2 parents 17d0009 + 071d5e2 commit 5ba40cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="form-group chr_leave-request-modal__required-documents">
<div class="col-xs-12" ng-repeat="document in $ctrl.sicknessDocumentTypes">
<input
ng-disabled="$ctrl.isRole('staff')"
ng-disabled="$ctrl.isRole('staff') || $ctrl.isSelfRecord"
required type="checkbox" value="document.value"
ng-click="$ctrl.request.toggleDocument(document.value)"
ng-checked="$ctrl.isChecked(document.value)"
Expand Down

0 comments on commit 5ba40cf

Please sign in to comment.