feat(sales-stats): пресет «Этот месяц» (с 1-го числа) и он же по умолчанию

Статистика по умолчанию открывается за текущий месяц с 1-го числа до сегодня
(month-to-date), а не за фиксированные 30 дней. Добавлена кнопка «Этот месяц»
в селектор периода; util getMonthToDateRange/isMonthToDate.
This commit is contained in:
c0mrade
2026-06-02 15:55:10 +03:00
parent 80ac63102b
commit 9a05f23a04
7 changed files with 50 additions and 24 deletions

View File

@@ -1282,6 +1282,7 @@
"title": "Sales Statistics",
"subtitle": "Revenue, trials, subscriptions, and renewals",
"period": {
"thisMonth": "This month",
"week": "7 days",
"month": "30 days",
"quarter": "90 days",

View File

@@ -1155,6 +1155,7 @@
"title": "آمار فروش",
"subtitle": "درآمد، آزمایشی، اشتراک و تمدید",
"period": {
"thisMonth": "این ماه",
"week": "۷ روز",
"month": "۳۰ روز",
"quarter": "۹۰ روز",

View File

@@ -1304,6 +1304,7 @@
"title": "Статистика продаж",
"subtitle": "Доход, триалы, подписки и продления",
"period": {
"thisMonth": "Этот месяц",
"week": "7 дней",
"month": "30 дней",
"quarter": "90 дней",

View File

@@ -1155,6 +1155,7 @@
"title": "销售统计",
"subtitle": "收入、试用、订阅和续订",
"period": {
"thisMonth": "本月",
"week": "7天",
"month": "30天",
"quarter": "90天",