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:
@@ -0,0 +1,23 @@
|
||||
,,,,,,
|
||||
,,,,,,
|
||||
,,باقیمانده هفته قبل چپ,,LL,,200
|
||||
,,باقیمانده هفته قبل راست,,LR,,0
|
||||
,, هفته جدید چپ,,NL,,400
|
||||
,, هفته جدید راست,,NR,,500
|
||||
,, ماکسیمم تعادل ,,MX,,300
|
||||
,,,,,,
|
||||
,,,,,,
|
||||
,,مجموعه دست چپ,,SLT,"sum(LL,NL)",600
|
||||
,,مجموعه دست راست,,SRT,"sum(LR,NR)",500
|
||||
,,,,,,
|
||||
,,کمترین کل,,MinT,"min(SLT,SRT)",500
|
||||
,,,,,,
|
||||
,,باقیمانده هفته بعد چپ,,RNWL,SLT - MinT,100
|
||||
,,باقیمانده هفته بعد راست,,RNWR,SRT - MinT,0
|
||||
,,,,,,
|
||||
,,محاسبه مجدد ماکسیموم,,NMX,"min(MX,MinT)",300
|
||||
,,,,,,
|
||||
,,فلش چپ,,FL,SLT - MX - RNWL,200
|
||||
,, فلش راست,,FR,SRT - MX - RNWR,200
|
||||
,,,,,,
|
||||
,,کل تعادل,,TB,IF(MinT > MX) MX ELSE MinT,300
|
||||
|
Reference in New Issue
Block a user