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:
parent
15b991798c
commit
3809f53645
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"ConnectionStrings": {
|
"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",
|
"DataProvider": "sqlserver",
|
||||||
"SQLCommandTimeout": null,
|
"SQLCommandTimeout": null,
|
||||||
"WithNoLock": false
|
"WithNoLock": false
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue