Skip to content

Commit

Permalink
Remove "Guthaben" (#265)
Browse files Browse the repository at this point in the history
Not used anyway, since the printer is broken
  • Loading branch information
soerface authored Jan 5, 2025
1 parent 94e3c15 commit a3d474f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 184 deletions.
172 changes: 0 additions & 172 deletions drinks_touch/screens/new_id_screen.py

This file was deleted.

13 changes: 1 addition & 12 deletions drinks_touch/screens/wait_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from elements import RefreshIcon, SvgIcon, Progress, Label, Button
from elements.hbox import HBox
from elements.vbox import VBox
from screens.new_id_screen import NewIDScreen
from screens.profile import ProfileScreen
from tasks import CheckForUpdatesTask
from .git.main_screen import GitMainScreen
Expand Down Expand Up @@ -62,17 +61,11 @@ def on_start(self, *args, **kwargs):
]
self.empty_info = [
Button(
pos=(30, 655),
pos=(115, 655),
size=45,
text="Benutzer",
on_click=self.set_member,
),
Button(
pos=(290, 690),
size=15,
text="Gutschein drucken",
on_click=self.btn_new_id,
),
]
self.processing = Label(text="Moment bitte...", size=40, pos=(80, 350))
self.processing.is_visible = False
Expand Down Expand Up @@ -229,10 +222,6 @@ def stat_drink(self):
def btn_reset(self):
self.reset()

def btn_new_id(self):
new_id = NewIDScreen()
ScreenManager.get_instance().set_active(new_id)

def reset(self, reset_drink=True):
if reset_drink:
DrinksManager.get_instance().set_selected_drink(None)
Expand Down

0 comments on commit a3d474f

Please sign in to comment.