This commit is contained in:
2021-06-21 22:06:29 +00:00
parent 02cf673b77
commit 552737359a

View File

@@ -36,6 +36,7 @@
></vueSignature> ></vueSignature>
<template> <template>
{{ sigDateLocalized }}
<div class="mt-8"> <div class="mt-8">
input name here show date here input name here show date here
</div> </div>
@@ -53,9 +54,13 @@
<v-btn color="blue darken-1" text @click="cancelDialog()">{{ <v-btn color="blue darken-1" text @click="cancelDialog()">{{
$ay.t("Cancel") $ay.t("Cancel")
}}</v-btn> }}</v-btn>
<v-btn color="blue darken-1" text @click="save()">{{ <v-btn
$ay.t("OK") v-if="imgUrl == null"
}}</v-btn> color="blue darken-1"
text
@click="save()"
>{{ $ay.t("OK") }}</v-btn
>
</v-card-actions> </v-card-actions>
</v-card> </v-card>
</v-dialog> </v-dialog>
@@ -183,6 +188,19 @@ export default {
} else { } else {
return this.value.techSignatureCaptured; return this.value.techSignatureCaptured;
} }
},
sigDateLocalized: function() {
const sd = this.sigDate;
if (sd == null) {
return null;
} else {
return window.$gz.locale.utcDateToShortDateAndTimeLocalized(
sd,
this.pvm.timeZoneName,
this.pvm.languageName,
this.pvm.hour12
);
}
} }
} }
}; };