Files
new-api/controller
CaIon eb169e74d7 feat(pricing): adjust synced upstream prices by the site exchange rate
Upstream price sync saved an upstream's price as it was, so a price
quoted in another currency had to be corrected by hand afterwards. Each
selected model now has a price adjustment: keep the source price, or
divide or multiply it by the site exchange rate. "Set selected prices"
applies one choice to every selected model. Fixed prices, ratios and the
prices inside billing expressions are adjusted; an expression that
cannot be adjusted automatically has to keep its source price or be
edited by hand. The confirmation dialog shows the adjustment, the final
saved price and the price in the site currency, with the exchange rate
in use.

"Show models with matching prices" also lists upstream prices that
already match the local ones, so they can be selected and adjusted too.
2026-10-22 16:23:19 +08:00
..
2025-03-15 19:10:12 +08:00
2026-08-01 23:19:01 +08:00