This commit is contained in:
2025-10-16 14:20:50 +08:00
parent 6d8862fdbd
commit ef3e447e5c

View File

@@ -339,6 +339,13 @@ public class AssignmentsController : ControllerBase
{
}
page.Data.ForEach(x =>
{
x.OpeningBalance = Math.Abs(x.OpeningBalance);
x.CostAmount = Math.Abs(x.CostAmount);
x.ClosingAmount = Math.Abs(x.ClosingAmount);
});
return page;
}
@@ -367,6 +374,13 @@ public class AssignmentsController : ControllerBase
catch (Exception)
{
}
page.Data.ForEach(x =>
{
x.OpeningBalance = Math.Abs(x.OpeningBalance);
x.CostAmount = Math.Abs(x.CostAmount);
x.ClosingAmount = Math.Abs(x.ClosingAmount);
});
return page;
}