diff --git a/Helper/StaticHelper.cs b/Helper/StaticHelper.cs
index 32bcbd4..8f2b5f4 100644
--- a/Helper/StaticHelper.cs
+++ b/Helper/StaticHelper.cs
@@ -8,7 +8,7 @@ namespace CarCareTracker.Helper
///
public static class StaticHelper
{
- public static string VersionNumber = "1.3.4";
+ public static string VersionNumber = "1.3.5";
public static string DbName = "data/cartracker.db";
public static string UserConfigPath = "config/userConfig.json";
public static string GenericErrorMessage = "An error occurred, please try again later";
diff --git a/Views/Vehicle/_CollisionRecordModal.cshtml b/Views/Vehicle/_CollisionRecordModal.cshtml
index 1b1a44b..2722648 100644
--- a/Views/Vehicle/_CollisionRecordModal.cshtml
+++ b/Views/Vehicle/_CollisionRecordModal.cshtml
@@ -28,7 +28,7 @@
@if (isNew)
{
-
+
}
diff --git a/Views/Vehicle/_GasModal.cshtml b/Views/Vehicle/_GasModal.cshtml
index 7e5affe..c630589 100644
--- a/Views/Vehicle/_GasModal.cshtml
+++ b/Views/Vehicle/_GasModal.cshtml
@@ -57,7 +57,7 @@
@if (isNew)
{
-
+
}
diff --git a/Views/Vehicle/_OdometerRecordModal.cshtml b/Views/Vehicle/_OdometerRecordModal.cshtml
index 96c9877..f48efc5 100644
--- a/Views/Vehicle/_OdometerRecordModal.cshtml
+++ b/Views/Vehicle/_OdometerRecordModal.cshtml
@@ -23,14 +23,22 @@
-
+
diff --git a/Views/Vehicle/_ReminderRecordModal.cshtml b/Views/Vehicle/_ReminderRecordModal.cshtml
index bf41764..b490b14 100644
--- a/Views/Vehicle/_ReminderRecordModal.cshtml
+++ b/Views/Vehicle/_ReminderRecordModal.cshtml
@@ -37,7 +37,7 @@
@if (isNew)
{
-
+
}
diff --git a/Views/Vehicle/_ServiceRecordModal.cshtml b/Views/Vehicle/_ServiceRecordModal.cshtml
index f59a784..8de5eb7 100644
--- a/Views/Vehicle/_ServiceRecordModal.cshtml
+++ b/Views/Vehicle/_ServiceRecordModal.cshtml
@@ -28,7 +28,7 @@
@if (isNew)
{
-
+
}
diff --git a/Views/Vehicle/_SupplyRecordModal.cshtml b/Views/Vehicle/_SupplyRecordModal.cshtml
index c7a1fbd..562cddb 100644
--- a/Views/Vehicle/_SupplyRecordModal.cshtml
+++ b/Views/Vehicle/_SupplyRecordModal.cshtml
@@ -34,7 +34,7 @@
diff --git a/Views/Vehicle/_UpgradeRecordModal.cshtml b/Views/Vehicle/_UpgradeRecordModal.cshtml
index b6374ec..ef66540 100644
--- a/Views/Vehicle/_UpgradeRecordModal.cshtml
+++ b/Views/Vehicle/_UpgradeRecordModal.cshtml
@@ -28,7 +28,7 @@
@if (isNew)
{
-
+
}
diff --git a/wwwroot/js/odometerrecord.js b/wwwroot/js/odometerrecord.js
index e7bf559..e1e4d81 100644
--- a/wwwroot/js/odometerrecord.js
+++ b/wwwroot/js/odometerrecord.js
@@ -208,4 +208,12 @@ function saveMultipleOdometerRecordsToVehicle() {
errorToast(genericErrorMessage());
}
})
+}
+function toggleInitialOdometerEnabled() {
+ if ($("#initialOdometerRecordMileage").prop("disabled")) {
+ $("#initialOdometerRecordMileage").attr("disabled", false);
+ } else {
+ $("#initialOdometerRecordMileage").attr("disabled", true);
+ }
+
}
\ No newline at end of file