002e99f6bf
- 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.
753 B
753 B
| 1 | |||||||
|---|---|---|---|---|---|---|---|
| 2 | |||||||
| 3 | باقیمانده هفته قبل چپ | LL | 200 | ||||
| 4 | باقیمانده هفته قبل راست | LR | 0 | ||||
| 5 | هفته جدید چپ | NL | 400 | ||||
| 6 | هفته جدید راست | NR | 500 | ||||
| 7 | ماکسیمم تعادل | MX | 300 | ||||
| 8 | |||||||
| 9 | |||||||
| 10 | مجموعه دست چپ | SLT | sum(LL,NL) | 600 | |||
| 11 | مجموعه دست راست | SRT | sum(LR,NR) | 500 | |||
| 12 | |||||||
| 13 | کمترین کل | MinT | min(SLT,SRT) | 500 | |||
| 14 | |||||||
| 15 | باقیمانده هفته بعد چپ | RNWL | SLT - MinT | 100 | |||
| 16 | باقیمانده هفته بعد راست | RNWR | SRT - MinT | 0 | |||
| 17 | |||||||
| 18 | محاسبه مجدد ماکسیموم | NMX | min(MX,MinT) | 300 | |||
| 19 | |||||||
| 20 | فلش چپ | FL | SLT - MX - RNWL | 200 | |||
| 21 | فلش راست | FR | SRT - MX - RNWR | 200 | |||
| 22 | |||||||
| 23 | کل تعادل | TB | IF(MinT > MX) MX ELSE MinT | 300 |