Improved UI UX
This commit is contained in:
@@ -95,6 +95,9 @@
|
|||||||
$("#inputSuppliesModalContent").html(data);
|
$("#inputSuppliesModalContent").html(data);
|
||||||
$('#inputSuppliesModal').modal('show');
|
$('#inputSuppliesModal').modal('show');
|
||||||
recalculateTotal();
|
recalculateTotal();
|
||||||
|
if (copySuppliesAttachments) {
|
||||||
|
$('#inputCopySuppliesAttachments').attr('checked', true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -73,6 +73,9 @@ function hideAddPlanRecordModal() {
|
|||||||
//show reminder Modal
|
//show reminder Modal
|
||||||
$("#reminderRecordModal").modal("show");
|
$("#reminderRecordModal").modal("show");
|
||||||
}
|
}
|
||||||
|
if (getPlanRecordModelData().isTemplate) {
|
||||||
|
showPlanRecordTemplatesModal();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function deletePlanRecord(planRecordId) {
|
function deletePlanRecord(planRecordId) {
|
||||||
$("#workAroundInput").show();
|
$("#workAroundInput").show();
|
||||||
@@ -189,6 +192,7 @@ function savePlanRecordTemplate(isEdit) {
|
|||||||
if (isEdit) {
|
if (isEdit) {
|
||||||
hideAddPlanRecordModal();
|
hideAddPlanRecordModal();
|
||||||
showPlanRecordTemplatesModal();
|
showPlanRecordTemplatesModal();
|
||||||
|
$('[data-changed=true]').attr('data-changed', false)
|
||||||
successToast('Plan Template Updated');
|
successToast('Plan Template Updated');
|
||||||
} else {
|
} else {
|
||||||
successToast('Plan Template Added');
|
successToast('Plan Template Added');
|
||||||
|
|||||||
Reference in New Issue
Block a user