Implement Persian Date Conversion and Enhance User Network Information Service

- Added PersianDateTimeService for converting Gregorian dates to Persian format in the BackOffice frontend.
- Updated multiple frontend pages (Dashboard, UserPayouts, WorkerControl, UserNetworkInfo) to utilize the new Persian date service.
- Enhanced GetUserNetworkPositionDto with 28+ new fields for comprehensive user network data.
- Updated GetUserNetworkPositionQueryHandler to include new methods for calculating network statistics.
- Modified Protobuf messages to accommodate the new fields, increasing from 14 to 42.
- Refined week number calculation algorithm to ensure consistency across C# and SQL implementations.
- Created new CSV and Excel files for binary plan calculations.
- Ensured all changes are tested and validated for accuracy and performance.
This commit is contained in:
masoodafar-web
2025-12-20 06:15:59 +03:30
parent 13a3489765
commit 002e99f6bf
32 changed files with 10263 additions and 106 deletions
+9 -3
View File
@@ -4,7 +4,7 @@
[![Progress](https://img.shields.io/badge/Progress-85%25-blue)]()
[![MVP](https://img.shields.io/badge/MVP-100%25%20Complete-brightgreen)]()
## 📊 Project Status (2025-12-01)
## 📊 Project Status (2025-12-18)
**Overall Progress**: 85% Complete (7/10 phases)
**Production Readiness**: 95%
@@ -32,9 +32,15 @@
---
## 🚀 Recent Updates (2025-12-01)
## 🚀 Recent Updates (2025-12-18 / ۲۸ آذر)
### Email & SMS Notifications - COMPLETED
### Entity Configuration - Persian Encoding Fix
-**Geography Entities**: Country, State, City
-**Change**: All string columns now `NVARCHAR` with `Persian_100_CI_AI` collation
-**Migration**: `FixPersianCollation_Geography`
-**Fixes**: Persian characters display correctly in Geography tables
### Previous Updates (2025-12-01)
-**MailKit 4.14.1** for Email (SMTP with HTML templates)
-**Kavenegar 1.2.5** for SMS (Iranian SMS gateway)
- ✅ User.Email field added with migration