Append One time charge/Recurring only for generic payments
This commit is contained in:
		
					parent
					
						
							
								dd82bdc9da
							
						
					
				
			
			
				commit
				
					
						d6e4a86724
					
				
			
		
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -99,10 +99,10 @@ class HostingOrder(AssignPermissionsMixin, models.Model):
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
        if self.generic_payment_id is not None:
 | 
					        if self.generic_payment_id is not None:
 | 
				
			||||||
            hosting_order_str += " - Generic Payment"
 | 
					            hosting_order_str += " - Generic Payment"
 | 
				
			||||||
        if self.stripe_charge_id is not None:
 | 
					            if self.stripe_charge_id is not None:
 | 
				
			||||||
            hosting_order_str += " - One time charge"
 | 
					                hosting_order_str += " - One time charge"
 | 
				
			||||||
        else:
 | 
					            else:
 | 
				
			||||||
            hosting_order_str += " - Recurring"
 | 
					                hosting_order_str += " - Recurring"
 | 
				
			||||||
        return hosting_order_str
 | 
					        return hosting_order_str
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @cached_property
 | 
					    @cached_property
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue