20260806-2930 Need to change title "Bonus & Other Allowance" to "Bonus" at fIncometaxCertificate #8

Merged
shamim merged 7 commits from dev_shahadat into devqc 2026-11-10 13:05:51 +06:00
Showing only changes of commit 9fd96662d7 - Show all commits

View File

@ -95,6 +95,9 @@ namespace Payroll.UI
}
// dt.Rows.Add("", "", "", "Total", nDebit.ToString(), nCredit.ToString());
// GlobalFunctions.ExportToExcel(dt, savefile.FileName, "Sheet1");
// ToCSV walks dt.Rows, so the sorted view has to be materialized into a table.
dt.DefaultView.Sort = "[GL Name] ASC";
dt = dt.DefaultView.ToTable();
GlobalFunctions.ToCSV(dt, savefile.FileName);
MessageBox.Show("Excel created at " + savefile.FileName,"Exported",MessageBoxButtons.OK,MessageBoxIcon.Information);
}