mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
change the text of the unset start and end time in scheduled transaction
This commit is contained in:
@@ -258,6 +258,7 @@
|
||||
:disabled="loading || submitting"
|
||||
:clearable="true"
|
||||
:label="tt('Start Date')"
|
||||
:no-data-text="tt('No limit')"
|
||||
v-model="transaction.scheduledStartDate" />
|
||||
</v-col>
|
||||
<v-col cols="12" md="6" v-if="type === TransactionEditPageType.Template && transaction instanceof TransactionTemplate && transaction.templateType === TemplateType.Schedule.type">
|
||||
@@ -266,6 +267,7 @@
|
||||
:disabled="loading || submitting"
|
||||
:clearable="true"
|
||||
:label="tt('End Date')"
|
||||
:no-data-text="tt('No limit')"
|
||||
v-model="transaction.scheduledEndDate" />
|
||||
</v-col>
|
||||
<v-col cols="12" md="12" v-if="type === TransactionEditPageType.Transaction">
|
||||
|
||||
@@ -756,7 +756,7 @@ const transactionDisplayScheduledStartDate = computed<string>(() => {
|
||||
if (template.scheduledStartDate) {
|
||||
return formatDateToLongDate(template.scheduledStartDate);
|
||||
} else {
|
||||
return tt('Unspecified');
|
||||
return tt('No limit');
|
||||
}
|
||||
});
|
||||
|
||||
@@ -770,7 +770,7 @@ const transactionDisplayScheduledEndDate = computed<string>(() => {
|
||||
if (template.scheduledEndDate) {
|
||||
return formatDateToLongDate(template.scheduledEndDate);
|
||||
} else {
|
||||
return tt('Unspecified');
|
||||
return tt('No limit');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user