dev_chapal #3
|
@ -93,8 +93,8 @@ namespace HRM.DA
|
|||
internal static DataTable GetLayout(TransactionContext tc, DateTime dtSalaryMonth)
|
||||
{
|
||||
return tc.ExecuteDataTable(
|
||||
"SELECT ProductionBonusSetupID as id, DesignNo as design FROM ProductionBonusSetup where CreationDate >= %d",
|
||||
dtSalaryMonth);
|
||||
"SELECT ProductionBonusSetupID as id, DesignNo as design FROM ProductionBonusSetup where Salarymonth >= %d",
|
||||
GlobalFunctions.FirstDateOfMonth(dtSalaryMonth));
|
||||
}
|
||||
internal static DataTable GetLayoutMonthly(TransactionContext tc, DateTime dtSalaryMonth)
|
||||
{
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace HRM.DA
|
|||
oEmployee.TinNo = oReader.GetString("tinNo");
|
||||
oEmployee.CategoryID = oReader.GetInt32("categoryID").Value;
|
||||
oEmployee.ForeignExPat = oReader.GetBoolean("foreignExPat").Value;
|
||||
oEmployee.TaxCircle = (EnumTaxCircle)oReader.GetInt32("taxCircle", true, 0);
|
||||
//oEmployee.TaxCircle = (EnumTaxCircle)oReader.GetInt32("taxCircle", true, 0);
|
||||
//oEmployee.TaxCircle = oReader.GetString("taxCircle");
|
||||
oEmployee.IsConfirmed = oReader.GetBoolean("isConfirmed").Value;
|
||||
oEmployee.Status = (EnumEmployeeStatus)oReader.GetInt32("status").Value;
|
||||
|
|
Loading…
Reference in New Issue
Block a user