mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	add last_negative field to note
This commit is contained in:
		@@ -27,6 +27,12 @@ class Note(PolymorphicModel):
 | 
				
			|||||||
        help_text=_('in centimes, money credited for this instance'),
 | 
					        help_text=_('in centimes, money credited for this instance'),
 | 
				
			||||||
        default=0,
 | 
					        default=0,
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					    last_negative= models.DateTimeField(
 | 
				
			||||||
 | 
					        verbose_name=_('last negative date'),
 | 
				
			||||||
 | 
					        help_text=_('last time the balance was negative'),
 | 
				
			||||||
 | 
					        null=True,
 | 
				
			||||||
 | 
					        blank=True,
 | 
				
			||||||
 | 
					    )
 | 
				
			||||||
    is_active = models.BooleanField(
 | 
					    is_active = models.BooleanField(
 | 
				
			||||||
        _('active'),
 | 
					        _('active'),
 | 
				
			||||||
        default=True,
 | 
					        default=True,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user