2023-04-09 16:55:38 +04:00
|
|
|
|
using ComputerShopContracts.BindingModels;
|
|
|
|
|
using ComputerShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ComputerShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
/// Получение списка компонент с указанием, в каких изделиях используются
|
2023-05-17 14:20:02 +04:00
|
|
|
|
List<ReportPurchaseReceivingViewModel> GetPurchaseReceiving();
|
|
|
|
|
|
|
|
|
|
List<ReportPurchaseSupplyViewModel> GetPurchaseSupply();
|
|
|
|
|
|
2023-05-19 19:34:21 +04:00
|
|
|
|
public List<ReportComponentReceivingViewModel> GetComponentReceivings(List<int> ids);
|
|
|
|
|
|
2023-04-09 16:55:38 +04:00
|
|
|
|
void SavePackagesToWordFile(ReportBindingModel model);
|
|
|
|
|
/// Сохранение компонент с указаеним продуктов в файл-Excel
|
|
|
|
|
void SaveProductComponentToExcelFile(ReportBindingModel model);
|
|
|
|
|
/// Сохранение заказов в файл-Pdf
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
2023-05-18 22:18:40 +04:00
|
|
|
|
void SaveReceivingComponentsToWordFile(ReportBindingModel model);
|
|
|
|
|
void SaveReceivingComponentsToXmlFile(ReportBindingModel model);
|
2023-04-09 16:55:38 +04:00
|
|
|
|
}
|
|
|
|
|
}
|