Class s.g.s.p.PaymentListSlave(BaseEditorSlave):

Part of stoqlib.gui.slaves.paymentslave View In Hierarchy

A basic payment list slave. Each element of this list is a payment method slave which hold informations about payments. Available slaves are: BillDataSlave and CheckDataSlave

Notes:

Method __init__ A base class for editor slaves inheritance
Method _remove_payment_slave Undocumented
Method _remove_last_payment_slave Undocumented
Method get_total_difference Get the difference for the total of check payments invoiced. If
Method update_view Undocumented
Method update_total_label Undocumented
Method get_children_number Undocumented
Method register_max_installments Undocumented
Method clear_list Undocumented
Method update_payment_list Undocumented
Method add_slave Undocumented
Method is_all_due_dates_valid Undocumented
Method on_add_button__clicked Undocumented
Method on_remove_button__clicked Undocumented

Inherited from BaseEditorSlave:

Method _setup_visual_mode Undocumented
Method create_model Creates a new model for the editor.
Method setup_proxies A subclass can override this
Method setup_slaves A subclass can override this
Method on_cancel This is a hook method which must be redefined when some
Method on_confirm This is a hook method which must be redefined when some
Method update_visual_mode This method must be overwritten on child if some addition task in
Method validate_confirm Must be redefined by childs and will perform some validations
def __init__(self, parent, conn, payment_method, total_amount):
A base class for editor slaves inheritance
Parametersconna connection
modelthe object model tied with the proxy widgets
visual_modedoes this slave must be opened in visual mode? if so, all the proxy widgets will be disable
def _remove_payment_slave(self, widget):
Undocumented
def _remove_last_payment_slave(self):
Undocumented
def get_total_difference(self):
Get the difference for the total of check payments invoiced. If the difference is zero the entire sale total value is invoiced. If the difference is greater than zero, there is an outstanding amount to invoice. If the value is negative, there is a overpaid value.
def update_view(self):
Undocumented
def update_total_label(self):
Undocumented
def get_children_number(self):
Undocumented
def register_max_installments(self, inst_number):
Undocumented
def clear_list(self):
Undocumented
def update_payment_list(self, installments_number):
Undocumented
def add_slave(self, slave=None):
Undocumented
def is_all_due_dates_valid(self):
Undocumented
def on_add_button__clicked(self, *args):
Undocumented
def on_remove_button__clicked(self, *args):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.