Removed gross price option of TME provider, as it has no effect anymore

This commit is contained in:
Jan Böhmer 2026-08-02 18:19:45 +02:00
parent 18e250abce
commit eafe83d294
2 changed files with 2 additions and 8 deletions

View file

@ -197,8 +197,8 @@ again, to establish a new connection.
The TME provider uses the API of [TME](https://www.tme.eu/) to search for parts and get shopping information from The TME provider uses the API of [TME](https://www.tme.eu/) to search for parts and get shopping information from
them. them.
To use it you have to create an account at TME and get an API key on the [TME API page](https://developers.tme.eu/en/). To use it you have to create an account at TME and get an API key on the [TME API page](https://developers.tme.eu/en/).
You have to generate a new anonymous key there and enter the key and secret in the Part-DB env configuration (see You have to generate a new application and new private key there and enter the key and secret in the Part-DB env configuration (see
below). below). Follow the instructions of [TME](https://developers.tme.eu/en/how-to-start/download) for more informations
The following env configuration options are available: The following env configuration options are available:
@ -208,8 +208,6 @@ The following env configuration options are available:
* `PROVIDER_TME_LANGUAGE`: The language you want to get the descriptions in (`en`, `de` and `pl`) (optional, * `PROVIDER_TME_LANGUAGE`: The language you want to get the descriptions in (`en`, `de` and `pl`) (optional,
default: `en`) default: `en`)
* `PROVIDER_TME_COUNTRY`: The country you want to get the prices for (optional, default: `DE`) * `PROVIDER_TME_COUNTRY`: The country you want to get the prices for (optional, default: `DE`)
* `PROVIDER_TME_GET_GROSS_PRICES`: If this is set to `1` the prices will be gross prices (including tax), otherwise net
prices (optional, default: `0`)
### Farnell / Element14 / Newark ### Farnell / Element14 / Newark

View file

@ -68,8 +68,4 @@ class TMESettings
envVar: "PROVIDER_TME_COUNTRY", envVarMode: EnvVarMode::OVERWRITE)] envVar: "PROVIDER_TME_COUNTRY", envVarMode: EnvVarMode::OVERWRITE)]
#[Assert\Country] #[Assert\Country]
public string $country = "DE"; public string $country = "DE";
#[SettingsParameter(label: new TM("settings.ips.tme.grossPrices"),
envVar: "bool:PROVIDER_TME_GET_GROSS_PRICES", envVarMode: EnvVarMode::OVERWRITE)]
public bool $grossPrices = true;
} }