Added match condition in general ledger report
This commit is contained in:
		
							parent
							
								
									d659343541
								
							
						
					
					
						commit
						4bbf91bea1
					
				| @ -73,6 +73,11 @@ def get_conditions(filters): | ||||
| 	if filters.get("voucher_no"): | ||||
| 		conditions.append("voucher_no=%(voucher_no)s") | ||||
| 		 | ||||
| 		 | ||||
| 	from webnotes.widgets.reportview import build_match_conditions | ||||
| 	match_conditions = build_match_conditions("GL Entry") | ||||
| 	if match_conditions: conditions.append(match_conditions) | ||||
| 	 | ||||
| 	return "and {}".format(" and ".join(conditions)) if conditions else "" | ||||
| 
 | ||||
| def get_data_with_opening_closing(filters, account_details, gl_entries): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user