Skip to content

Commit

Permalink
Fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Feb 13, 2023
1 parent 131a3ac commit 4738065
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
window.replaceDepartments = <?php $items = []; foreach (erLhcoreClassModelDepartament::getList(['limit' => false]) as $itemDepartment) { $items[$itemDepartment->id] = $itemDepartment->name; }; echo json_encode($items) ?>;
window.replaceConditions.forEach(function(elm){

if (typeof elm.cannedRepeatPeriod === undefined) {
elm.cannedRepeatPeriod = 0;
if (typeof elm.cannedRepeatPeriod === 'undefined') {
elm.cannedRepeatPeriod = '0';
}

['active_from','active_to',
Expand Down

0 comments on commit 4738065

Please sign in to comment.