Class s.g.f.FiscalPrinterHelper:

Part of stoqlib.gui.fiscalprinter View In Hierarchy

No class docstring
Method __init__ Creates a new FiscalPrinterHelper object
Method open_till Opens the till
Method close_till Closes the till
Method needs_closing Checks if the last opened till was closed and asks the
Method create_coupon Creates a new fiscal coupon
def __init__(self, conn, parent):
Creates a new FiscalPrinterHelper object
Parametersconn
parenta gtk.Window subclass or None
def open_till(self):
Opens the till
def close_till(self, previous_day=False):
Closes the till
Parametersprevious_dayif the till wasn't closed a previous day
ReturnsTrue if the till was closed, otherwise False
def needs_closing(self):
Checks if the last opened till was closed and asks the user if he wants to close it
ReturnsTrue if the till was open and the user wants to close it, otherwise False
def create_coupon(self):
Creates a new fiscal coupon
Returnsa new coupon
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.