Merge pull request #472 from hargata/Hargata/planner.improvement.part2

Improved UI UX For Planner Edit
This commit is contained in:
Hargata Softworks
2024-04-07 12:51:28 -06:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -95,6 +95,9 @@
$("#inputSuppliesModalContent").html(data);
$('#inputSuppliesModal').modal('show');
recalculateTotal();
if (copySuppliesAttachments) {
$('#inputCopySuppliesAttachments').attr('checked', true);
}
}
});
} else {

View File

@@ -73,6 +73,9 @@ function hideAddPlanRecordModal() {
//show reminder Modal
$("#reminderRecordModal").modal("show");
}
if (getPlanRecordModelData().isTemplate) {
showPlanRecordTemplatesModal();
}
}
function deletePlanRecord(planRecordId) {
$("#workAroundInput").show();
@@ -189,6 +192,7 @@ function savePlanRecordTemplate(isEdit) {
if (isEdit) {
hideAddPlanRecordModal();
showPlanRecordTemplatesModal();
$('[data-changed=true]').attr('data-changed', false)
successToast('Plan Template Updated');
} else {
successToast('Plan Template Added');