[UPDT] BASE: Updation in rotating work type assign js file
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<div
|
||||
class="oh-checkpoint-badge text-secondary mb-2"
|
||||
id="unselectAllRWorktypes"
|
||||
style="cursor: pointer"
|
||||
style="cursor: pointer;display: none;"
|
||||
>
|
||||
{% trans "Unselect All Worktypes" %}
|
||||
</div>
|
||||
@@ -350,8 +350,10 @@ style="cursor: pointer; display: none"
|
||||
if (selectedCount === 0) {
|
||||
$("#selectedShowRWorktypes").css("display", "none");
|
||||
$("#exportRWorktypes").css("display", "none");
|
||||
$("#unselectAllRWorktypes").css("display", "none");
|
||||
} else {
|
||||
$("#exportRWorktypes").css("display", "inline-flex");
|
||||
$("#unselectAllRWorktypes").css("display", "inline-flex");
|
||||
$("#selectedShowRWorktypes").css("display", "inline-flex");
|
||||
$("#selectedShowRWorktypes").text(selectedCount + " - " + message);
|
||||
}
|
||||
@@ -361,6 +363,9 @@ style="cursor: pointer; display: none"
|
||||
$(document).ready(function() {
|
||||
|
||||
$(".all-rwork-type-row").change(function () {
|
||||
if ($('.all-rwork-type').is(":checked")) {
|
||||
$(".all-rwork-type").prop("checked", false);
|
||||
}
|
||||
addingRWorktypeIds();
|
||||
});
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<div
|
||||
class="oh-checkpoint-badge text-secondary mb-2"
|
||||
id="unselectAllRWorktypes"
|
||||
style="cursor: pointer"
|
||||
style="cursor: pointer;display: none;"
|
||||
>
|
||||
{% trans "Unselect All Worktypes" %}
|
||||
</div>
|
||||
@@ -300,8 +300,10 @@
|
||||
if (selectedCount === 0) {
|
||||
$("#selectedShowRWorktypes").css("display", "none");
|
||||
$("#exportRWorktypes").css("display", "none");
|
||||
$("#unselectAllRWorktypes").css("display", "none");
|
||||
} else {
|
||||
$("#exportRWorktypes").css("display", "inline-flex");
|
||||
$("#unselectAllRWorktypes").css("display", "inline-flex");
|
||||
$("#selectedShowRWorktypes").css("display", "inline-flex");
|
||||
$("#selectedShowRWorktypes").text(selectedCount + " - " + message);
|
||||
}
|
||||
@@ -311,6 +313,9 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
$(".all-rwork-type-row").change(function () {
|
||||
if ($('.all-rwork-type').is(":checked")) {
|
||||
$(".all-rwork-type").prop("checked", false);
|
||||
}
|
||||
addingRWorktypeIds();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user