From 9e37fa41537d5eb4ed3e6419ee303c3e354f1df8 Mon Sep 17 00:00:00 2001 From: Zahin Azmayeen Date: Mon, 15 Jan 2024 17:24:50 +0600 Subject: [PATCH 1/2] set default delivery date as next week --- src/views/patients/PatientForm.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/patients/PatientForm.vue b/src/views/patients/PatientForm.vue index 9f01293..e93fa2f 100644 --- a/src/views/patients/PatientForm.vue +++ b/src/views/patients/PatientForm.vue @@ -347,7 +347,11 @@ const filterRefs = (all: Array, search: string): Array => { :value=" toEdit ? new Date(parseInt(toEdit.delivery_date)) - : '' + : new Date( + new Date().getFullYear(), + new Date().getMonth(), + new Date().getDate() + 7 + ) " /> From 774ceebb40325cc2be623d0259a9b5938f14d049 Mon Sep 17 00:00:00 2001 From: Zahin Azmayeen Date: Mon, 15 Jan 2024 17:55:58 +0600 Subject: [PATCH 2/2] version bump v3.2.0 --- package.json | 2 +- src-tauri/tauri.conf.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 313695f..ae87764 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "diagman", - "version": "3.1.1", + "version": "3.2.0", "private": true, "scripts": { "dev": "vite", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 137766c..5c75dc4 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "Diagman", - "version": "3.1.1" + "version": "3.2.0" }, "tauri": { "allowlist": {