new card details option added
This commit is contained in:
		
					parent
					
						
							
								bd3c59eb3e
							
						
					
				
			
			
				commit
				
					
						ba8eaa2937
					
				
			
		
					 3 changed files with 49 additions and 17 deletions
				
			
		|  | @ -540,7 +540,7 @@ class SettingsView(LoginRequiredMixin, FormView): | |||
|         cards_list = [] | ||||
|         for order in hosting_orders: | ||||
|             credit_card_data = order.get_cc_data() | ||||
|             if credit_card_data: | ||||
|             if credit_card_data and (credit_card_data not in cards_list): | ||||
|                 cards_list.append(credit_card_data) | ||||
|         context.update({ | ||||
|             'cards_list': cards_list, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue