Loading common/models.py +10 −4 Original line number Diff line number Diff line Loading @@ -85,19 +85,25 @@ class Settore(models.IntegerChoices): ricerca_tecnologia = 0 didattica = 1 funzionamento =2 class Tipologia(models.IntegerChoices): informatici = 0 largo_consumo = 1 altro = 2 class Aquisti(models.Model): datarichiesta= models.DateField(auto_now_add=True) datacreazione= models.DateField(auto_now_add=True) datainvio= models.DateField(auto_now_add=True,blank=True, null=True) descrizione = models.CharField( max_length=1000,blank=True, null=True) motivazioneuso = models.CharField( max_length=1000,blank=True, null=True) protocollo = models.CharField( max_length=1000,blank=True, null=True) idrichiedente = models.IntegerField(blank=True, null=True) idrup = models.IntegerField(blank=True, null=True) tipologia = models.CharField(max_length=1000, blank=True, null=True) tipologia = models.IntegerField(choices=Tipologia.choices,default=0) settore = models.IntegerField(choices=Settore.choices,default=0) importototale = models.DecimalField(max_digits=10, decimal_places=2,db_column='importoTotale', blank=True, null=True) convenzione = models.IntegerField(blank=True, null=True) nomeconvenzione = models.CharField(max_length=100, blank=True, null=True) motivazionenonconvenzione = models.CharField( max_length=1000,blank=True, null=True) mepa = models.IntegerField(blank=True, null=True) """ class StatoAcquisto(models.IntegerChoices): Loading Loading @@ -188,7 +194,7 @@ class Sede(models.Model): managed = True db_table = 'sede' STATOACQUISTO= ( FLUSSOACQUISTO= ( 'NUOVA', 'CREATA', 'INOLTRATA', Loading @@ -207,7 +213,7 @@ STATOACQUISTO= ( 'UA_RICHIESTA_NON_CONGRUA', 'UA_EMAIL_RICHIEDENTE_PRESA_IN_CARICO' ) STATOACQUISTO = list(zip(STATOACQUISTO, STATOACQUISTO)) FLUSSOACQUISTO = list(zip(FLUSSOACQUISTO, FLUSSOACQUISTO)) class Statoaquisto(xwf_models.WorkflowEnabled,models.Model): aquisti = models.OneToOneField( Aquisti, Loading utenti/templates/plain.html +228 −60 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
common/models.py +10 −4 Original line number Diff line number Diff line Loading @@ -85,19 +85,25 @@ class Settore(models.IntegerChoices): ricerca_tecnologia = 0 didattica = 1 funzionamento =2 class Tipologia(models.IntegerChoices): informatici = 0 largo_consumo = 1 altro = 2 class Aquisti(models.Model): datarichiesta= models.DateField(auto_now_add=True) datacreazione= models.DateField(auto_now_add=True) datainvio= models.DateField(auto_now_add=True,blank=True, null=True) descrizione = models.CharField( max_length=1000,blank=True, null=True) motivazioneuso = models.CharField( max_length=1000,blank=True, null=True) protocollo = models.CharField( max_length=1000,blank=True, null=True) idrichiedente = models.IntegerField(blank=True, null=True) idrup = models.IntegerField(blank=True, null=True) tipologia = models.CharField(max_length=1000, blank=True, null=True) tipologia = models.IntegerField(choices=Tipologia.choices,default=0) settore = models.IntegerField(choices=Settore.choices,default=0) importototale = models.DecimalField(max_digits=10, decimal_places=2,db_column='importoTotale', blank=True, null=True) convenzione = models.IntegerField(blank=True, null=True) nomeconvenzione = models.CharField(max_length=100, blank=True, null=True) motivazionenonconvenzione = models.CharField( max_length=1000,blank=True, null=True) mepa = models.IntegerField(blank=True, null=True) """ class StatoAcquisto(models.IntegerChoices): Loading Loading @@ -188,7 +194,7 @@ class Sede(models.Model): managed = True db_table = 'sede' STATOACQUISTO= ( FLUSSOACQUISTO= ( 'NUOVA', 'CREATA', 'INOLTRATA', Loading @@ -207,7 +213,7 @@ STATOACQUISTO= ( 'UA_RICHIESTA_NON_CONGRUA', 'UA_EMAIL_RICHIEDENTE_PRESA_IN_CARICO' ) STATOACQUISTO = list(zip(STATOACQUISTO, STATOACQUISTO)) FLUSSOACQUISTO = list(zip(FLUSSOACQUISTO, FLUSSOACQUISTO)) class Statoaquisto(xwf_models.WorkflowEnabled,models.Model): aquisti = models.OneToOneField( Aquisti, Loading
utenti/templates/plain.html +228 −60 File changed.Preview size limit exceeded, changes collapsed. Show changes