правки_и_отчёты_поручитель #13
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ServiceStationContracts.BindingModels
|
||||
{
|
||||
public class ReportGuarantorBindingModel
|
||||
{
|
||||
public string FileName { get; set; } = string.Empty;
|
||||
public DateTime? DateFrom { get; set; }
|
||||
public DateTime? DateTo { get; set; }
|
||||
public int GuarantorId { get; set; }
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
using ServiceStationContracts.BindingModels;
|
||||
using ServiceStationContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ServiceStationContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IGuarantorReportLogic
|
||||
{
|
||||
List<ReportDefectsViewModel> GetDefects(List<int> Ids);
|
||||
List<ReportSparePartsViewModel> GetSpareParts(ReportGuarantorBindingModel model);
|
||||
|
||||
void SaveDefectsToWordFile(ReportGuarantorBindingModel model);
|
||||
|
||||
void SaveDefectsToExcelFile(ReportGuarantorBindingModel model);
|
||||
|
||||
void SaveSparePartsToPdfFile(ReportGuarantorBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ServiceStationContracts.ViewModels
|
||||
{
|
||||
public class ReportDefectsViewModel
|
||||
{
|
||||
public string SparePartName { get; set; } = string.Empty;
|
||||
public List<(string, double)> DefectsInfo { get; set; } = new();
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace ServiceStationContracts.ViewModels
|
||||
{
|
||||
public class ReportSparePartsViewModel
|
||||
{
|
||||
public string SparePartName { get; set; } = string.Empty;
|
||||
public double SparePartPrice { get; set; }
|
||||
public string RepairName { get; set; } = string.Empty;
|
||||
public DateTime? RepairStartDate { get; set; } = DateTime.Now;
|
||||
public double RepairPrice { get; set; }
|
||||
public string WorkType { get; set; } = string.Empty;
|
||||
public DateTime? TechnicalWorkDate { get; set; } = DateTime.Now;
|
||||
public double TechnicalWorkPrice { get; set; }
|
||||
}
|
||||
}
|
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<div class="p-2">
|
||||
<img src="~/Images/sashka.png" width="100px" />
|
||||
Табеев А.Р. Роль Поручителя
|
||||
Табеев А.П. Роль Поручителя
|
||||
</div>
|
||||
<p class="pt-4">Рады видеть вас на нашем сайте ^.^</p>
|
||||
</div>
|
||||
|
@ -15,7 +15,7 @@
|
||||
Название ремонта
|
||||
</th>
|
||||
<th>
|
||||
Статус ремонта
|
||||
Дата начала ремонта
|
||||
</th>
|
||||
<th>
|
||||
Стоимость ремонта
|
||||
|
Loading…
x
Reference in New Issue
Block a user