Release 1.0.1.4
1. Member Oustanding 2. Member Defaul List 3,, Member ledger 4. Transaction Delete
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -49,7 +49,7 @@ namespace SocietyToolboxAPI.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
oReponse.Status = "200";
|
oReponse.Status = "200";
|
||||||
oReponse.Message = "Success";
|
oReponse.Message = "Success + " + PropertyID.ToString() + " / " + BillMonth;
|
||||||
oReponse.Data = oData;
|
oReponse.Data = oData;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -210,6 +210,58 @@ namespace SocietyToolboxAPI.Controllers
|
|||||||
return oReponse;
|
return oReponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Route("api/[controller]/GeneratePropertyUnitLedger")]
|
||||||
|
[HttpGet]
|
||||||
|
public GeneratePropertyUnitLedger GeneratePropertyUnitLedger([FromQuery]int PropertyUnitID, [FromQuery]string FromDate, [FromQuery]string ToDate)
|
||||||
|
{
|
||||||
|
GeneratePropertyUnitLedger oReponse = new GeneratePropertyUnitLedger();
|
||||||
|
List<ProperUnitLedgerModel> oData = new List<ProperUnitLedgerModel>();
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
int i = 0;
|
||||||
|
dt = DBReports.GeneratePropertyUnitLedger(PropertyUnitID, FromDate,ToDate);
|
||||||
|
if (dt.Rows.Count > 0)
|
||||||
|
{
|
||||||
|
for (i = 0; i <= dt.Rows.Count - 1; i++)
|
||||||
|
{
|
||||||
|
oData.Add(new ProperUnitLedgerModel
|
||||||
|
{
|
||||||
|
DocDate = DateTime.Parse(dt.Rows[i]["DocDate"].ToString()),
|
||||||
|
DocNo = (dt.Rows[i]["DocName"].ToString()),
|
||||||
|
Remarks = (dt.Rows[i]["Remarks"].ToString()),
|
||||||
|
DebitAmount = (dt.Rows[i]["DebitAmount"].ToString()),
|
||||||
|
CreditAmount = (dt.Rows[i]["CreditAmount"].ToString()),
|
||||||
|
BalanceAmount = (dt.Rows[i]["BalanceAmount"].ToString()),
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
oReponse.Status = "200";
|
||||||
|
oReponse.Message = "Success";
|
||||||
|
oReponse.Data = oData;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
oReponse.Status = "200";
|
||||||
|
oReponse.Message = "Params " + PropertyUnitID.ToString() + " FrmDate-" + FromDate + " To Date-" + ToDate;
|
||||||
|
oReponse.Data = oData;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
oReponse.Status = "500";
|
||||||
|
oReponse.Message = ex.Message;
|
||||||
|
oReponse.Data = oData;
|
||||||
|
}
|
||||||
|
return oReponse;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
[Route("api/[controller]/GenerateReportsPDF")]
|
[Route("api/[controller]/GenerateReportsPDF")]
|
||||||
|
|||||||
@@ -28,6 +28,25 @@ namespace SocietyToolboxAPI.DBClass
|
|||||||
return dt;
|
return dt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static DataTable GeneratePropertyUnitLedger(int pIntPropertyUnitID, string pStrFromDate,string pStrToDate)
|
||||||
|
{
|
||||||
|
|
||||||
|
var varConnectionString = DBConnectionLayer.getConnectionString();
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
oLibDbCommon.ConnectionString = varConnectionString;
|
||||||
|
List<SqlParameter> parameterList = new List<SqlParameter>();
|
||||||
|
|
||||||
|
|
||||||
|
parameterList.Add(oLibDbCommon.GetParameter("FromDate", pStrFromDate));
|
||||||
|
parameterList.Add(oLibDbCommon.GetParameter("ToDate", pStrToDate));
|
||||||
|
parameterList.Add(oLibDbCommon.GetParameter("PropertyUnitID", pIntPropertyUnitID));
|
||||||
|
|
||||||
|
dt = oLibDbCommon.GetDataTable("sp_GeneratePropertyUnitLedger", parameterList, System.Data.CommandType.StoredProcedure);
|
||||||
|
|
||||||
|
|
||||||
|
return dt;
|
||||||
|
}
|
||||||
|
|
||||||
public static DataTable GenerateMemberMonthBillDetails(int pIntPropertyID,string pStrBillMonth)
|
public static DataTable GenerateMemberMonthBillDetails(int pIntPropertyID,string pStrBillMonth)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -55,4 +55,15 @@ namespace SocietyToolboxAPI.Models
|
|||||||
public string DemandBillmessage { get; set; }
|
public string DemandBillmessage { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
public class ProperUnitLedgerModel
|
||||||
|
{
|
||||||
|
public DateTime DocDate { get; set; }
|
||||||
|
public string DocNo { get; set; }
|
||||||
|
public string Remarks { get; set; }
|
||||||
|
public string DebitAmount { get; set; }
|
||||||
|
public string CreditAmount { get; set; }
|
||||||
|
public string BalanceAmount { get; set; }
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -96,6 +96,10 @@ namespace SocietyToolboxAPI.Models
|
|||||||
{
|
{
|
||||||
public IEnumerable<DeamndBillMessagesModel> Data { get; set; }
|
public IEnumerable<DeamndBillMessagesModel> Data { get; set; }
|
||||||
}
|
}
|
||||||
|
public class GeneratePropertyUnitLedger : Response
|
||||||
|
{
|
||||||
|
public IEnumerable<ProperUnitLedgerModel> Data { get; set; }
|
||||||
|
}
|
||||||
public class GenerateReport : Response
|
public class GenerateReport : Response
|
||||||
{
|
{
|
||||||
public IEnumerable<ReportModel> Data { get; set; }
|
public IEnumerable<ReportModel> Data { get; set; }
|
||||||
|
|||||||
@@ -2,8 +2,9 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||||
<AssemblyVersion>1.0.1.3</AssemblyVersion>
|
<AssemblyVersion>1.0.1.4</AssemblyVersion>
|
||||||
<Version>1.0.1.4</Version>
|
<Version>1.0.1.4</Version>
|
||||||
|
<Description>Release 2023-11-21</Description>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"targets": {
|
"targets": {
|
||||||
".NETCoreApp,Version=v2.0": {
|
".NETCoreApp,Version=v2.0": {
|
||||||
"SocietyToolboxAPI/1.0.1.3": {
|
"SocietyToolboxAPI/1.0.1.4": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"LibDbCommon": "1.0.9",
|
"LibDbCommon": "1.0.9",
|
||||||
"LibSecurity": "1.0.1",
|
"LibSecurity": "1.0.1",
|
||||||
@@ -4844,7 +4844,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libraries": {
|
"libraries": {
|
||||||
"SocietyToolboxAPI/1.0.1.3": {
|
"SocietyToolboxAPI/1.0.1.4": {
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"serviceable": false,
|
"serviceable": false,
|
||||||
"sha512": ""
|
"sha512": ""
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -13,11 +13,12 @@ using System.Reflection;
|
|||||||
|
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("SocietyToolboxAPI")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("SocietyToolboxAPI")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.1.3")]
|
[assembly: System.Reflection.AssemblyDescriptionAttribute("Release 2023-11-21")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.1.4")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.1.4")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.1.4")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("SocietyToolboxAPI")]
|
[assembly: System.Reflection.AssemblyProductAttribute("SocietyToolboxAPI")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("SocietyToolboxAPI")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("SocietyToolboxAPI")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.1.3")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.1.4")]
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
b65eeba43f1a7afaba74ebf72d0784d25ac3bdd9
|
3ff2f41574846e2df100f1e5d91f72f1ea411aa9
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user