14 lines
524 B
Python
14 lines
524 B
Python
class KasirDashboard(tk.Frame):
|
|
def __init__(self, parent, controller):
|
|
super().__init__(parent)
|
|
self.controller = controller
|
|
self.pack(fill="both", expand=True)
|
|
|
|
tk.Label(self, text="KASIR DASHBOARD", font=("Arial", 18, "bold")).pack(pady=20)
|
|
|
|
tk.Button(self, text="Proses Pembayaran", command=self.open_payment).pack(pady=10)
|
|
|
|
def open_payment(self):
|
|
from screens.payment_screen import PaymentScreen
|
|
PaymentScreen(self.controller.container, self.controller)
|