diff --git a/jikimo_frontend/static/src/js/custom_form_status_indicator.js b/jikimo_frontend/static/src/js/custom_form_status_indicator.js
index 7c149de8..2bed0804 100644
--- a/jikimo_frontend/static/src/js/custom_form_status_indicator.js
+++ b/jikimo_frontend/static/src/js/custom_form_status_indicator.js
@@ -19,7 +19,9 @@ const filedRequiredList = {
'brand_id': { multiple: false, noLabel: false },
'type_id': { multiple: false, noLabel: false },
'taper_type_id': { multiple: false, noLabel: false },
-
+ 'eq_maintenance_id': { multiple: false, noLabel: false },
+ 'overhaul_id': { multiple: false, noLabel: false },
+ 'overhaul_period': { multiple: false, noLabel: false },
'maintenance_equipment_category_id': { multiple: false, noLabel: false },
'maintenance_type': { multiple: false, noLabel: false },
@@ -147,7 +149,7 @@ $(function () {
dom.each(function () {
const requiredDom = $(this).parent().prev().find('label')
let t = requiredDom.html()
- if (t.indexOf('c*') < 0) {
+ if (t && t.indexOf('c*') < 0) {
t = '*' + t
}
requiredDom.html(t)
diff --git a/sf_maintenance/views/maintenance_views.xml b/sf_maintenance/views/maintenance_views.xml
index 9a57f29a..9233c7c9 100644
--- a/sf_maintenance/views/maintenance_views.xml
+++ b/sf_maintenance/views/maintenance_views.xml
@@ -981,16 +981,16 @@
-
+
-
+
-
+
days