CreditNote: Split table into two tables
This commit is contained in:
		@@ -78,6 +78,8 @@
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        </tbody>
 | 
			
		||||
    </table>
 | 
			
		||||
    <table class="credit-sum">
 | 
			
		||||
        @{
 | 
			
		||||
            string FormatRow(string name, decimal? value, bool add = false, bool bold = false, bool subCat = false) {
 | 
			
		||||
                return $"<tr class=\"{(bold ? "large bold" : "")}\">"
 | 
			
		||||
@@ -89,7 +91,6 @@
 | 
			
		||||
                     + $"</tr>\n";
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        <thead><tr></tr></thead>
 | 
			
		||||
        <tbody style="break-inside: avoid;">
 | 
			
		||||
            @{ var sum = Model.Data.Rows.Sum(p => p.Amount); }
 | 
			
		||||
            @if (Model.Payment == null) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user