Compare commits

..

6 Commits

Author SHA1 Message Date
Loretta e094552119 Merge branch 'FruitBank_v0.0.8.0' of https://git.aycode.com/Adam/FruitBank into FruitBank_v0.0.8.0 2026-06-16 12:04:07 +02:00
Loretta 9944ce96de Update DB connection, EKÁER mapping, and partner loading
- Switched appsettings.json connection string to FruitBank_DEV.
- FruitBankDataController: GetPartners now loads PartnerDepots; GetPartnerById uses new overload.
- Clarified in EKAER_TODO.md and README.md that carrierText is optional and left empty for outgoing shipments (customer is the carrier).
2026-06-16 12:02:19 +02:00
Loretta a2e43cb962 EKÁER docs: VTSZ grouping, archive rules, reopened issue
- Clarified docs-archive skill to use year-month buckets and archive only Closed entries.
- Reopened and updated the Product.Gtin/VTSZ separation issue in EKAER_ISSUES.md.
- Added new TODO (T-V9G3) for grouping tradeCardItems by VTSZ and resolving group names from Category, with requirements and affected code.
- Updated README to reflect VTSZ-based grouping and productName resolution.
2026-06-15 18:01:48 +02:00
Loretta 8e201d1c30 EKAER: add site config, outgoing support, refactor settings
- Added "Site" section to appsettings.json for company location.
- Increased EKAER threshold values; updated phone format.
- Refactored to use IEkaerSettings DI and registered in startup.
- GenerateEkaerXmlDocument now supports both incoming and outgoing (order) documents.
- Updated EKAER_TODO.md to reflect config and outgoing mapping changes.
2026-06-12 07:54:33 +02:00
Loretta 3809f53645 Update EKÁER config, thresholds, and value logic
- Switched DB connection to FruitBank_PROD in appsettings.json
- Added Ekaer config section: company info, thresholds, exchange rate
- Refactored CreateMissingEkaerHistories to use new settings, load related data, and apply exemption/threshold logic
- Updated controller DI to use EkaerSettings
- Centralized EKÁER config binding in PluginNopStartup
- Documented currency source issue and new value/category logic in EKAER_ISSUES.md and EKAER_TODO.md
2026-06-11 17:40:42 +02:00
Loretta 15b991798c Add EkaerHistory support: controller, DI, and DbTable
- Added SignalR endpoints for EkaerHistory CRUD in FruitBankDataController.
- Introduced EkaerHistoryDbTable with ordering and query helpers.
- Registered EkaerHistoryDbTable in DI and DbContext.
- Updated appsettings.json to comment out NopLogWriter config with explanation.
2026-06-10 16:24:58 +02:00
2 changed files with 32 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -21,12 +21,39 @@
{
"LogLevel": "Detail",
"LogWriterType": "FruitBank.Common.Server.Services.Loggers.ConsoleLogWriter, FruitBank.Common.Server, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
},
{
"LogLevel": "Detail",
"LogWriterType": "Mango.Nop.Services.Loggers.NopLogWriter, Mango.Nop.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
}
//A NopLogWriter DI-only writer (5 szolgáltatás-függőség) a config-úton nincs (AppType, LogLevel, string) ctor-a, MissingMethodException-t okozott.
//A DI-regisztrációja (PluginNopStartup: AddScoped<IAcLogWriterBase, NopLogWriter>) változatlanul él.
//,{
// "LogLevel": "Detail",
// "LogWriterType": "Mango.Nop.Services.Loggers.NopLogWriter, Mango.Nop.Services, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
//}
]
}
},
"Ekaer": {
"Company": {
"Name": "FruitBank Kft.",
"TaxId": "14902170-2-13",
"CountryCode": "HU",
"PostalCode": "1068",
"City": "Budapest",
"Street": "Rippl-Rónai u. 18.",
"Phone": "+36301111111",
"Email": "info@fruitbank.hu",
"Site": {
"PostalCode": "1239",
"City": "Budapest",
"Street": "Nagykőrösi út 353."
}
},
"Thresholds": {
"WeightKg": 500,
"ValueHuf": 1000000
},
"ExchangeRate": {
"EurHuf": 356
}
}
}