def AliqIvaCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item3 = WorkZoneNotebook( parent, ID_DATIALLEG, wx.DefaultPosition, [200,160], 0 ) item2 = item3 item4 = wx.Panel( item3, -1 ) AliqIvaCardDatiFunc(item4, False) item3.AddPage( item4, "Dati" ) item5 = wx.Panel( item3, -1 ) AliqIvaCardAllegFunc(item5, False) item3.AddPage( item5, "Allegati" ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def StatPdcCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item3 = wx.StaticBox(parent, -1, "Ricerca sottoconti") item2 = wx.StaticBoxSizer(item3, wx.VERTICAL) item4 = UnoZeroCheckBox( parent, ID_HIDESEARCH, "Nascondi nelle ricerche i sottoconti con questo status", wx.DefaultPosition, wx.DefaultSize, 0) item4.SetName("hidesearch") item2.Add(item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.Add([20, 150], 0, wx.ALIGN_CENTER | wx.ALL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def PdcTipCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item2 = RadioBox( parent, ID_RADIOTIPO, "I sottoconti di questo tipo sono:", wx.DefaultPosition, wx.DefaultSize, ["Cassa","Banche","Clienti","Fornitori","Effetti","Altro"] , 1, wx.RA_SPECIFY_ROWS ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item4 = wx.StaticBox( parent, -1, "Range codici sottoconti" ) item3 = wx.StaticBoxSizer( item4, wx.VERTICAL ) item5 = LinkTable(parent, ID_CTRPDCRANGE ); item5.SetDataLink( bt.TABNAME_PDCRANGE, "id_pdcrange", None ) item3.Add( item5, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.Add( item3, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item0.Add( [ 20, 100 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def TraCurCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item3 = wx.StaticBox(parent, -1, "") item2 = wx.StaticBoxSizer(item3, wx.VERTICAL) item4 = CheckBox(parent, ID_ASKVET, "Gestione vettore", wx.DefaultPosition, wx.DefaultSize, 0) item4.SetName("askvet") item2.Add(item4, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.Add(item2, 0, wx.GROW | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.Add([20, 120], 0, wx.ALIGN_CENTER | wx.ALL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def TraCauCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item3 = wx.StaticBox(parent, -1, "") item2 = wx.StaticBoxSizer(item3, wx.VERTICAL) item4 = CheckBox(parent, ID_ESCLFTD, "Escludi il DDT dalla Fatturazione Differita", wx.DefaultPosition, wx.DefaultSize, 0) item4.SetName("esclftd") item2.Add(item4, 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.Add(item2, 0, wx.GROW | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.Add([20, 120], 0, wx.ALIGN_CENTER | wx.ALL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def ValuteCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent, -1) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item3 = wx.StaticBox( parent, -1, "Valore" ) item2 = wx.StaticBoxSizer( item3, wx.VERTICAL ) item4 = wx.BoxSizer( wx.HORIZONTAL ) item5 = wx.StaticText( parent, ID_LABELCAMBIO, "Cambio con 1 Euro:", wx.DefaultPosition, wx.DefaultSize, 0 ) item4.Add( item5, 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item6 = NumCtrl( parent, integerWidth=10, fractionWidth=6, allowNegative=False, groupDigits=True); item6.SetName("cambio") item4.Add( item6, 0, wx.ALIGN_RIGHT|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item2.Add( item4, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.TOP, 5 ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item0.Add( [ 20, 120 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def AgentiCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item3 = WorkZoneNotebook(parent, ID_WORKZONE, wx.DefaultPosition, [200, 160], 0) item2 = item3 item4 = wx.Panel(item3, -1) AgentiCardAnagFunc(item4, False) item3.AddPage(item4, "Dati anagrafici") item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.AddGrowableCol(0) item0.AddGrowableRow(1) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def SpeIncCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent, -1) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item3 = wx.StaticBox( parent, -1, "Spesa" ) item2 = wx.StaticBoxSizer( item3, wx.VERTICAL ) item4 = wx.FlexGridSizer( 0, 1, 0, 0 ) item5 = wx.FlexGridSizer( 0, 2, 0, 0 ) item6 = wx.FlexGridSizer( 0, 1, 0, 0 ) item7 = wx.StaticText( parent, ID_TEXT, "Importo spesa:", wx.DefaultPosition, wx.DefaultSize, 0 ) item6.Add( item7, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.RIGHT|wx.TOP, 5 ) item8 = NumCtrl( parent, integerWidth=12, fractionWidth=bt.VALINT_DECIMALS, allowNegative=False, groupDigits=False); item8.SetName("importo") item6.Add( item8, 0, wx.ALIGN_CENTER_VERTICAL, 5 ) item6.AddGrowableCol( 0 ) item5.Add( item6, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL, 5 ) item9 = wx.FlexGridSizer( 0, 1, 0, 0 ) item10 = wx.StaticText( parent, ID_TEXT, "Aliquota IVA:", wx.DefaultPosition, wx.DefaultSize, 0 ) item9.Add( item10, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.TOP, 5 ) item11 = LinkTable(parent, ID_MODPAG ); item11.SetDataLink( bt.TABNAME_ALIQIVA, "id_aliqiva", AliqIvaDialog ); item11.SetObligatory(True) item9.Add( item11, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.BOTTOM, 5 ) item9.AddGrowableCol( 0 ) item5.Add( item9, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL, 5 ) item5.AddGrowableCol( 0 ) item5.AddGrowableCol( 1 ) item4.Add( item5, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL, 5 ) item4.AddGrowableCol( 0 ) item2.Add( item4, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.Add( [ 20, 110 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def TipiEventoCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = wx.FlexGridSizer(0, 1, 0, 0) item4 = wx.StaticBox(parent, -1, "Notificare a:") item3 = wx.StaticBoxSizer(item4, wx.VERTICAL) item5 = wx.FlexGridSizer(0, 2, 0, 0) item6 = wx.StaticText(parent, ID_TEXT, "Indirizzo email:", wx.DefaultPosition, wx.DefaultSize, 0) item5.Add( item6, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item7 = MailEntryCtrl(parent, ID_TEXTCTRL, "", wx.DefaultPosition, [300, -1], 0) item7.SetName("notify_emailto") item5.Add(item7, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item8 = wx.StaticText(parent, ID_TEXT, "Utente XMPP:", wx.DefaultPosition, wx.DefaultSize, 0) item5.Add(item8, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item9 = XmppEntryCtrl(parent, ID_TEXTCTRL, "", wx.DefaultPosition, [300, -1], 0) item9.SetName("notify_xmppto") item5.Add( item9, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item5.AddGrowableCol(1) item3.Add(item5, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item2.Add(item3, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2.Add([20, 160], 0, wx.ALIGN_CENTER | wx.ALL, 5) item2.AddGrowableCol(0) item0.Add(item2, 0, wx.GROW, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def StatArtCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item3 = wx.StaticBox( parent, -1, "Ricerca prodotti" ) item2 = wx.StaticBoxSizer( item3, wx.VERTICAL ) item4 = UnoZeroCheckBox( parent, ID_HIDESEARCH, "Nascondi nelle ricerche i prodotti con questo status", wx.DefaultPosition, wx.DefaultSize, 0 ) item4.SetName( "hidesearch" ) item2.Add( item4, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item6 = wx.StaticBox( parent, -1, "Non consentire l'inserimento dei prodotti con questo stato:" ) item5 = wx.StaticBoxSizer( item6, wx.VERTICAL ) item7 = UnoZeroCheckBox( parent, ID_NOMOV_ORDFOR, "Negli ordini a fornitore", wx.DefaultPosition, wx.DefaultSize, 0 ) item7.SetName( "nomov_ordfor" ) item5.Add( item7, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item8 = UnoZeroCheckBox( parent, ID_NOMOV_CARFOR, "Nei carichi da fornitore", wx.DefaultPosition, wx.DefaultSize, 0 ) item8.SetName( "nomov_carfor" ) item5.Add( item8, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item9 = UnoZeroCheckBox( parent, ID_NOMOV_RESFOR, "Nei resi a fornitore", wx.DefaultPosition, wx.DefaultSize, 0 ) item9.SetName( "nomov_resfor" ) item5.Add( item9, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item10 = wx.StaticLine( parent, ID_LINE, wx.DefaultPosition, [20,-1], wx.LI_HORIZONTAL ) item5.Add( item10, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item11 = UnoZeroCheckBox( parent, ID_NOMOV_ORDCLI, "Negli ordini da cliente", wx.DefaultPosition, wx.DefaultSize, 0 ) item11.SetName( "nomov_ordcli" ) item5.Add( item11, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item12 = UnoZeroCheckBox( parent, ID_NOMOV_VENCLI, "Nelle vendite a cliente", wx.DefaultPosition, wx.DefaultSize, 0 ) item12.SetName( "nomov_vencli" ) item5.Add( item12, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item13 = UnoZeroCheckBox( parent, ID_NOMOV_RESCLI, "Nei resi da cliente", wx.DefaultPosition, wx.DefaultSize, 0 ) item13.SetName( "nomov_rescli" ) item5.Add( item13, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item0.Add( item5, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.RIGHT|wx.BOTTOM, 5 ) item0.Add( [ 20, 120 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def StatForCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item3 = wx.StaticBox(parent, -1, "Ricerca fornitori") item2 = wx.StaticBoxSizer(item3, wx.VERTICAL) item4 = UnoZeroCheckBox( parent, ID_HIDESEARCH, "Nascondi nelle ricerche i fornitori con questo status", wx.DefaultPosition, wx.DefaultSize, 0) item4.SetName("hidesearch") item2.Add(item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item6 = wx.StaticBox( parent, -1, "Non consentire l'uso dei fornitori con questo stato:") item5 = wx.StaticBoxSizer(item6, wx.VERTICAL) item7 = UnoZeroCheckBox(parent, ID_NOMOV_ORDFOR, "Nei documenti di tipo ordine", wx.DefaultPosition, wx.DefaultSize, 0) item7.SetName("nomov_ordfor") item5.Add(item7, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item8 = UnoZeroCheckBox(parent, ID_NOMOV_CARFOR, "Nei documenti di carico", wx.DefaultPosition, wx.DefaultSize, 0) item8.SetName("nomov_carfor") item5.Add( item8, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item9 = UnoZeroCheckBox(parent, ID_NOMOV_RESFOR, "Nei documenti reso", wx.DefaultPosition, wx.DefaultSize, 0) item9.SetName("nomov_resfor") item5.Add( item9, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.Add( item5, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.Add([20, 120], 0, wx.ALIGN_CENTER | wx.ALL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def MagazzCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = wx.FlexGridSizer(0, 2, 0, 0) item3 = wx.StaticText(parent, ID_TEXT, "Anagrafica associata:", wx.DefaultPosition, wx.DefaultSize, 0) item2.Add(item3, 0, wx.ALIGN_CENTER | wx.ALL, 5) item4 = LinkTable(parent, ID_PDC) item4.SetDataLink(bt.TABNAME_PDC, "id_pdc", PdcDialog) item4.SetObligatory(True) item2.Add(item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2.AddGrowableCol(1) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item5 = wx.FlexGridSizer(0, 1, 0, 0) item6 = wx.StaticText( parent, ID_TEXT, "Configurazione Registri Iva per causale con indirizzamento dinamico del registro", wx.DefaultPosition, wx.DefaultSize, 0) item6.SetForegroundColour(wx.BLUE) item5.Add(item6, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.TOP, 5) item7 = wx.Panel(parent, ID_PANGRIDRIM, wx.DefaultPosition, [200, 160], 0) item5.Add( item7, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item5.AddGrowableCol(0) item5.AddGrowableRow(1) item0.Add(item5, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def ScadGrpCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent, -1) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.Add( [ 20, 160 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def CatCliCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item3 = WorkZoneNotebook( parent, ID_WORKZONE, wx.DefaultPosition, [200,160], 0 ) item2 = item3 item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def BilMasCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item2 = RadioBox( parent, ID_RADIOBIL, "Tipologia:", wx.DefaultPosition, [350,-1], ["Stato Patrimoniale","Conto Economico","Conti d'Ordine"] , 1, wx.RA_SPECIFY_ROWS ) item2.SetName( "tipo" ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item0.Add( [ 20, 120 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def TipListCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = RadioBox( parent, ID_TIPOPREZZO, "Determinazione del prezzo", wx.DefaultPosition, wx.DefaultSize, [ "Listino 1", "Listino 2", "Listino 3", "Listino 4", "Listino 5", "Listino 6", "Listino 7", "Listino 8", "Listino 9" ], 1, wx.RA_SPECIFY_COLS) item2.SetName("tipoprezzo") item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def CauContabCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item3 = WorkZoneNotebook(parent, ID_NOTEBOOK, wx.DefaultPosition, [200, 160], 0) item2 = item3 item4 = wx.Panel(item3, -1) Setup1Func(item4, False) item3.AddPage(item4, "Setup causale") item5 = wx.Panel(item3, -1) Setup2Func(item5, False) item3.AddPage(item5, "Scadenzario e Sottoconti preferiti") item6 = wx.Panel(item3, -1) Setup3Func(item6, False) item3.AddPage(item6, "Eventi") item0.Add( item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.AddGrowableCol(0) item0.AddGrowableRow(1) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def RegIvaCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = wx.FlexGridSizer(1, 0, 0, 0) item3 = RadioBox(parent, ID_RADIOBOX, "Tipologia", wx.DefaultPosition, wx.DefaultSize, ["Acquisti", "Vendite", "Corrispettivi"], 1, wx.RA_SPECIFY_ROWS) item3.SetName("tipo") item2.Add(item3, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item5 = wx.StaticBox(parent, -1, "") item4 = wx.StaticBoxSizer(item5, wx.VERTICAL) item6 = CheckBox(parent, ID_CHECKBOX, "Riepilogativo", wx.DefaultPosition, wx.DefaultSize, 0) item6.SetName("rieponly") item4.Add(item6, 0, wx.ALIGN_CENTER | wx.TOP, 15) item2.Add( item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP | wx.BOTTOM, 5) item8 = wx.StaticBox(parent, -1, "Numero protocollo") item7 = wx.StaticBoxSizer(item8, wx.VERTICAL) item9 = UnoZeroCheckBox(parent, ID_NOPROT, "Consenti protocollo nullo", wx.DefaultPosition, wx.DefaultSize, 0) item9.SetName("noprot") item7.Add(item9, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2.Add( item7, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP | wx.BOTTOM, 5) item2.AddGrowableCol(1) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item11 = wx.StaticBox(parent, -1, "Modalità di stampa del registro") item10 = wx.StaticBoxSizer(item11, wx.VERTICAL) item12 = UnoZeroCheckBox( parent, ID_STACOSRIC, "Stampa i costi/ricavi insieme alle aliquote (SOLO IN GESTIONE SEMPLIFICATA)", wx.DefaultPosition, wx.DefaultSize, 0) item12.SetName("stacosric") item10.Add( item12, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.Add( item10, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item14 = wx.StaticBox(parent, -1, "Ultima stampa fiscale") item13 = wx.StaticBoxSizer(item14, wx.VERTICAL) item15 = wx.FlexGridSizer(1, 0, 0, 0) item16 = wx.StaticText(parent, ID_TEXT, "Num. protocollo:", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_RIGHT) item15.Add(item16, 0, wx.ALIGN_CENTER | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item17 = NumCtrl(parent, integerWidth=6, allowNegative=False, groupDigits=False) item17.SetName("lastprtnum") item15.Add( item17, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item18 = wx.StaticText(parent, ID_TEXT, "Data:", wx.DefaultPosition, wx.DefaultSize, wx.ALIGN_RIGHT) item15.Add(item18, 0, wx.ALIGN_CENTER | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item19 = DateCtrl(parent, ID_LASTPRTDAT, "", wx.DefaultPosition, [80, -1], 0) item19.SetName("lastprtdat") item15.Add(item19, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.BOTTOM, 5) item13.Add(item15, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.Add( item13, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item21 = wx.StaticBox(parent, -1, "Definizione del numero documento in stampa:") item20 = wx.StaticBoxSizer(item21, wx.VERTICAL) item22 = wx.FlexGridSizer(1, 0, 0, 0) item23 = wx.StaticText(parent, ID_TEXT, "Aggiungi sezione: /", wx.DefaultPosition, wx.DefaultSize, 0) item22.Add(item23, 0, wx.ALIGN_CENTER | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item24 = TextCtrl(parent, ID_TEXTCTRL, "", wx.DefaultPosition, [50, -1], 0) item24.SetName("numdocsez") item22.Add(item24, 0, wx.ALIGN_CENTER | wx.RIGHT | wx.TOP | wx.BOTTOM, 5) item25 = UnoZeroCheckBox(parent, ID_NUMDOCANN, "Aggiungi /ANNO", wx.DefaultPosition, wx.DefaultSize, 0) item25.SetName("numdocann") item22.Add(item25, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item26 = wx.StaticText(parent, ID_TEXT, "Esempio:", wx.DefaultPosition, wx.DefaultSize, 0) item22.Add(item26, 0, wx.ALIGN_CENTER | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item27 = wx.StaticText(parent, ID_NUMDOCTEST, "-", wx.DefaultPosition, wx.DefaultSize, 0) item27.SetFont(wx.Font(10, wx.SCRIPT, wx.NORMAL, wx.BOLD)) item27.SetName("_numdoctest") item22.Add(item27, 0, wx.ALIGN_CENTER | wx.ALL, 5) item22.AddGrowableCol(2) item20.Add(item22, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.Add( item20, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item29 = wx.StaticBox(parent, -1, "Stampa registro") item28 = wx.StaticBoxSizer(item29, wx.VERTICAL) item30 = wx.FlexGridSizer(0, 3, 0, 0) item31 = wx.StaticText(parent, ID_TEXT, "Intestazione registro", wx.DefaultPosition, wx.DefaultSize, 0) item30.Add( item31, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.TOP, 5) item32 = wx.StaticText(parent, ID_TEXT, "Anno", wx.DefaultPosition, wx.DefaultSize, 0) item30.Add(item32, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP, 5) item33 = wx.StaticText(parent, ID_TEXT, "Pag.", wx.DefaultPosition, wx.DefaultSize, 0) item30.Add(item33, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP, 5) item34 = TextCtrl(parent, ID_TEXTCTRL, "", wx.DefaultPosition, [400, -1], 0) item34.SetName("intestaz") item30.Add( item34, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item35 = NumCtrl(parent, integerWidth=4, allowNegative=False, groupDigits=False) item35.SetName("intanno") item30.Add(item35, 0, wx.ALIGN_CENTER | wx.RIGHT | wx.BOTTOM, 5) item36 = NumCtrl(parent, integerWidth=4, allowNegative=False, groupDigits=True) item36.SetName("intpag") item30.Add(item36, 0, wx.ALIGN_CENTER | wx.RIGHT | wx.BOTTOM, 5) item30.AddGrowableCol(0) item28.Add(item30, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.Add( item28, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def StatiFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = wx.FlexGridSizer(0, 2, 0, 0) item3 = wx.StaticText(parent, ID_TEXT, "Descrizione inglese:", wx.DefaultPosition, wx.DefaultSize, 0) item2.Add( item3, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item4 = TextCtrl(parent, ID_DESCENG, "", wx.DefaultPosition, [80, -1], 0) item4.SetName("desceng") item2.Add(item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item5 = wx.StaticText(parent, ID_TEXT, "Prefisso VAT Numbers:", wx.DefaultPosition, wx.DefaultSize, 0) item2.Add(item5, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item6 = TextCtrl(parent, ID_VATPREFIX, "", wx.DefaultPosition, [40, -1], 0) item6.SetName("vatprefix") item2.Add(item6, 0, wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item7 = wx.StaticText(parent, ID_TEXT, "Cod. Unico:", wx.DefaultPosition, wx.DefaultSize, 0) item2.Add(item7, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item8 = TextCtrl(parent, ID_CODUNICO, "", wx.DefaultPosition, [40, -1], 0) item8.SetName("codunico") item2.Add(item8, 0, wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item2.Add([20, 20], 0, wx.ALIGN_CENTER, 5) item9 = UnoZeroCheckBox(parent, ID_IS_CEE, "Stato membro CEE", wx.DefaultPosition, wx.DefaultSize, 0) item9.SetName("is_cee") item2.Add(item9, 0, wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item2.Add([20, 20], 0, wx.ALIGN_CENTER, 5) item10 = UnoZeroCheckBox(parent, ID_IS_BLACKLISTED, "Stato presente in blacklist acquisti/vendite", wx.DefaultPosition, wx.DefaultSize, 0) item10.SetName("is_blacklisted") item2.Add(item10, 0, wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item2.AddGrowableCol(1) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.Add([20, 150], 0, wx.ALIGN_CENTER | wx.ALL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def GruPrezCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = wx.FlexGridSizer(1, 0, 0, 0) item3 = TipoCalcCPRadioBox( parent, ID_TIPOCP, "Tipo di calcolo per la determinazione del costo di acquisto o del prezzo di vendita al pubblico", wx.DefaultPosition, wx.DefaultSize, [ "Nessun calcolo: il costo ed il prezzo sono indipendenti", "Determina il prezzo al pubblico con queste ricariche sul costo di acquisto", "Determina il costo di acquisto con questi sconti sul prezzo di vendita al pubblico" ], 1, wx.RA_SPECIFY_COLS) item2.Add(item3, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item5 = wx.StaticBox(parent, -1, "Percentuali di calcolo del costo/prezzo") item4 = wx.StaticBoxSizer(item5, wx.VERTICAL) item6 = wx.FlexGridSizer(0, 2, 0, 0) item7 = wx.StaticText(parent, ID_TEXT, "Ricariche:", wx.DefaultPosition, wx.DefaultSize, 0) item6.Add(item7, 0, wx.ALIGN_RIGHT | wx.ALIGN_BOTTOM | wx.TOP | wx.BOTTOM, 5) item8 = wx.BoxSizer(wx.HORIZONTAL) item9 = wx.BoxSizer(wx.VERTICAL) item10 = wx.StaticText(parent, ID_TEXT, "%1", wx.DefaultPosition, wx.DefaultSize, 0) item10.SetName("labric1") item9.Add(item10, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item11 = bt.GetMagRicNumCtrl(parent, ID_PRCCOSRIC1, 'prccosric1') item9.Add(item11, 0, wx.ALIGN_CENTER | wx.LEFT | wx.BOTTOM, 5) item8.Add(item9, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item12 = wx.BoxSizer(wx.VERTICAL) item13 = wx.StaticText(parent, ID_TEXT, "%2", wx.DefaultPosition, wx.DefaultSize, 0) item13.SetName("labric2") item12.Add(item13, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item14 = bt.GetMagRicNumCtrl(parent, ID_PRCCOSRIC2, 'prccosric2') item12.Add(item14, 0, wx.ALIGN_CENTER | wx.LEFT | wx.BOTTOM, 5) item8.Add(item12, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item15 = wx.BoxSizer(wx.VERTICAL) item16 = wx.StaticText(parent, ID_TEXT, "%3", wx.DefaultPosition, wx.DefaultSize, 0) item16.SetName("labric3") item15.Add(item16, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item17 = bt.GetMagRicNumCtrl(parent, ID_PRCCOSRIC3, 'prccosric3') item15.Add(item17, 0, wx.ALIGN_CENTER | wx.LEFT | wx.BOTTOM, 5) item8.Add(item15, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item18 = wx.BoxSizer(wx.VERTICAL) item19 = wx.StaticText(parent, ID_TEXT, "%4", wx.DefaultPosition, wx.DefaultSize, 0) item19.SetName("labric4") item18.Add(item19, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item20 = bt.GetMagRicNumCtrl(parent, ID_PRCCOSRIC4, 'prccosric4') item18.Add(item20, 0, wx.ALIGN_CENTER | wx.LEFT | wx.BOTTOM, 5) item8.Add(item18, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item21 = wx.BoxSizer(wx.VERTICAL) item22 = wx.StaticText(parent, ID_TEXT, "%5", wx.DefaultPosition, wx.DefaultSize, 0) item22.SetName("labric5") item21.Add(item22, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item23 = bt.GetMagRicNumCtrl(parent, ID_PRCCOSRIC5, 'prccosric5') item21.Add(item23, 0, wx.ALIGN_CENTER | wx.LEFT | wx.BOTTOM, 5) item8.Add(item21, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item24 = wx.BoxSizer(wx.VERTICAL) item25 = wx.StaticText(parent, ID_TEXT, "%6", wx.DefaultPosition, wx.DefaultSize, 0) item25.SetName("labric6") item24.Add(item25, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item26 = bt.GetMagRicNumCtrl(parent, ID_PRCCOSRIC6, 'prccosric6') item24.Add(item26, 0, wx.ALIGN_CENTER | wx.LEFT | wx.BOTTOM, 5) item8.Add(item24, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item6.Add(item8, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item27 = wx.StaticText(parent, ID_TEXT, "Sconti:", wx.DefaultPosition, wx.DefaultSize, 0) item6.Add(item27, 0, wx.ALIGN_RIGHT | wx.ALIGN_BOTTOM | wx.TOP | wx.BOTTOM, 5) item28 = wx.BoxSizer(wx.HORIZONTAL) item29 = bt.GetMagScoNumCtrl(parent, ID_PRCPRESCO1, 'prcpresco1') item28.Add(item29, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item30 = bt.GetMagScoNumCtrl(parent, ID_PRCPRESCO2, 'prcpresco2') item28.Add(item30, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item31 = bt.GetMagScoNumCtrl(parent, ID_PRCPRESCO3, 'prcpresco3') item28.Add(item31, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item32 = bt.GetMagScoNumCtrl(parent, ID_PRCPRESCO4, 'prcpresco4') item28.Add(item32, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item33 = bt.GetMagScoNumCtrl(parent, ID_PRCPRESCO5, 'prcpresco5') item28.Add(item33, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item34 = bt.GetMagScoNumCtrl(parent, ID_PRCPRESCO6, 'prcpresco6') item28.Add(item34, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item6.Add(item28, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item4.Add(item6, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item2.Add( item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP | wx.BOTTOM, 5) item2.AddGrowableCol(0) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item35 = wx.FlexGridSizer(0, 2, 0, 0) item36 = wx.FlexGridSizer(0, 1, 0, 0) item37 = TipoCalcoloRadioBox( parent, ID_TIPOLIS, "Tipo di calcolo dei listini di vendita", wx.DefaultPosition, wx.DefaultSize, [ "Nessun calcolo: i listini sono manuali", "Applica la ricarica al costo di acquisto", "Applica lo sconto al prezzo al pubblico", "Applica condizioni diverse x ogni listino" ], 1, wx.RA_SPECIFY_COLS) item37.SetName("calclis") item36.Add(item37, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item39 = wx.StaticBox(parent, -1, "Comportamenti particolari") item38 = wx.StaticBoxSizer(item39, wx.VERTICAL) item40 = UnoZeroCheckBox(parent, ID_NOSCONTI, "Inibizione scontistiche", wx.DefaultPosition, wx.DefaultSize, 0) item40.SetName("nosconti") item38.Add( item40, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item41 = wx.StaticText(parent, ID_TEXT, "(tranne griglie e promozioni)", wx.DefaultPosition, wx.DefaultSize, 0) item38.Add( item41, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item36.Add( item38, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item36.AddGrowableCol(0) item35.Add(item36, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item43 = wx.StaticBox(parent, -1, "Percentuali di calcolo dei listini di vendita") item42 = wx.StaticBoxSizer(item43, wx.VERTICAL) item44 = wx.FlexGridSizer(0, 2, 0, 0) item45 = wx.StaticText(parent, ID_TEXT, "Usa parametri del gruppo prezzi:", wx.DefaultPosition, [160, -1], wx.ALIGN_RIGHT) item44.Add( item45, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item46 = LinkTableGruPrez(parent, ID_LISDAGP, 'id_lisdagp') item44.Add( item46, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item44.AddGrowableCol(1) item42.Add(item44, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item47 = wx.StaticLine(parent, ID_LINE, wx.DefaultPosition, [20, -1], wx.LI_HORIZONTAL) item42.Add( item47, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item48 = wx.FlexGridSizer(0, 10, 0, 0) item49 = wx.StaticText(parent, ID_TEXT, "", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item49, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP, 5) item50 = wx.StaticText(parent, ID_TEXT, "Listino 1", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item50, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item51 = wx.StaticText(parent, ID_TEXT, "Listino 2", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item51, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item52 = wx.StaticText(parent, ID_TEXT, "Listino 3", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item52, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item53 = wx.StaticText(parent, ID_TEXT, "Listino 4", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item53, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item54 = wx.StaticText(parent, ID_TEXT, "Listino 5", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item54, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item55 = wx.StaticText(parent, ID_TEXT, "Listino 6", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item55, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item56 = wx.StaticText(parent, ID_TEXT, "Listino 7", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item56, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item57 = wx.StaticText(parent, ID_TEXT, "Listino 8", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item57, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item58 = wx.StaticText(parent, ID_TEXT, "Listino 9", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item58, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP, 5) item59 = wx.StaticText(parent, ID_TEXT, "Ricarica da costo acquisto:", wx.DefaultPosition, [160, -1], wx.ALIGN_RIGHT) item48.Add( item59, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item60 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC1, 'prclisric1') item48.Add(item60, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item61 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC2, 'prclisric2') item48.Add(item61, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item62 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC3, 'prclisric3') item48.Add(item62, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item63 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC4, 'prclisric4') item48.Add(item63, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item64 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC5, 'prclisric5') item48.Add(item64, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item65 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC6, 'prclisric6') item48.Add(item65, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item66 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC7, 'prclisric7') item48.Add(item66, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item67 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC8, 'prclisric8') item48.Add(item67, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item68 = bt.GetMagRicNumCtrl(parent, ID_PRCLISRIC9, 'prclisric9') item48.Add(item68, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item69 = wx.StaticText(parent, ID_TEXT, "Sconto da prezzo al pubblico:", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item69, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item70 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO1, 'prclissco1') item48.Add(item70, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item71 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO2, 'prclissco2') item48.Add(item71, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item72 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO3, 'prclissco3') item48.Add(item72, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item73 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO4, 'prclissco4') item48.Add(item73, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item74 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO5, 'prclissco5') item48.Add(item74, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item75 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO6, 'prclissco6') item48.Add(item75, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item76 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO7, 'prclissco7') item48.Add(item76, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item77 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO8, 'prclissco8') item48.Add(item77, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item78 = bt.GetMagScoNumCtrl(parent, ID_PRCLISSCO9, 'prclissco9') item48.Add(item78, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item79 = wx.StaticText(parent, ID_TEXT, "Applica variazione%:", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item79, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item80 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR1, 'prclisvar1') item48.Add(item80, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item81 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR2, 'prclisvar2') item48.Add(item81, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item82 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR3, 'prclisvar3') item48.Add(item82, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item83 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR4, 'prclisvar4') item48.Add(item83, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item84 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR5, 'prclisvar5') item48.Add(item84, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item85 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR6, 'prclisvar6') item48.Add(item85, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item86 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR7, 'prclisvar7') item48.Add(item86, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item87 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR8, 'prclisvar8') item48.Add(item87, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item88 = bt.GetPerGenNumCtrl(parent, ID_PRCLISVAR9, 'prclisvar9') item48.Add(item88, 0, wx.ALIGN_RIGHT | wx.ALIGN_CENTER_VERTICAL | wx.BOTTOM, 5) item89 = wx.StaticText(parent, ID_TEXT, "Rispetto a:", wx.DefaultPosition, wx.DefaultSize, 0) item48.Add(item89, 0, wx.ALIGN_RIGHT | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item90 = ListinoVariabileChoice1(parent, ID_PRCLISBAS1, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P."], 0) item90.SetName("prclisbas1") item48.Add(item90, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item91 = ListinoVariabileChoice2(parent, ID_PRCLISBAS2, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P.", "L.1"], 0) item91.SetName("prclisbas2") item48.Add(item91, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item92 = ListinoVariabileChoice3(parent, ID_PRCLISBAS3, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P.", "L.1", "L.2"], 0) item92.SetName("prclisbas3") item48.Add(item92, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item93 = ListinoVariabileChoice4(parent, ID_PRCLISBAS4, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P.", "L.1", "L.2", "L.3"], 0) item93.SetName("prclisbas4") item48.Add(item93, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item94 = ListinoVariabileChoice5( parent, ID_PRCLISBAS5, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P.", "L.1", "L.2", "L.3", "L.4"], 0) item94.SetName("prclisbas5") item48.Add(item94, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item95 = ListinoVariabileChoice6( parent, ID_PRCLISBAS6, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P", "L.1", "L.2", "L.3", "L.4", "L.5"], 0) item95.SetName("prclisbas6") item48.Add(item95, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item96 = ListinoVariabileChoice7( parent, ID_PRCLISBAS7, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P.", "L.1", "L.2", "L.3", "L.4", "L.5", "L.6"], 0) item96.SetName("prclisbas7") item48.Add(item96, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item97 = ListinoVariabileChoice8( parent, ID_PRCLISBAS8, wx.DefaultPosition, wx.DefaultSize, ["-", "Cst", "P.P.", "L.1", "L.2", "L.3", "L.4", "L.5", "L.6", "L.7"], 0) item97.SetName("prclisbas8") item48.Add(item97, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item98 = ListinoVariabileChoice9( parent, ID_PRCLISBAS9, wx.DefaultPosition, wx.DefaultSize, [ "-", "Cst", "P.P.", "L.1", "L.2", "L.3", "L.4", "L.5", "L.6", "L.7", "L.8" ], 0) item98.SetName("prclisbas9") item48.Add(item98, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.BOTTOM, 5) item48.AddGrowableCol(1) item48.AddGrowableCol(2) item48.AddGrowableCol(3) item48.AddGrowableCol(4) item48.AddGrowableCol(5) item48.AddGrowableCol(6) item48.AddGrowableCol(7) item48.AddGrowableCol(8) item48.AddGrowableCol(9) item42.Add(item48, 0, wx.ALIGN_CENTER, 5) item35.Add(item42, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item35.AddGrowableCol(1) item0.Add(item35, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.AddGrowableCol(0) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0
def BilCeeCardFunc( parent, call_fit = True, set_sizer = True ): item0 = wx.FlexGridSizer( 0, 1, 0, 0 ) item1 = AnagCardPanel(parent) item0.Add( item1, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item2 = wx.FlexGridSizer( 1, 0, 0, 0 ) item3 = wx.StaticText( parent, ID_TEXT, "Sezione:", wx.DefaultPosition, wx.DefaultSize, 0 ) item2.Add( item3, 0, wx.ALIGN_RIGHT|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.TOP|wx.BOTTOM, 5 ) item4 = TextCtrl( parent, ID_SEZIONE, "", wx.DefaultPosition, [20,-1], 0 ) item4.SetFont( wx.Font( 10, wx.MODERN, wx.NORMAL, wx.NORMAL ) ) item4.SetName( "sezione" ) item2.Add( item4, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item5 = wx.StaticText( parent, ID_TEXT, "Voce:", wx.DefaultPosition, wx.DefaultSize, 0 ) item2.Add( item5, 0, wx.ALIGN_RIGHT|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.TOP|wx.BOTTOM, 5 ) item6 = TextCtrl( parent, ID_VOCE, "", wx.DefaultPosition, [20,-1], 0 ) item6.SetFont( wx.Font( 10, wx.MODERN, wx.NORMAL, wx.NORMAL ) ) item6.SetName( "voce" ) item2.Add( item6, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item7 = wx.StaticText( parent, ID_TEXT, "Capitolo:", wx.DefaultPosition, wx.DefaultSize, 0 ) item2.Add( item7, 0, wx.ALIGN_RIGHT|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.TOP|wx.BOTTOM, 5 ) item8 = TextCtrl( parent, ID_CAPITOLO, "", wx.DefaultPosition, [40,-1], 0 ) item8.SetFont( wx.Font( 10, wx.MODERN, wx.NORMAL, wx.NORMAL ) ) item8.SetName( "capitolo" ) item2.Add( item8, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item9 = wx.StaticText( parent, ID_TEXT, "Dettaglio:", wx.DefaultPosition, wx.DefaultSize, 0 ) item2.Add( item9, 0, wx.ALIGN_RIGHT|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.TOP|wx.BOTTOM, 5 ) item10 = TextCtrl( parent, ID_DETTAGLIO, "", wx.DefaultPosition, [30,-1], 0 ) item10.SetFont( wx.Font( 10, wx.MODERN, wx.NORMAL, wx.NORMAL ) ) item10.SetName( "dettaglio" ) item2.Add( item10, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item11 = wx.StaticText( parent, ID_TEXT, "Sub-dett.:", wx.DefaultPosition, wx.DefaultSize, 0 ) item2.Add( item11, 0, wx.ALIGN_RIGHT|wx.ALIGN_CENTER_VERTICAL|wx.LEFT|wx.TOP|wx.BOTTOM, 5 ) item12 = TextCtrl_LC( parent, ID_SUBDETT, "", wx.DefaultPosition, [20,-1], 0 ) item12.SetFont( wx.Font( 10, wx.MODERN, wx.NORMAL, wx.NORMAL ) ) item12.SetName( "subdett" ) item2.Add( item12, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 ) item13 = UnoZeroCheckBox( parent, ID_SELECTABLE, "Selezionabile dal sottoconto", wx.DefaultPosition, wx.DefaultSize, 0 ) item13.SetName( "selectable" ) item2.Add( item13, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL|wx.RIGHT|wx.TOP|wx.BOTTOM, 5 ) item0.Add( item2, 0, wx.GROW|wx.ALIGN_CENTER_VERTICAL, 5 ) item0.Add( [ 20, 230 ] , 0, wx.ALIGN_CENTER|wx.ALL, 5 ) item0.AddGrowableCol( 0 ) if set_sizer == True: parent.SetSizer( item0 ) if call_fit == True: item0.SetSizeHints( parent ) return item0
def FtDifCardFunc(parent, call_fit=True, set_sizer=True): item0 = wx.FlexGridSizer(0, 1, 0, 0) item1 = AnagCardPanel(parent, -1) item0.Add(item1, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item2 = wx.FlexGridSizer(1, 0, 0, 0) item3 = wx.FlexGridSizer(0, 1, 0, 0) item5 = wx.StaticBox(parent, -1, "Impostazioni di default") item4 = wx.StaticBoxSizer(item5, wx.VERTICAL) item6 = wx.FlexGridSizer(0, 2, 0, 0) item7 = wx.StaticText(parent, ID_TEXT, "Documento da generare:", wx.DefaultPosition, wx.DefaultSize, 0) item6.Add(item7, 0, wx.ALIGN_CENTER | wx.ALL, 5) item8 = LinkTable(parent, ID_DOCGEN) item8.SetDataLink(bt.TABNAME_CFGMAGDOC, "id_docgen", CfgCauMagDialog) item6.Add(item8, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item6.AddGrowableCol(1) item4.Add(item6, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item9 = CheckBox( parent, ID_NODESRIF, "Non generare la riga di riferimento al documento raggruppato", wx.DefaultPosition, wx.DefaultSize, 0) item9.SetName("f_nodesrif") item4.Add( item9, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item3.Add(item4, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT, 5) item11 = wx.StaticBox(parent, -1, "Genera un diverso documento a fronti di:") item10 = wx.StaticBoxSizer(item11, wx.VERTICAL) item12 = wx.FlexGridSizer(0, 1, 0, 0) item13 = CheckBox(parent, ID_SEPALL, "Ogni documento esaminato", wx.DefaultPosition, wx.DefaultSize, 0) item13.SetName("f_sepdoc") item12.Add( item13, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item14 = CheckBox(parent, ID_SEPMP, "Ogni diversa mod.pagamento riscontrata", wx.DefaultPosition, wx.DefaultSize, 0) item14.SetName("f_sepmp") item12.Add( item14, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item15 = CheckBox(parent, ID_SEPDEST, "Ogni diverso destinatario riscontrato", wx.DefaultPosition, wx.DefaultSize, 0) item15.SetName("f_sepdest") item12.Add( item15, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item12.AddGrowableCol(0) item10.Add(item12, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item3.Add(item10, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP, 5) item17 = wx.StaticBox(parent, -1, "Aggiornamenti sui documenti raggruppati:") item16 = wx.StaticBoxSizer(item17, wx.VERTICAL) item18 = wx.FlexGridSizer(0, 1, 0, 0) item19 = CheckBox(parent, ID_SETACQ, "contrassegna come Acquisito", wx.DefaultPosition, wx.DefaultSize, 0) item19.SetName("f_setacq") item18.Add( item19, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item20 = CheckBox(parent, ID_SETANN, "contrassegna come Annullato", wx.DefaultPosition, wx.DefaultSize, 0) item20.SetName("f_setann") item18.Add( item20, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item21 = CheckBox(parent, ID_SETGEN, "contrassegna come generato da raggruppamento", wx.DefaultPosition, wx.DefaultSize, 0) item21.SetName("f_setgen") item18.Add( item21, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item18.AddGrowableCol(0) item16.Add(item18, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item3.Add( item16, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.RIGHT | wx.TOP | wx.BOTTOM, 5) item3.AddGrowableCol(0) item3.AddGrowableRow(0) item3.AddGrowableRow(1) item3.AddGrowableRow(2) item2.Add(item3, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT, 5) item22 = wx.FlexGridSizer(0, 1, 0, 0) item24 = wx.StaticBox(parent, -1, "Documenti da raggruppare") item23 = wx.StaticBoxSizer(item24, wx.VERTICAL) item25 = wx.CheckListBox(parent, ID_DOCS, wx.DefaultPosition, [240, 190], [], wx.LB_SINGLE) item23.Add( item25, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item26 = CheckBox(parent, ID_SOLOSTA, "Considera solo documenti stampati", wx.DefaultPosition, wx.DefaultSize, 0) item26.SetName("f_solosta") item23.Add(item26, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT, 5) item22.Add( item23, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item22.AddGrowableCol(0) item22.AddGrowableRow(1) item2.Add(item22, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item2.AddGrowableCol(1) item2.AddGrowableRow(0) item0.Add(item2, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item27 = wx.FlexGridSizer(1, 0, 0, 0) item28 = RadioBox(parent, ID_F_CHGMAG, "Magazzino", wx.DefaultPosition, wx.DefaultSize, [ "Mantieni il magazzino del documento", "Fai confluire i documenti in un unico magazzino" ], 1, wx.RA_SPECIFY_COLS) item28.SetName("f_chgmag") item27.Add( item28, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item30 = wx.StaticBox( parent, -1, "Tutti i documenti generati confluiranno indistintamente sul magazzino:" ) item29 = wx.StaticBoxSizer(item30, wx.VERTICAL) item29.Add([20, 15], 0, wx.ALIGN_CENTER, 5) item31 = wx.FlexGridSizer(1, 0, 0, 0) item32 = wx.StaticText(parent, ID_TEXT, "Documenti generati sul magazzino:", wx.DefaultPosition, wx.DefaultSize, 0) item31.Add(item32, 0, wx.ALIGN_CENTER | wx.LEFT | wx.TOP | wx.BOTTOM, 5) item33 = LinkTable(parent, ID_CHGMAG) item33.SetDataLink(bt.TABNAME_MAGAZZ, "id_chgmag") item31.Add(item33, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5) item31.AddGrowableCol(1) item29.Add(item31, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item27.Add( item29, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL | wx.LEFT | wx.RIGHT | wx.BOTTOM, 5) item27.AddGrowableCol(1) item0.Add(item27, 0, wx.GROW | wx.ALIGN_CENTER_VERTICAL, 5) item0.AddGrowableCol(0) item0.AddGrowableRow(1) if set_sizer == True: parent.SetSizer(item0) if call_fit == True: item0.SetSizeHints(parent) return item0