Fixed the journal to display the brought-forward records with balance larger than zero in the accounting application.
This commit is contained in:
		| @@ -484,7 +484,7 @@ def journal(request, period): | ||||
|                 default=1 | ||||
|             ) * F("record__amount"), | ||||
|             filter=Q(record__transaction__date__lt=period.start)))\ | ||||
|         .filter(~Q(balance__gt=0)) | ||||
|         .filter(~Q(balance=0)) | ||||
|     debit_records = [Record( | ||||
|         transaction=Transaction(date=period.start), | ||||
|         account=x, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user