Class s.r.p.PaymentReceipt(BaseRMLReport):

Part of stoqlib.reporting.payment_receipt View In Hierarchy

Payment receipt This class builds the namespace used in template
Method __init__ Creates a new BaseRMLReport object
Method get_namespace Each child must to build your namespace and implement this

Inherited from BaseRMLReport:

Method save Build the report file properly
Method _complete_namespace Add common information in namespace
def __init__(self, filename, payments, purchase):
Creates a new BaseRMLReport object
Parametersfilenamefilename to save report as
template_nameoptional, name of the rml template to use
def get_namespace(self):
Each child must to build your namespace and implement this method to give us a common way to access it
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.