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
This commit is contained in:
Loretta 2026-06-11 17:40:42 +02:00
parent 15b991798c
commit 3809f53645
2 changed files with 21 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"ConnectionString": "Data Source=100.73.220.50;Initial Catalog=FruitBank_DEV;Integrated Security=False;Persist Security Info=False;User ID=sa;Password=v6f_?xNfg9N1;Trust Server Certificate=True",
"ConnectionString": "Data Source=100.73.220.50;Initial Catalog=FruitBank_PROD;Integrated Security=False;Persist Security Info=False;User ID=sa;Password=v6f_?xNfg9N1;Trust Server Certificate=True",
"DataProvider": "sqlserver",
"SQLCommandTimeout": null,
"WithNoLock": false

View File

@ -30,5 +30,25 @@
//}
]
}
},
"Ekaer": {
"Company": {
"Name": "FruitBank Kft.",
"TaxId": "14902170-2-13",
"CountryCode": "HU",
"PostalCode": "1068",
"City": "Budapest",
"Street": "Rippl-Rónai u. 18.",
"Phone": "301111111",
"Email": "info@fruitbank.hu"
},
"Thresholds": {
"WeightKg": 200,
"ValueHuf": 250000
},
"ExchangeRate": {
"EurHuf": 356
}
}
}