2024-03-23 22:01:27 +04:00
|
|
|
|
using PlumbingRepairContracts.BindingModels;
|
|
|
|
|
using PlumbingRepairContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace PlumbingRepairContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка компонент с указанием, в каких изделиях используются
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportWorkComponentViewModel> GetWorkComponent();
|
2024-04-19 19:10:14 +04:00
|
|
|
|
List<ReportShopWorkViewModel> GetShopWork();
|
2024-03-23 22:01:27 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Получение списка заказов за определенный период
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
|
2024-04-19 19:10:14 +04:00
|
|
|
|
List<ReportOrderByDateViewModel> GetOrdersByDate();
|
|
|
|
|
|
2024-03-23 22:01:27 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент в файл-Word
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveComponentsToWordFile(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение компонент с указаеним продуктов в файл-Excel
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveWorkComponentToExcelFile(ReportBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сохранение заказов в файл-Pdf
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
2024-04-19 19:10:14 +04:00
|
|
|
|
|
|
|
|
|
void SaveShopsToWordFile(ReportBindingModel model);
|
|
|
|
|
void SaveShopWorkToExcelFile(ReportBindingModel model);
|
|
|
|
|
public void SaveOrdersByDateToPdfFile(ReportBindingModel model);
|
2024-03-23 22:01:27 +04:00
|
|
|
|
}
|
|
|
|
|
}
|