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'),
 | 
			
		||||
        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(
 | 
			
		||||
        _('active'),
 | 
			
		||||
        default=True,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user