Beispiel #1
0
 def __init__(self, app, store=None):
     self._pages = {}
     self.accounts = AccountTree()
     AppWindow.__init__(self, app, store=store)
     self._tills_account = api.sysparam(self.store).TILLS_ACCOUNT
     self._imbalance_account = api.sysparam(self.store).IMBALANCE_ACCOUNT
     self._banks_account = api.sysparam(self.store).BANKS_ACCOUNT
Beispiel #2
0
    def __init__(self, app, store=None):
        self._suggested_client = None
        self._current_store = None
        self._trade = None
        self._trade_infobar = None
        self._trade_total_paid = 0

        AppWindow.__init__(self, app, store=store)

        self._delivery = None
        self.param = api.sysparam(self.store)
        self._coupon = None
        # Cant use self._coupon to verify if there is a sale, since
        # CONFIRM_SALES_ON_TILL doesnt create a coupon
        self._sale_started = False
        self._scale_settings = DeviceSettings.get_scale_settings(self.store)
Beispiel #3
0
 def __init__(self, app, store=None):
     self._calendar = CalendarView(self)
     AppWindow.__init__(self, app, store=store)
     self._setup_daemon()
Beispiel #4
0
 def __init__(self, options, shell, store=None):
     self.shell = shell
     app = LauncherApp(self, options)
     AppWindow.__init__(self, app, store=store)