|
5772 | 5772 | </div> |
5773 | 5773 | </div> |
5774 | 5774 | </div> |
5775 | | - </div> |
5776 | 5775 |
|
5777 | | - <!-- Billing Statement Email --> |
5778 | | - <div class="card"> |
5779 | | - <div class="border-b border-gray-100 px-6 py-4 dark:border-dark-700"> |
5780 | | - <h3 class="text-base font-medium text-gray-900 dark:text-white"> |
5781 | | - {{ t('admin.settings.billingStatement.title') }} |
5782 | | - </h3> |
5783 | | - <p class="mt-1 text-sm text-gray-500 dark:text-gray-400"> |
5784 | | - {{ t('admin.settings.billingStatement.description') }} |
5785 | | - </p> |
5786 | | - </div> |
5787 | | - <div class="px-6 py-6 space-y-4"> |
5788 | | - <div class="flex items-center justify-between"> |
5789 | | - <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
5790 | | - {{ t('admin.settings.billingStatement.enabled') }} |
5791 | | - </label> |
5792 | | - <Toggle v-model="billingStatementForm.enabled" /> |
| 5776 | + <!-- Billing Statement Email --> |
| 5777 | + <div class="card"> |
| 5778 | + <div class="border-b border-gray-100 px-6 py-4 dark:border-dark-700"> |
| 5779 | + <h3 class="text-base font-medium text-gray-900 dark:text-white"> |
| 5780 | + {{ t('admin.settings.billingStatement.title') }} |
| 5781 | + </h3> |
| 5782 | + <p class="mt-1 text-sm text-gray-500 dark:text-gray-400"> |
| 5783 | + {{ t('admin.settings.billingStatement.description') }} |
| 5784 | + </p> |
5793 | 5785 | </div> |
5794 | | - <template v-if="billingStatementForm.enabled"> |
5795 | | - <div class="flex items-center justify-between border-t border-gray-100 pt-4 dark:border-dark-700"> |
5796 | | - <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
5797 | | - {{ t('admin.settings.billingStatement.dailyEnabled') }} |
5798 | | - </label> |
5799 | | - <Toggle v-model="billingStatementForm.daily_enabled" /> |
5800 | | - </div> |
5801 | | - <div v-if="billingStatementForm.daily_enabled"> |
5802 | | - <label class="input-label">{{ t('admin.settings.billingStatement.dailySchedule') }}</label> |
5803 | | - <input v-model="billingStatementForm.daily_schedule" type="text" class="input font-mono" placeholder="0 8 * * *" /> |
5804 | | - <p class="mt-1 text-xs text-gray-400">{{ t('admin.settings.billingStatement.scheduleHint') }}</p> |
5805 | | - </div> |
5806 | | - <div class="flex items-center justify-between border-t border-gray-100 pt-4 dark:border-dark-700"> |
5807 | | - <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
5808 | | - {{ t('admin.settings.billingStatement.weeklyEnabled') }} |
5809 | | - </label> |
5810 | | - <Toggle v-model="billingStatementForm.weekly_enabled" /> |
5811 | | - </div> |
5812 | | - <div v-if="billingStatementForm.weekly_enabled"> |
5813 | | - <label class="input-label">{{ t('admin.settings.billingStatement.weeklySchedule') }}</label> |
5814 | | - <input v-model="billingStatementForm.weekly_schedule" type="text" class="input font-mono" placeholder="0 8 * * 1" /> |
5815 | | - <p class="mt-1 text-xs text-gray-400">{{ t('admin.settings.billingStatement.scheduleHint') }}</p> |
5816 | | - </div> |
5817 | | - <div class="flex items-center justify-between border-t border-gray-100 pt-4 dark:border-dark-700"> |
| 5786 | + <div class="px-6 py-6 space-y-4"> |
| 5787 | + <div class="flex items-center justify-between"> |
5818 | 5788 | <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
5819 | | - {{ t('admin.settings.billingStatement.monthlyEnabled') }} |
| 5789 | + {{ t('admin.settings.billingStatement.enabled') }} |
5820 | 5790 | </label> |
5821 | | - <Toggle v-model="billingStatementForm.monthly_enabled" /> |
5822 | | - </div> |
5823 | | - <div v-if="billingStatementForm.monthly_enabled"> |
5824 | | - <label class="input-label">{{ t('admin.settings.billingStatement.monthlySchedule') }}</label> |
5825 | | - <input v-model="billingStatementForm.monthly_schedule" type="text" class="input font-mono" placeholder="0 8 1 * *" /> |
5826 | | - <p class="mt-1 text-xs text-gray-400">{{ t('admin.settings.billingStatement.scheduleHint') }}</p> |
| 5791 | + <Toggle v-model="billingStatementForm.enabled" /> |
5827 | 5792 | </div> |
5828 | | - </template> |
| 5793 | + <template v-if="billingStatementForm.enabled"> |
| 5794 | + <div class="flex items-center justify-between border-t border-gray-100 pt-4 dark:border-dark-700"> |
| 5795 | + <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
| 5796 | + {{ t('admin.settings.billingStatement.dailyEnabled') }} |
| 5797 | + </label> |
| 5798 | + <Toggle v-model="billingStatementForm.daily_enabled" /> |
| 5799 | + </div> |
| 5800 | + <div v-if="billingStatementForm.daily_enabled"> |
| 5801 | + <label class="input-label">{{ t('admin.settings.billingStatement.dailySchedule') }}</label> |
| 5802 | + <input v-model="billingStatementForm.daily_schedule" type="text" class="input font-mono" placeholder="0 8 * * *" /> |
| 5803 | + <p class="mt-1 text-xs text-gray-400">{{ t('admin.settings.billingStatement.scheduleHint') }}</p> |
| 5804 | + </div> |
| 5805 | + <div class="flex items-center justify-between border-t border-gray-100 pt-4 dark:border-dark-700"> |
| 5806 | + <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
| 5807 | + {{ t('admin.settings.billingStatement.weeklyEnabled') }} |
| 5808 | + </label> |
| 5809 | + <Toggle v-model="billingStatementForm.weekly_enabled" /> |
| 5810 | + </div> |
| 5811 | + <div v-if="billingStatementForm.weekly_enabled"> |
| 5812 | + <label class="input-label">{{ t('admin.settings.billingStatement.weeklySchedule') }}</label> |
| 5813 | + <input v-model="billingStatementForm.weekly_schedule" type="text" class="input font-mono" placeholder="0 8 * * 1" /> |
| 5814 | + <p class="mt-1 text-xs text-gray-400">{{ t('admin.settings.billingStatement.scheduleHint') }}</p> |
| 5815 | + </div> |
| 5816 | + <div class="flex items-center justify-between border-t border-gray-100 pt-4 dark:border-dark-700"> |
| 5817 | + <label class="mb-0 block text-sm font-medium text-gray-700 dark:text-gray-300"> |
| 5818 | + {{ t('admin.settings.billingStatement.monthlyEnabled') }} |
| 5819 | + </label> |
| 5820 | + <Toggle v-model="billingStatementForm.monthly_enabled" /> |
| 5821 | + </div> |
| 5822 | + <div v-if="billingStatementForm.monthly_enabled"> |
| 5823 | + <label class="input-label">{{ t('admin.settings.billingStatement.monthlySchedule') }}</label> |
| 5824 | + <input v-model="billingStatementForm.monthly_schedule" type="text" class="input font-mono" placeholder="0 8 1 * *" /> |
| 5825 | + <p class="mt-1 text-xs text-gray-400">{{ t('admin.settings.billingStatement.scheduleHint') }}</p> |
| 5826 | + </div> |
| 5827 | + </template> |
| 5828 | + </div> |
5829 | 5829 | </div> |
5830 | 5830 | </div> |
5831 | 5831 | <!-- /Tab: Email --> |
|
0 commit comments