Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign or rewrite: TotalPricesController use of a very long "Not in" #44

Open
tvup opened this issue Jan 9, 2023 · 0 comments
Open

Comments

@tvup
Copy link
Owner

tvup commented Jan 9, 2023

https://github.com/Tvup/poweruse/blob/caff030f5d3539942acbd3cd917912f741a1dccb/app/Http/Controllers/TotalPricesController.php#L32

This long "not in" is an exclusion of all those tariffs from gridoperators that are irrelevant for normal electricity consumers. Mainly something like A- and B- tariffs (only C-tariffs are relevant for the normal consumer).

The general purpose is to produce a list of nettarifs used for the normal electricity consumers, which the user can choose his "own" tariff from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant