This commit is contained in:
2021-06-21 20:13:52 +00:00
parent 8f99ce1b2f
commit 5913da4ee6

View File

@@ -22,7 +22,10 @@
<v-dialog v-model="openDialog" max-width="600px">
<v-card>
<v-card-title>
<span class="text-h5">{{ $ay.t("Signaturehere") }}</span>
<span class="text-h5" v-if="variant == 'customer'">{{
$ay.t("CustomerSignature")
}}</span>
<span class="text-h5" v-else>{{ $ay.t("TechSignature") }}</span>
</v-card-title>
<v-card-text>
<vueSignature
@@ -39,9 +42,13 @@
</template>
</v-card-text>
<v-card-actions>
<v-btn color="red darken-1" text @click="erase()">{{
$ay.t("Clear")
}}</v-btn>
<v-btn
v-if="imgUrl != null"
color="red darken-1"
text
@click="erase()"
>{{ $ay.t("Delete") }}</v-btn
>
<v-spacer></v-spacer>
<v-btn color="blue darken-1" text @click="cancelDialog()">{{
$ay.t("Cancel")