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