Skip to content

Commit 098a516

Browse files
committed
Fix: use registration name for non individual
1 parent 1b49ab3 commit 098a516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DebitExpress.VatRelief/Utils/ExcelReconWriter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ private void WriteSalesData(IXLWorksheet sheet, Info info, List<Sales> sales)
101101
sheet.Cell("A2").Value = "RECONCILIATION OF LISTING FOR ENFORCEMENT";
102102
sheet.Cell("A6").Value = $"TIN : {info.Tin.Strip()}";
103103

104-
var name = $"{info.LastName}, {info.FirstName} {info.MiddleName}";
104+
var name = info.NonIndividual ? $"{info.LastName}, {info.FirstName} {info.MiddleName}" : info.RegName;
105105
sheet.Cell("A7").Value = $"OWNER'S NAME: {name}";
106106

107107
sheet.Cell("A8").Value = $"OWNER'S TRADE NAME : {info.TradeName}";

0 commit comments

Comments
 (0)