mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-03 18:43:04 +00:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			update_sub
			...
			subscripti
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					500af2f73a | 
@@ -881,6 +881,7 @@ class Selling(models.Model):
 | 
			
		||||
            if (
 | 
			
		||||
                self.product
 | 
			
		||||
                and self.product.id == settings.SITH_PRODUCT_SUBSCRIPTION_ONE_SEMESTER
 | 
			
		||||
                and self.counter.type == "EBOUTIC"
 | 
			
		||||
            ):
 | 
			
		||||
                sub = Subscription(
 | 
			
		||||
                    member=user,
 | 
			
		||||
@@ -904,6 +905,7 @@ class Selling(models.Model):
 | 
			
		||||
            elif (
 | 
			
		||||
                self.product
 | 
			
		||||
                and self.product.id == settings.SITH_PRODUCT_SUBSCRIPTION_TWO_SEMESTERS
 | 
			
		||||
                and self.counter.type == "EBOUTIC"
 | 
			
		||||
            ):
 | 
			
		||||
                sub = Subscription(
 | 
			
		||||
                    member=user,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user