Changes to documents able to edit them now, also support for auto mail attechemnts
This commit is contained in:
@@ -18,6 +18,7 @@ const form = useForm({
|
||||
html_template: props.template?.html_template ?? "",
|
||||
text_template: props.template?.text_template ?? "",
|
||||
entity_types: props.template?.entity_types ?? ["client", "contract"],
|
||||
allow_attachments: props.template?.allow_attachments ?? false,
|
||||
active: props.template?.active ?? true,
|
||||
});
|
||||
|
||||
@@ -1065,6 +1066,10 @@ watch(
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<input id="allow_attachments" type="checkbox" v-model="form.allow_attachments" />
|
||||
<label for="allow_attachments" class="text-sm text-gray-700">Dovoli priponke</label>
|
||||
</div>
|
||||
<div class="flex items-center gap-2">
|
||||
<input id="active" type="checkbox" v-model="form.active" />
|
||||
<label for="active" class="text-sm text-gray-700">Aktivno</label>
|
||||
|
||||
Reference in New Issue
Block a user