надеюс все

This commit is contained in:
Ino 2023-04-10 16:40:13 +04:00
parent ad9f05bb00
commit 3a37421bb6
5 changed files with 398 additions and 411 deletions

View File

@ -50,16 +50,10 @@ namespace IceCreamBusinessLogic.OfficePackage
Style = "NormalTitle", Style = "NormalTitle",
ParagraphAlignment = PdfParagraphAlignmentType.Center ParagraphAlignment = PdfParagraphAlignmentType.Center
}); });
CreateParagraph(new PdfParagraph
{
Text = $"с{info.DateFrom.ToShortDateString()} по {info.DateTo.ToShortDateString()}",
Style = "Normal",
ParagraphAlignment = PdfParagraphAlignmentType.Center
});
CreateTable(new List<string> { "3cm", "3cm", "7cm" }); CreateTable(new List<string> { "3cm", "3cm", "7cm" });
CreateRow(new PdfRowParameters CreateRow(new PdfRowParameters
{ {
Texts = new List<string> { "Дата заказа", "Количество заказов", "Сумма" }, Texts = new List<string> { "Дата", "Количество", "Сумма" },
Style = "NormalTitle", Style = "NormalTitle",
ParagraphAlignment = PdfParagraphAlignmentType.Center ParagraphAlignment = PdfParagraphAlignmentType.Center
}); });
@ -76,7 +70,7 @@ namespace IceCreamBusinessLogic.OfficePackage
{ {
Text = $"Итого: {info.DateOrders.Sum(x => x.SumOrders)}\t", Text = $"Итого: {info.DateOrders.Sum(x => x.SumOrders)}\t",
Style = "Normal", Style = "Normal",
ParagraphAlignment = PdfParagraphAlignmentType.Right ParagraphAlignment = PdfParagraphAlignmentType.Center
}); });
SavePdf(info); SavePdf(info);
} }

View File

@ -9,6 +9,7 @@ namespace IceCreamBusinessLogic.OfficePackage.HelperModels
public string Title { get; set; } = string.Empty; public string Title { get; set; } = string.Empty;
public List<ReportIceCreamComponentViewModel> IceCreamComponents { get; set; } = new(); public List<ReportIceCreamComponentViewModel> IceCreamComponents { get; set; } = new();
public List<ReportShopWorkloadViewModel> ShopIceCreams { get; set; } = new(); public List<ReportShopWorkloadViewModel> ShopIceCreams { get; set; } = new();
} }
} }

View File

