Package Gnumed :: Package wxpython :: Package gui :: Module gmBillingPlugin
[frames] | no frames]

Source Code for Module Gnumed.wxpython.gui.gmBillingPlugin

 1  #====================================================================== 
 2  # GNUmed billing plugin 
 3  # 
 4  # @copyright: authors 
 5  #====================================================================== 
 6  __author__ = "Nico Latzer <nl@mnet-online.de>, Karsten Hilbert <Karsten.Hilbert@gmx.net>" 
 7  __license__ = 'GPL v2 or later (details at http://www.gnu.org)' 
 8   
 9  import logging 
10   
11  import wx 
12   
13  from Gnumed.wxpython import gmPlugin 
14  #from Gnumed.wxpython import gmBillItemWidgets 
15  from Gnumed.wxpython import gmBillingWidgets 
16   
17  _log = logging.getLogger('gm.billing') 
18   
19  #====================================================================== 
20 -class gmBillingPlugin(gmPlugin.cNotebookPlugin):
21 22 tab_name = _('Billing') 23
24 - def name(self):
26
27 - def GetWidget(self, parent):
28 self._widget = gmBillingWidgets.cBillingPluginPnl(parent, -1) 29 return self._widget
30
31 - def MenuInfo(self):
32 pass
33
34 - def can_receive_focus(self):
35 if not self._verify_patient_avail(): 36 return None 37 return 1
38 39 #====================================================================== 40 if __name__ == '__main__': 41 pass 42