diff --git a/frontend/src/views/CreateTimerecord.vue b/frontend/src/views/CreateTimerecord.vue
index 0906892..f6c61af 100644
--- a/frontend/src/views/CreateTimerecord.vue
+++ b/frontend/src/views/CreateTimerecord.vue
@@ -4,22 +4,7 @@
Details
-
-
+
-
+
+
+
+
+
+
+
+
+ Cancel
+ OK
+
+
+
+
+
+
+
+
+
+
+ Cancel
+ OK
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Add
@@ -49,6 +147,12 @@ import { baseUri } from "../variables";
export default {
name: "CreateTimeTrackAccount",
data: () => ({
+ timestart: null,
+ menutime: false,
+ timeend: null,
+ menutime2: false,
+ menu: false,
+ menu2: false,
user: sessionStorage.getItem("timeTrackAccountListUserId"),
newstartdate: "",
newenddate: "",
@@ -60,7 +164,7 @@ export default {
addRecord() {
var account = "";
var accountxhttp = new XMLHttpRequest();
-
+
accountxhttp.onreadystatechange = function() {
if ((this.status == 200) & (this.readyState == 4)) {
//account =
@@ -95,6 +199,8 @@ export default {
) {
var xhttp = new XMLHttpRequest();
var suc;
+ this.newstartdate = this.newstartdate + "T" + this.timestart;
+ this.newenddate = this.newenddate + "T" + this.timeend;
xhttp.onreadystatechange = function() {
if ((this.status == 201) & (this.readyState == 4)) {
suc = true;
diff --git a/frontend/src/views/EditTimerecord.vue b/frontend/src/views/EditTimerecord.vue
index a0b2b3d..a9b8bf8 100644
--- a/frontend/src/views/EditTimerecord.vue
+++ b/frontend/src/views/EditTimerecord.vue
@@ -1,10 +1,8 @@
-
-
Details
-
+
-
-
-
+
+
+
+
+
+
+
+
+ Cancel
+ OK
+
+
+
+
+
+
+
+
+
+
+ Cancel
+ OK
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Edit
@@ -39,29 +134,40 @@