This was a carry-over from the copy notes modal that doesn't
apply to serial notes.
Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
<div class="modal-footer">
<div class="row">
<div class="col-md-2">
- <input type="text" class="form-control" ng-hide="!require_initials"
- ng-model="initials" placeholder="[% l('Initials') %]" ng-required="require_initials"/>
</div>
<div class="col-md-10 pull-right">
<input type="submit" class="btn btn-primary" value="[% l('OK') %]"/>
'alert' : false,
};
- $scope.require_initials = false;
- egCore.org.settings([
- 'ui.staff.require_initials.copy_notes'
- ]).then(function(set) {
- $scope.require_initials = Boolean(set['ui.staff.require_initials.copy_notes']);
- });
-
$scope.note_list = notes;
$scope.ok = function(note) {
'alert' : false,
};
- $scope.require_initials = false;
- egCore.org.settings([
- 'ui.staff.require_initials.copy_notes'
- ]).then(function(set) {
- $scope.require_initials = Boolean(set['ui.staff.require_initials.copy_notes']);
- });
-
$scope.note_list = notes;
$scope.ok = function(note) {