.
This commit is contained in:
parent
33f440412d
commit
4b97cb0275
@ -47,7 +47,7 @@ namespace BankYouBankruptBusinessLogic.BusinessLogics
|
|||||||
.Select(x => new ReportCashierViewModel
|
.Select(x => new ReportCashierViewModel
|
||||||
{
|
{
|
||||||
AccountId = x.Id,
|
AccountId = x.Id,
|
||||||
DateOperation = x.DateOperation,
|
DateComplite = x.DateOperation,
|
||||||
ClientName = x.ClientName,
|
ClientName = x.ClientName,
|
||||||
SumOperation = x.SumOperation,
|
SumOperation = x.SumOperation,
|
||||||
TypeOperation = x.TypeOperation
|
TypeOperation = x.TypeOperation
|
||||||
@ -58,10 +58,10 @@ namespace BankYouBankruptBusinessLogic.BusinessLogics
|
|||||||
public List<ReportCashierViewModel>? GetCashWithrawals(ReportBindingModel model)
|
public List<ReportCashierViewModel>? GetCashWithrawals(ReportBindingModel model)
|
||||||
{
|
{
|
||||||
return _cashWithdrawalStorage.GetFilteredList(new CashWithdrawalSearchModel { DateFrom = model.DateFrom, DateTo = model.DateTo })
|
return _cashWithdrawalStorage.GetFilteredList(new CashWithdrawalSearchModel { DateFrom = model.DateFrom, DateTo = model.DateTo })
|
||||||
.Select(x => new ReportOrdersViewModel
|
.Select(x => new ReportCashierViewModel
|
||||||
{
|
{
|
||||||
Id = x.Id,
|
AccountId = x.Id,
|
||||||
DateCreate = x.DateCreate,
|
DateComplite = x.DateOperation,
|
||||||
ManufactureName = x.ManufactureName,
|
ManufactureName = x.ManufactureName,
|
||||||
Sum = x.Sum,
|
Sum = x.Sum,
|
||||||
OrderStatus = x.Status.ToString()
|
OrderStatus = x.Status.ToString()
|
||||||
|
@ -14,6 +14,8 @@ namespace BankYouBankruptContracts.SearchModels
|
|||||||
|
|
||||||
public int? Sum { get; set; }
|
public int? Sum { get; set; }
|
||||||
|
|
||||||
public DateTime? DateOperation { get; set; }
|
public DateTime? DateFrom { get; set; }
|
||||||
|
|
||||||
|
public DateTime? DateTo { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user