Release 1.0.0.9
Endpoint - Bill Demand Messages End
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -110,6 +110,46 @@ namespace SocietyToolboxAPI.Controllers
|
|||||||
return oReponse;
|
return oReponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Route("api/[controller]/GenerateDemandbillMessages")]
|
||||||
|
[HttpGet]
|
||||||
|
public GenerateDemandbillMessages GenerateDemandbillMessages([FromQuery]int PropertyID, [FromQuery]string BillMonth)
|
||||||
|
{
|
||||||
|
GenerateDemandbillMessages oReponse = new GenerateDemandbillMessages();
|
||||||
|
List<DeamndBillMessagesModel> oData = new List<DeamndBillMessagesModel>();
|
||||||
|
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
int i = 0;
|
||||||
|
dt = DBReports.GenerateMemberMonthBillDetails(PropertyID, BillMonth);
|
||||||
|
if (dt.Rows.Count > 0)
|
||||||
|
{
|
||||||
|
for (i = 0; i <= dt.Rows.Count - 1; i++)
|
||||||
|
{
|
||||||
|
oData.Add(new DeamndBillMessagesModel
|
||||||
|
{
|
||||||
|
SNO = (dt.Rows[i]["SNO"].ToString()),
|
||||||
|
MobileNo = (dt.Rows[i]["MobileNo"].ToString()),
|
||||||
|
DemandBillmessage = (dt.Rows[i]["DemandBillmessage"].ToString()),
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
oReponse.Status = "200";
|
||||||
|
oReponse.Message = "Success";
|
||||||
|
oReponse.Data = oData;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
oReponse.Status = "200";
|
||||||
|
oReponse.Message = "Records 0";
|
||||||
|
oReponse.Data = oData;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return oReponse;
|
||||||
|
}
|
||||||
|
|
||||||
[Route("api/[controller]/GenerateReportsPDF")]
|
[Route("api/[controller]/GenerateReportsPDF")]
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
|
|||||||
@@ -47,5 +47,13 @@ namespace SocietyToolboxAPI.Models
|
|||||||
public decimal BillAmount { get; set; }
|
public decimal BillAmount { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
public class DeamndBillMessagesModel
|
||||||
|
{
|
||||||
|
public string SNO { get; set; }
|
||||||
|
public string MobileNo { get; set; }
|
||||||
|
public string DemandBillmessage { get; set; }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,6 +91,11 @@ namespace SocietyToolboxAPI.Models
|
|||||||
{
|
{
|
||||||
public IEnumerable<MemberBillDetailsModel> Data { get; set; }
|
public IEnumerable<MemberBillDetailsModel> Data { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class GenerateDemandbillMessages : Response
|
||||||
|
{
|
||||||
|
public IEnumerable<DeamndBillMessagesModel> Data { get; set; }
|
||||||
|
}
|
||||||
public class GenerateReport : Response
|
public class GenerateReport : Response
|
||||||
{
|
{
|
||||||
public IEnumerable<ReportModel> Data { get; set; }
|
public IEnumerable<ReportModel> Data { get; set; }
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netcoreapp2.0</TargetFramework>
|
<TargetFramework>netcoreapp2.0</TargetFramework>
|
||||||
|
<AssemblyVersion>1.0.0.10</AssemblyVersion>
|
||||||
|
<Version>1.0.0.9</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"targets": {
|
"targets": {
|
||||||
".NETCoreApp,Version=v2.0": {
|
".NETCoreApp,Version=v2.0": {
|
||||||
"SocietyToolboxAPI/1.0.0": {
|
"SocietyToolboxAPI/1.0.0.9": {
|
||||||
"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.0": {
|
"SocietyToolboxAPI/1.0.0.9": {
|
||||||
"type": "project",
|
"type": "project",
|
||||||
"serviceable": false,
|
"serviceable": false,
|
||||||
"sha512": ""
|
"sha512": ""
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -13,11 +13,11 @@ 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.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.10")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0.9")]
|
||||||
[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.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.10")]
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
d9ba1d9f3cf3391d1690be965cb68dd191ed11f0
|
de13f6016df01dbbb9c6a702786a4c76e56308eb
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"dgSpecHash": "A0pyYL+FJGWVhs+4pFdiWw6NjU4xVErwvcdpbYjtIf7Morgo7QeBv40JCCdc7sKTIr1yXe4LpOoQn7b5zbw31A==",
|
"dgSpecHash": "ko2UABROspewzhHhqTWtJzLFlZW2I0QfA3r537KGensTSC449x4QZhHzgYaCJXokgo6yWkacnEEqfd0us55svw==",
|
||||||
"success": true
|
"success": true
|
||||||
}
|
}
|
||||||
@@ -13527,7 +13527,7 @@
|
|||||||
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
|
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
|
||||||
},
|
},
|
||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0.9",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "D:\\Projects\\SocietyToolbox\\Development\\API\\SocietyToolboxAPI\\SocietyToolboxAPI\\SocietyToolboxAPI.csproj",
|
"projectUniqueName": "D:\\Projects\\SocietyToolbox\\Development\\API\\SocietyToolboxAPI\\SocietyToolboxAPI\\SocietyToolboxAPI.csproj",
|
||||||
"projectName": "SocietyToolboxAPI",
|
"projectName": "SocietyToolboxAPI",
|
||||||
|
|||||||
Reference in New Issue
Block a user