2023-04-07 19:57:21 +04:00
|
|
|
|
using CarServiceContracts.BindingModels;
|
|
|
|
|
using CarServiceContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace CarServiceContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка заявок по выбранным работам
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportWorkWithRequestsViewModel> GetRequestsByWorks(ReportBindingModel model);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка оплат за определенный период
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
2023-04-08 14:01:54 +04:00
|
|
|
|
List<ReportWorksWithPaymentsViewModel> GetPayments(ReportBindingModel model);
|
2023-04-07 19:57:21 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент в файл-Word
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
2023-05-25 23:14:32 +04:00
|
|
|
|
void SaveRequestsToWordFile(ReportBindingModel model);
|
2023-04-07 19:57:21 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент с указаеним продуктов в файл-Excel
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
2023-05-25 23:14:32 +04:00
|
|
|
|
void SaveRequestsToExcelFile(ReportBindingModel model);
|
2023-04-07 19:57:21 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение заказов в файл-Pdf
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|