def __init__(self, *args, **kwds): from Gnumed.wxpython.gmEncounterWidgets import cEncounterPhraseWheel from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel from Gnumed.wxpython.gmBillingWidgets import cBillablePhraseWheel # begin wxGlade: wxgBillItemEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_billable = cBillablePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_encounter = cEncounterPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_date = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_count = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_amount = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._LBL_currency = wx.StaticText(self, -1, _("EUR")) self._TCTRL_factor = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmBillingWidgets # begin wxGlade: wxgBillingPluginPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._CHBOX_show_non_invoiced_only = wx.CheckBox( self, -1, _("Show non-invoiced only")) self._PNL_bill_items = gmBillingWidgets.cPersonBillItemsManagerPnl( self, -1, style=wx.NO_BORDER | wx.TAB_TRAVERSAL) self._PRW_billable = gmBillingWidgets.cBillablePhraseWheel( self, -1, "", style=wx.NO_BORDER) self._TCTRL_factor = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_details = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._BTN_insert_item = wx.Button(self, -1, _("&Insert"), style=wx.BU_EXACTFIT) self.__szr_add_item_staticbox = wx.StaticBox( self, -1, _("Add billing item to current encounter")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_non_invoiced_only_checkbox_toggled, self._CHBOX_show_non_invoiced_only) self.Bind(wx.EVT_BUTTON, self._on_insert_bill_item_button_pressed, self._BTN_insert_item)
def __init__(self, *args, **kwds): # begin wxGlade: wxgBillingPluginPnl.__init__ kwds["style"] = kwds.get("style", 0) | wx.BORDER_NONE | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._CHBOX_show_non_invoiced_only = wx.CheckBox(self, wx.ID_ANY, _("Show non-invoiced only")) self._PNL_bill_items = cPersonBillItemsManagerPnl(self, wx.ID_ANY, style=wx.BORDER_NONE | wx.TAB_TRAVERSAL) self._PRW_billable = cBillablePhraseWheel(self, wx.ID_ANY, "") self._TCTRL_factor = wx.TextCtrl(self, wx.ID_ANY, "") self._TCTRL_details = wx.TextCtrl(self, wx.ID_ANY, "") self._BTN_insert_item = wx.Button(self, wx.ID_ANY, _("&Insert"), style=wx.BU_EXACTFIT) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_non_invoiced_only_checkbox_toggled, self._CHBOX_show_non_invoiced_only) self.Bind(wx.EVT_BUTTON, self._on_insert_bill_item_button_pressed, self._BTN_insert_item)
def __init__(self, *args, **kwds): from Gnumed.wxpython import gmBillingWidgets # begin wxGlade: wxgBillingPluginPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._CHBOX_show_non_invoiced_only = wx.CheckBox(self, -1, _("Show non-invoiced only")) self._PNL_bill_items = gmBillingWidgets.cPersonBillItemsManagerPnl(self, -1, style=wx.NO_BORDER | wx.TAB_TRAVERSAL) self._PRW_billable = gmBillingWidgets.cBillablePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_factor = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_details = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._BTN_insert_item = wx.Button(self, -1, _("&Insert"), style=wx.BU_EXACTFIT) self.__szr_add_item_staticbox = wx.StaticBox(self, -1, _("Add billing item to current encounter")) self.__set_properties() self.__do_layout() self.Bind(wx.EVT_CHECKBOX, self._on_non_invoiced_only_checkbox_toggled, self._CHBOX_show_non_invoiced_only) self.Bind(wx.EVT_BUTTON, self._on_insert_bill_item_button_pressed, self._BTN_insert_item)
def __init__(self, *args, **kwds): from Gnumed.wxpython.gmEncounterWidgets import cEncounterPhraseWheel from Gnumed.wxpython.gmDateTimeInput import cDateInputPhraseWheel from Gnumed.wxpython.gmBillingWidgets import cBillablePhraseWheel # begin wxGlade: wxgBillItemEAPnl.__init__ kwds["style"] = wx.NO_BORDER | wx.TAB_TRAVERSAL wx.ScrolledWindow.__init__(self, *args, **kwds) self._PRW_billable = cBillablePhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_encounter = cEncounterPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._PRW_date = cDateInputPhraseWheel(self, -1, "", style=wx.NO_BORDER) self._TCTRL_count = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_amount = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._LBL_currency = wx.StaticText(self, -1, _("EUR")) self._TCTRL_factor = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self._TCTRL_comment = wx.TextCtrl(self, -1, "", style=wx.NO_BORDER) self.__set_properties() self.__do_layout()