@ -25,7 +25,7 @@ namespace IceCreamShopView
{ {
try try
{ {
_logic.SaveIceCreamsToWordFile(new ReportBindingModel _logic.SaveShopWorkloadToExcelFile(new ReportBindingModel
{ {
FileName = dialog.FileName FileName = dialog.FileName
}); });

View File

@ -1,409 +1,401 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner"> <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<Body>
<Body>
<ReportItems> <ReportItems>
<Textbox Name="TextboxTitle">
<Textbox Name="TextboxTitle"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>Заказы</Value>
<Value>Заказы</Value> <Style>
<Style> <FontSize>16pt</FontSize>
<FontSize>16pt</FontSize> <FontWeight>Bold</FontWeight>
<FontWeight>Bold</FontWeight> </Style>
</Style> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style>
<Style> <TextAlign>Center</TextAlign>
<TextAlign>Center</TextAlign> </Style>
</Style> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <Top>0.24cm</Top>
<Height>1cm</Height> <Height>1cm</Height>
<Width>21cm</Width> <Width>21cm</Width>
<Style> <Style>
<Border> <Border>
<Style>None</Style> <Style>None</Style>
</Border> </Border>
<VerticalAlign>Middle</VerticalAlign> <VerticalAlign>Middle</VerticalAlign>
<PaddingLeft>2pt</PaddingLeft> <PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight> <PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop> <PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom> <PaddingBottom>2pt</PaddingBottom>
</Style> </Style>
</Textbox> </Textbox>
<Tablix Name="Tablix1">
<Tablix Name="Tablix1"> <TablixBody>
<TablixBody> <TablixColumns>
<TablixColumns> <TablixColumn>
<TablixColumn> <Width>3cm</Width>
<Width>3cm</Width> </TablixColumn>
</TablixColumn> <TablixColumn>
<TablixColumn> <Width>3cm</Width>
<Width>3cm</Width> </TablixColumn>
</TablixColumn> <TablixColumn>
<TablixColumn> <Width>7cm</Width>
<Width>7cm</Width> </TablixColumn>
</TablixColumn> </TablixColumns>
</TablixColumns> <TablixRows>
<TablixRows> <TablixRow>
<TablixRow> <Height>0.6cm</Height>
<Height>0.6cm</Height> <TablixCells>
<TablixCells> <TablixCell>
<TablixCell> <CellContents>
<CellContents> <Textbox Name="Textbox1">
<Textbox Name="Textbox1"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>Дата</Value>
<Value>Дата</Value> <Style>
<Style> <FontWeight>Bold</FontWeight>
<FontWeight>Bold</FontWeight> </Style>
</Style> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style />
<Style /> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <rd:DefaultName>Textbox1</rd:DefaultName>
<rd:DefaultName>Textbox1</rd:DefaultName> <Style>
<Style> <Border>
<Border> <Color>LightGrey</Color>
<Color>LightGrey</Color> <Style>Solid</Style>
<Style>Solid</Style> </Border>
</Border> <PaddingLeft>2pt</PaddingLeft>
<PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight>
<PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop>
<PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom>
<PaddingBottom>2pt</PaddingBottom> </Style>
</Style> </Textbox>
</Textbox> </CellContents>
</CellContents> </TablixCell>
</TablixCell> <TablixCell>
<TablixCell> <CellContents>
<CellContents> <Textbox Name="Textbox3">
<Textbox Name="Textbox3"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>Количество</Value>
<Value>Количество</Value> <Style>
<Style> <FontWeight>Bold</FontWeight>
<FontWeight>Bold</FontWeight> </Style>
</Style> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style />
<Style /> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <rd:DefaultName>Textbox3</rd:DefaultName>
<rd:DefaultName>Textbox3</rd:DefaultName> <Style>
<Style> <Border>
<Border> <Color>LightGrey</Color>
<Color>LightGrey</Color> <Style>Solid</Style>
<Style>Solid</Style> </Border>
</Border> <PaddingLeft>2pt</PaddingLeft>
<PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight>
<PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop>
<PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom>
<PaddingBottom>2pt</PaddingBottom> </Style>
</Style> </Textbox>
</Textbox> </CellContents>
</CellContents> </TablixCell>
</TablixCell> <TablixCell>
<TablixCell> <CellContents>
<CellContents> <Textbox Name="Textbox2">
<Textbox Name="Textbox2"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>Сумма</Value>
<Value>Сумма</Value> <Style>
<Style> <FontWeight>Bold</FontWeight>
<FontWeight>Bold</FontWeight> </Style>
</Style> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style />
<Style /> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <rd:DefaultName>Textbox2</rd:DefaultName>
<rd:DefaultName>Textbox2</rd:DefaultName> <Style>
<Style> <Border>
<Border> <Color>LightGrey</Color>
<Color>LightGrey</Color> <Style>Solid</Style>
<Style>Solid</Style> </Border>
</Border> <PaddingLeft>2pt</PaddingLeft>
<PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight>
<PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop>
<PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom>
<PaddingBottom>2pt</PaddingBottom> </Style>
</Style> </Textbox>
</Textbox> </CellContents>
</CellContents> </TablixCell>
</TablixCell> </TablixCells>
</TablixCells> </TablixRow>
</TablixRow> <TablixRow>
<TablixRow> <Height>0.6cm</Height>
<Height>0.6cm</Height> <TablixCells>
<TablixCells> <TablixCell>
<TablixCell> <CellContents>
<CellContents> <Textbox Name="DateCreate">
<Textbox Name="DateCreate"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>=Fields!DateCreate.Value</Value>
<Value>=Fields!DateCreate.Value</Value> <Style>
<Style> <Format>d</Format>
<Format>d</Format> </Style>
</Style> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style />
<Style /> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <rd:DefaultName>DateCreate</rd:DefaultName>
<rd:DefaultName>DateCreate</rd:DefaultName> <Style>
<Style> <Border>
<Border> <Color>LightGrey</Color>
<Color>LightGrey</Color> <Style>Solid</Style>
<Style>Solid</Style> </Border>
</Border> <PaddingLeft>2pt</PaddingLeft>
<PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight>
<PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop>
<PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom>
<PaddingBottom>2pt</PaddingBottom> </Style>
</Style> </Textbox>
</Textbox> </CellContents>
</CellContents> </TablixCell>
</TablixCell> <TablixCell>
<TablixCell> <CellContents>
<CellContents> <Textbox Name="CountOrders">
<Textbox Name="CountOrders"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>=Fields!CountOrders.Value</Value>
<Value>=Fields!CountOrders.Value</Value> <Style />
<Style /> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style />
<Style /> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <rd:DefaultName>CountOrders</rd:DefaultName>
<rd:DefaultName>CountOrders</rd:DefaultName> <Style>
<Style> <Border>
<Border> <Color>LightGrey</Color>
<Color>LightGrey</Color> <Style>Solid</Style>
<Style>Solid</Style> </Border>
</Border> <PaddingLeft>2pt</PaddingLeft>
<PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight>
<PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop>
<PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom>
<PaddingBottom>2pt</PaddingBottom> </Style>
</Style> </Textbox>
</Textbox> </CellContents>
</CellContents> </TablixCell>
</TablixCell> <TablixCell>
<TablixCell> <CellContents>
<CellContents> <Textbox Name="SumOrders">
<Textbox Name="SumOrders"> <CanGrow>true</CanGrow>
<CanGrow>true</CanGrow> <KeepTogether>true</KeepTogether>
<KeepTogether>true</KeepTogether> <Paragraphs>
<Paragraphs> <Paragraph>
<Paragraph> <TextRuns>
<TextRuns> <TextRun>
<TextRun> <Value>=Fields!SumOrders.Value</Value>
<Value>=Fields!SumOrders.Value</Value> <Style />
<Style /> </TextRun>
</TextRun> </TextRuns>
</TextRuns> <Style />
<Style /> </Paragraph>
</Paragraph> </Paragraphs>
</Paragraphs> <rd:DefaultName>SumOrders</rd:DefaultName>
<rd:DefaultName>SumOrders</rd:DefaultName> <Style>
<Style> <Border>
<Border> <Color>LightGrey</Color>
<Color>LightGrey</Color> <Style>Solid</Style>
<Style>Solid</Style> </Border>
</Border> <PaddingLeft>2pt</PaddingLeft>
<PaddingLeft>2pt</PaddingLeft> <PaddingRight>2pt</PaddingRight>
<PaddingRight>2pt</PaddingRight> <PaddingTop>2pt</PaddingTop>
<PaddingTop>2pt</PaddingTop> <PaddingBottom>2pt</PaddingBottom>
<PaddingBottom>2pt</PaddingBottom> </Style>
</Style> </Textbox>
</Textbox> </CellContents>
</CellContents> </TablixCell>
</TablixCell> </TablixCells>
</TablixCells> </TablixRow>
</TablixRow> </TablixRows>
</TablixRows> </TablixBody>
</TablixBody> <TablixColumnHierarchy>
<TablixColumnHierarchy> <TablixMembers>
<TablixMembers> <TablixMember />
<TablixMember /> <TablixMember />
<TablixMember /> <TablixMember />
<TablixMember /> </TablixMembers>
</TablixMembers> </TablixColumnHierarchy>
</TablixColumnHierarchy> <TablixRowHierarchy>
<TablixRowHierarchy> <TablixMembers>
<TablixMembers> <TablixMember>
<TablixMember> <KeepWithGroup>After</KeepWithGroup>
<KeepWithGroup>After</KeepWithGroup> </TablixMember>
</TablixMember> <TablixMember>
<TablixMember> <Group Name="Подробности" />
<Group Name="Подробности" /> </TablixMember>
</TablixMember> </TablixMembers>
</TablixMembers> </TablixRowHierarchy>
</TablixRowHierarchy> <DataSetName>DataSetOrders</DataSetName>
<DataSetName>DataSetOrders</DataSetName> <Top>2.72391cm</Top>
<Top>2.48391cm</Top> <Left>0.55245cm</Left>
<Left>0.55245cm</Left> <Height>1.2cm</Height>
<Height>1.2cm</Height> <Width>13cm</Width>
<Width>13cm</Width> <ZIndex>1</ZIndex>
<ZIndex>1</ZIndex> <Style>
<Style> <Border>
<Border> <Style>Double</Style>
<Style>Double</Style> </Border>
</Border> </Style>
</Style> </Tablix>
</Tablix> <Textbox Name="TextboxTotalSum">
<CanGrow>true</CanGrow>
<Textbox Name="TextboxTotalSum"> <KeepTogether>true</KeepTogether>
<CanGrow>true</CanGrow> <Paragraphs>
<KeepTogether>true</KeepTogether> <Paragraph>
<Paragraphs> <TextRuns>
<Paragraph> <TextRun>
<TextRuns> <Value>Всего:</Value>
<TextRun> <Style>
<Value>Всего:</Value> <FontWeight>Bold</FontWeight>
<Style> </Style>
<FontWeight>Bold</FontWeight> </TextRun>
</Style> </TextRuns>
</TextRun> <Style>
</TextRuns> <TextAlign>Right</TextAlign>
<Style> </Style>
<TextAlign>Right</TextAlign> </Paragraph>
</Style> </Paragraphs>
</Paragraph> <Top>4.24cm</Top>
</Paragraphs> <Left>8.55245cm</Left>
<Top>4cm</Top> <Height>0.6cm</Height>
<Left>8.55245cm</Left> <Width>2.5cm</Width>
<Height>0.6cm</Height> <ZIndex>2</ZIndex>
<Width>2.5cm</Width> <Style>
<ZIndex>2</ZIndex> <Border>
<Style> <Style>None</Style>
<Border> </Border>
<Style>None</Style> <PaddingLeft>2pt</PaddingLeft>
</Border> <PaddingRight>2pt</PaddingRight>
<PaddingLeft>2pt</PaddingLeft> <PaddingTop>2pt</PaddingTop>
<PaddingRight>2pt</PaddingRight> <PaddingBottom>2pt</PaddingBottom>
<PaddingTop>2pt</PaddingTop> </Style>
<PaddingBottom>2pt</PaddingBottom> </Textbox>
</Style> <Textbox Name="SumTotal">
</Textbox> <CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Textbox Name="SumTotal"> <Paragraphs>
<CanGrow>true</CanGrow> <Paragraph>
<KeepTogether>true</KeepTogether> <TextRuns>
<Paragraphs> <TextRun>
<Paragraph> <Value>=Sum(Fields!SumOrders.Value, "DataSetOrders")</Value>
<TextRuns> <Style>
<TextRun> <FontWeight>Bold</FontWeight>
<Value>=Sum(Fields!SumOrders.Value, "DataSetOrders")</Value> </Style>
<Style> </TextRun>
<FontWeight>Bold</FontWeight> </TextRuns>
</Style> <Style>
</TextRun> <TextAlign>Right</TextAlign>
</TextRuns> </Style>
<Style> </Paragraph>
<TextAlign>Right</TextAlign> </Paragraphs>
</Style> <Top>4.24cm</Top>
</Paragraph> <Left>11.05245cm</Left>
</Paragraphs> <Height>0.6cm</Height>
<Top>4cm</Top> <Width>2.5cm</Width>
<Left>11.05245cm</Left> <ZIndex>3</ZIndex>
<Height>0.6cm</Height> <Style>
<Width>2.5cm</Width> <Border>
<ZIndex>3</ZIndex> <Style>None</Style>
<Style> </Border>
<Border> <PaddingLeft>2pt</PaddingLeft>
<Style>None</Style> <PaddingRight>2pt</PaddingRight>
</Border> <PaddingTop>2pt</PaddingTop>
<PaddingLeft>2pt</PaddingLeft> <PaddingBottom>2pt</PaddingBottom>
<PaddingRight>2pt</PaddingRight> </Style>
<PaddingTop>2pt</PaddingTop> </Textbox>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems> </ReportItems>
<Height>5.72875cm</Height> <Height>2in</Height>
<Style /> <Style />
</Body> </Body>
<Width>8.26772in</Width>
<Width>21cm</Width> <Page>
<Page> <PageHeight>29.7cm</PageHeight>
<PageHeight>29.7cm</PageHeight> <PageWidth>21cm</PageWidth>
<PageWidth>21cm</PageWidth> <LeftMargin>2cm</LeftMargin>
<LeftMargin>2cm</LeftMargin> <RightMargin>2cm</RightMargin>
<RightMargin>2cm</RightMargin> <TopMargin>2cm</TopMargin>
<TopMargin>2cm</TopMargin> <BottomMargin>2cm</BottomMargin>
<BottomMargin>2cm</BottomMargin> <ColumnSpacing>0.13cm</ColumnSpacing>
<ColumnSpacing>0.13cm</ColumnSpacing> <Style />
<Style /> </Page>
</Page>
<AutoRefresh>0</AutoRefresh> <AutoRefresh>0</AutoRefresh>
<DataSources>
<DataSource Name="IceCreamShopContractsViewModels">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>10791c83-cee8-4a38-bbd0-245fc17cefb3</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSetOrders">
<Query>
<DataSourceName>IceCreamShopContractsViewModels</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<Fields>
<Field Name="DateCreate">
<DataField>DateCreate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="CountOrders">
<DataField>CountOrders</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="SumOrders">
<DataField>SumOrders</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>IceCreamShopContracts.ViewModels</rd:DataSetName>
<rd:TableName>ReportDateOrdersViewModel</rd:TableName>
<rd:ObjectDataSourceType>IceCreamShopContracts.ViewModels.ReportDateOrdersViewModel, IceCreamShopContracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</rd:ObjectDataSourceType>
</rd:DataSetInfo>
</DataSet>
</DataSets>
<rd:ReportUnitType>Cm</rd:ReportUnitType> <rd:ReportUnitType>Cm</rd:ReportUnitType>
<rd:ReportID>e6968c47-74e2-4a36-be2a-eb9e655f8afd</rd:ReportID> <rd:ReportID>cd561cee-f04c-45db-850e-4c793555accd</rd:ReportID>
<DataSources>
<DataSource Name="IceCreamShopContractsViewModels">
<ConnectionProperties>
<DataProvider>System.Data.DataSet</DataProvider>
<ConnectString>/* Local Connection */</ConnectString>
</ConnectionProperties>
<rd:DataSourceID>bf577a27-98a7-43b2-8beb-1a37d37ce5cd</rd:DataSourceID>
</DataSource>
</DataSources>
<DataSets>
<DataSet Name="DataSetOrders">
<Query>
<DataSourceName>IceCreamShopContractsViewModels</DataSourceName>
<CommandText>/* Local Query */</CommandText>
</Query>
<Fields>
<Field Name="DateCreate">
<DataField>DateCreate</DataField>
<rd:TypeName>System.DateTime</rd:TypeName>
</Field>
<Field Name="CountOrders">
<DataField>CountOrders</DataField>
<rd:TypeName>System.Decimal</rd:TypeName>
</Field>
<Field Name="SumOrders">
<DataField>SumOrders</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
</Fields>
<rd:DataSetInfo>
<rd:DataSetName>IceCreamShopContracts.ViewModels</rd:DataSetName>
<rd:TableName>ReportOrderViewModel</rd:TableName>
<rd:ObjectDataSourceType>IceCreamShopContracts.ViewModels.ReportDateOrdersViewModel, IceCreamShopContracts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</rd:ObjectDataSourceType>
</rd:DataSetInfo>
</DataSet>
</DataSets>
</Report> </Report>

View File

@ -46,9 +46,9 @@ namespace IceCreamShopContracts.BusinessLogicsContracts
/// <param name="model"></param> /// <param name="model"></param>
void SaveShopsToWordFile(ReportBindingModel model); void SaveShopsToWordFile(ReportBindingModel model);
public void SaveShopWorkloadToExcelFile(ReportBindingModel model); void SaveShopWorkloadToExcelFile(ReportBindingModel model);
public List<ReportShopWorkloadViewModel> GetShopIceCreams(); List<ReportShopWorkloadViewModel> GetShopIceCreams();
List<ReportDateOrdersViewModel> GetDateOrders(); List<ReportDateOrdersViewModel> GetDateOrders();