fix date in payment and imporove contract page.
This commit is contained in:
		
							parent
							
								
									af40e169ae
								
							
						
					
					
						commit
						204b0aa48e
					
				
					 14 changed files with 295 additions and 74 deletions
				
			
		| 
						 | 
				
			
			@ -33,7 +33,7 @@ class ProfileAdmin(admin.ModelAdmin):
 | 
			
		|||
 | 
			
		||||
@admin.register(Company)
 | 
			
		||||
class CompanyAdmin(admin.ModelAdmin):
 | 
			
		||||
    list_display = ['name', 'logo', 'signature', 'address', 'phone', 'broker']
 | 
			
		||||
    list_display = ['name', 'logo', 'signature', 'address', 'phone', 'broker', 'registration_number']
 | 
			
		||||
    prepopulated_fields = {'slug': ('name',)}
 | 
			
		||||
    search_fields = ['name', 'address', 'phone']
 | 
			
		||||
    list_filter = ['is_active', 'broker']
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue