...
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="Service">
|
<Reference Include="Service">
|
||||||
<HintPath>..\..\Dlls\Service.dll</HintPath>
|
<HintPath>..\..\..\LocalGit\TaxPayerTools\Service\bin\Debug\Service.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@@ -44,18 +44,20 @@ namespace Back.Services
|
|||||||
//-----------------------
|
//-----------------------
|
||||||
return await invok.Select(s=>new RCustomer()
|
return await invok.Select(s=>new RCustomer()
|
||||||
{
|
{
|
||||||
// Address = s.Address,
|
|
||||||
CustomerType = s.CustomerType.GetEnumDisplayName(),
|
Address = s.Address,
|
||||||
|
CustomerTypeTitle = s.CustomerType.GetEnumDisplayName(),
|
||||||
EconomicCode = s.EconomicCode,
|
EconomicCode = s.EconomicCode,
|
||||||
// Email =s.Email,
|
Email = s.Email,
|
||||||
FullName = s.FullName,
|
FullName = s.FullName,
|
||||||
ID = s.ID,
|
ID = s.ID,
|
||||||
// Info = s.Info,
|
Info = s.Info,
|
||||||
Phone =s.Phone,
|
Phone =s.Phone,
|
||||||
// BranchID = s.BranchID,
|
BranchID = s.BranchID,
|
||||||
// MeliCode = s.MeliCode,
|
MeliCode = s.MeliCode,
|
||||||
// ZipCode = s.ZipCode ,
|
ZipCode = s.ZipCode,
|
||||||
// PassportNumber=s.PassportNumber,
|
PassportNumber = s.PassportNumber,
|
||||||
|
CustomerType= s.CustomerType
|
||||||
// CompanyID=s.CompanyID
|
// CompanyID=s.CompanyID
|
||||||
})
|
})
|
||||||
.Paging(itemSerch.PageIndex, itemSerch.PageSize);
|
.Paging(itemSerch.PageIndex, itemSerch.PageSize);
|
||||||
|
@@ -14,11 +14,25 @@ namespace Shared.DTOs
|
|||||||
[Display(Name = "نام کامل")]
|
[Display(Name = "نام کامل")]
|
||||||
public string FullName { get; set; }
|
public string FullName { get; set; }
|
||||||
[Display(Name = "نوع مشتری")]
|
[Display(Name = "نوع مشتری")]
|
||||||
public string CustomerType { get; set; }
|
public string CustomerTypeTitle { get; set; }
|
||||||
[Display(Name = "تلفن")]
|
[Display(Name = "تلفن")]
|
||||||
public string Phone { get; set; }
|
public string Phone { get; set; }
|
||||||
|
[Display(Name = "پست الکترونیک")]
|
||||||
|
public string? Email { get; set; }
|
||||||
|
[Display(Name = "آدرس")]
|
||||||
|
public string? Address { get; set; }
|
||||||
[Display(Name = "کد اقتصادی")]
|
[Display(Name = "کد اقتصادی")]
|
||||||
public string? EconomicCode { get; set; }
|
public string? EconomicCode { get; set; }
|
||||||
|
[Display(Name = "کد شعبه")]
|
||||||
|
public string? BranchID { get; set; }
|
||||||
|
[Display(Name = "توضیحات")]
|
||||||
|
public string? Info { get; set; }
|
||||||
|
|
||||||
|
//------------
|
||||||
|
public CustomerType CustomerType { get; set; }
|
||||||
|
public string? ZipCode { get; set; }
|
||||||
|
public string? MeliCode { get; set; }
|
||||||
|
public string? PassportNumber { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -33,9 +33,9 @@ builder.Services.AddScoped(sp => new UserAuthenticationDTO()
|
|||||||
}) ;
|
}) ;
|
||||||
|
|
||||||
|
|
||||||
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("https://localhost:7075/api/") });
|
||||||
|
|
||||||
//builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
|
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri("http://localhost:5271/api/") });
|
||||||
|
|
||||||
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");
|
CultureInfo.DefaultThreadCurrentCulture = new CultureInfo("fa-Ir");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user