API reference¶
Subpackages¶
UI
: User Interface components and dialogs- Subpackages
- Submodules
- FabLabKasse.UI.ClientDialogCode module
- FabLabKasse.UI.CheckCartAfterImportDialogCode module
- FabLabKasse.UI.GUIHelper module
- FabLabKasse.UI.KeyboardDialogCode module
- FabLabKasse.UI.LoadFromMobileAppDialogCode module
- FabLabKasse.UI.MyQLineEdit module
- FabLabKasse.UI.CartTableView module
- FabLabKasse.UI.PaymentMethodDialogCode module
- FabLabKasse.UI.PayupCashDialogCode module
- FabLabKasse.UI.PayupManualDialogCode module
- FabLabKasse.UI.compile_all module
- Module contents
cash_payment
- Libraries
- FabLabKasse.scripts package
shopping
: backend for articles, payment etc.
gui¶
Main window
scriptHelper: various utilities¶
Module contents¶
Files that are here for legacy reasons¶
Some parts of FabLabKasse.shopping.backend.legacy_offline_kassenbuch
are in this folder for historical reasons
Kassenbuch¶
this file is here for legacy reasons
produkt¶
this file is here for legacy reasons
-
class
FabLabKasse.produkt.
Produkt
(plu, name, basiseinheit, basispreis, verkaufseinheiten=None, input_mode='DECIMAL')[source]¶ Bases:
object
-
add_verkaufseinheit
(verkaufseinheit, preis, basismenge=None, input_mode='DECIMAL')[source]¶ Fügt eine neue Verkaufseinheit zum Produkt hinzu.
Parameters: - verkaufseinheit (basestr) – ist ein string, welcher die Einheit beschreibt, z.B. “Platte (600x300mm)”
- preis – ist der Preis für _eine_ solche Einheit
- basismenge – (optional) ein Umrechnungsfaktor: eine Basisheinheit mal Basismenge entspricht einer Verkaufseinheit
- input_mode – (optional) kann DECIMAL, INTEGER oder MINUTES sein. Ändert nichts an dem gespeicherten Wert, dieser ist immer Decimal.
-