<!--<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">-->
	<FlowDocument xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:xrd="clr-namespace:CodeReason.Reports.Document;assembly=CodeReason.Reports" 
              PageHeight="29.7cm" PageWidth="21cm" ColumnWidth="21cm">
    <xrd:ReportProperties>
        <xrd:ReportProperties.ReportName>RST.Restaurant.WPF.DailyStatusReport.Report.HeldTransaction</xrd:ReportProperties.ReportName>
        <xrd:ReportProperties.ReportTitle>营业日报</xrd:ReportProperties.ReportTitle>
    </xrd:ReportProperties>
    <Section Padding="80,10,40,10" FontSize="12">
        <Paragraph FontSize="24" FontWeight="Bold" TextAlignment="Center">
            <xrd:InlineContextValue PropertyName="ReportTitle" />
        </Paragraph>
		<Paragraph TextAlignment="Left" FontSize="11">
            <xrd:InlineDocumentValue PropertyName="Condition" /><LineBreak/>
		</Paragraph>

        <xrd:SectionDataGroup DataGroupName="CompleteTrans">
            <Table CellSpacing="0" BorderBrush="Black" BorderThickness="0.02cm">
                <Table.Resources>
                    <!-- Style for header/footer rows. -->
                    <Style x:Key="headerFooterRowStyle" TargetType="{x:Type TableRowGroup}">
                        <Setter Property="FontSize" Value="16"/>
                        <Setter Property="Background" Value="LightGray"/>
                    </Style>
                    <!-- Style for data rows. -->
                    <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
                        <Setter Property="FontSize" Value="12"/>
                    </Style>
 	
                    <!-- Style for data cells. -->
                    <Style TargetType="{x:Type TableCell}">
                        <Setter Property="Padding" Value="0.1cm"/>
                        <Setter Property="BorderBrush" Value="Black"/>
                        <Setter Property="BorderThickness" Value="0.01cm,0.01cm,0,0.01cm"/>
                    </Style>
                </Table.Resources>
                <Table.Columns>
                    <TableColumn Width="*" />
					<TableColumn Width="*" />
					<TableColumn Width="*" />
					<TableColumn Width="*" />
                </Table.Columns>
                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <TableRow>
                        <TableCell ColumnSpan="4">
                        	<Paragraph  TextAlignment="Left">已结账账单详情</Paragraph>
                        </TableCell>																													
                    </TableRow>
                </TableRowGroup>
                <TableRowGroup Style="{StaticResource dataRowStyle}">
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">账单数量</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalCount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">顾客人数</Paragraph>
                        </TableCell>
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalCustomerCount" /></Paragraph>
                        </TableCell>																																	
                    </TableRow>                	
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">消费总额</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalConsumptionAmount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">现金付款总额</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_CashAmount" /></Paragraph>
                        </TableCell>																																		
                    </TableRow>
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">赠单总额</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalGiftAmount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">代金券付款总额</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_CouponsAmount" /></Paragraph>
                        </TableCell>																																			
                    </TableRow>
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">折扣总额</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalDiscountAmount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">抹零总额</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_ConcessionAmount" /></Paragraph>
                        </TableCell>																																		
                    </TableRow>
                    <TableRow>
	                    <TableCell >
                        	<Paragraph  TextAlignment="Left">应收总额(合计)</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalAmount" /></Paragraph>
                        </TableCell>
						<TableCell >
                        	<Paragraph  TextAlignment="Left">实收总额(合计)</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="1_TotalPaiedAmount" /></Paragraph>
                        </TableCell>																												
                    </TableRow>
                    <TableRow>
	                    <TableCell ColumnSpan="4" >
                        	<Paragraph  TextAlignment="Left">注:应收总额(合计) = 消费总额-赠单总额-折扣总额 </Paragraph>
							<Paragraph  TextAlignment="Left">   实收总额(合计) = 现金付款总额+代金券付款总额+抹零总额</Paragraph>
                        </TableCell>																													
                    </TableRow>																																																										
                </TableRowGroup>
				
                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <TableRow>
                        <TableCell ColumnSpan="4">
                        	<Paragraph  TextAlignment="Left">未结账账单详情</Paragraph>
                        </TableCell>																													
                    </TableRow>
                </TableRowGroup>
				<TableRowGroup Style="{StaticResource dataRowStyle}">
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">账单数量</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="0_TotalCount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">应收金额</Paragraph>
                        </TableCell>
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="0_TotalAmount" /></Paragraph>
                        </TableCell>																																	
                    </TableRow> 					
				</TableRowGroup>

                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <TableRow>
                        <TableCell ColumnSpan="4">
                        	<Paragraph  TextAlignment="Left">销单账单详情</Paragraph>
                        </TableCell>																													
                    </TableRow>
                </TableRowGroup>
				<TableRowGroup Style="{StaticResource dataRowStyle}">
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">账单数量</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="2_TotalCount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">应收金额</Paragraph>
                        </TableCell>
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="2_TotalAmount" /></Paragraph>
                        </TableCell>																																	
                    </TableRow> 					
				</TableRowGroup>

                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <TableRow>
                        <TableCell ColumnSpan="4">
                        	<Paragraph  TextAlignment="Left">免单账单详情</Paragraph>
                        </TableCell>																													
                    </TableRow>
                </TableRowGroup>
				<TableRowGroup Style="{StaticResource dataRowStyle}">
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">账单数量</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="3_TotalCount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">应收金额</Paragraph>
                        </TableCell>
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="3_TotalAmount" /></Paragraph>
                        </TableCell>																																	
                    </TableRow> 					
				</TableRowGroup>

                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <TableRow>
                        <TableCell ColumnSpan="4">
                        	<Paragraph  TextAlignment="Left">挂账账单详情</Paragraph>
                        </TableCell>																													
                    </TableRow>
                </TableRowGroup>
				<TableRowGroup Style="{StaticResource dataRowStyle}">
                    <TableRow>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">账单数量</Paragraph>
                        </TableCell>	
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="5_TotalCount" /></Paragraph>
                        </TableCell>
                        <TableCell >
                        	<Paragraph  TextAlignment="Left">应收金额</Paragraph>
                        </TableCell>
						<TableCell >
                        	<Paragraph  TextAlignment="Right"><xrd:InlineDocumentValue PropertyName="5_TotalAmount" /></Paragraph>
                        </TableCell>																																	
                    </TableRow> 					
				</TableRowGroup>
																				
            </Table>
        </xrd:SectionDataGroup>
		
		<Paragraph></Paragraph>
		
        <xrd:SectionDataGroup DataGroupName="DS">
            <Table CellSpacing="0" BorderBrush="Black" BorderThickness="0.02cm">
                <Table.Resources>
                    <!-- Style for header/footer rows. -->
                    <Style x:Key="headerFooterRowStyle" TargetType="{x:Type TableRowGroup}">
                        <Setter Property="FontSize" Value="16"/>
                        <Setter Property="Background" Value="LightGray"/>
                    </Style>

                    <!-- Style for data rows. -->
                    <Style x:Key="dataRowStyle" TargetType="{x:Type TableRowGroup}">
                        <Setter Property="FontSize" Value="12"/>
                    </Style>

                    <!-- Style for data cells. -->
                    <Style TargetType="{x:Type TableCell}">
                        <Setter Property="Padding" Value="0.1cm"/>
                        <Setter Property="BorderBrush" Value="Black"/>
                        <Setter Property="BorderThickness" Value="0.01cm"/>
                    </Style>
                </Table.Resources>
                <Table.Columns>
                    <TableColumn Width="*" />
					<TableColumn Width="*" />
                    <TableColumn Width="*" />
                </Table.Columns>
                <TableRowGroup Style="{StaticResource headerFooterRowStyle}">
                    <TableRow>
                        <TableCell>
                        	<Paragraph  TextAlignment="Left">菜品类别名</Paragraph>
                        </TableCell>
                        <TableCell>
                            <Paragraph  TextAlignment="Left">消费金额</Paragraph>
                        </TableCell>
                        <TableCell>
                            <Paragraph  TextAlignment="Left">应收金额</Paragraph>
                        </TableCell>												
                    </TableRow>
                </TableRowGroup>
                <TableRowGroup Style="{StaticResource dataRowStyle}">
                    <xrd:TableRowForDataTable TableName="DS">
                        <TableCell>
                            <Paragraph TextAlignment="Left">
                                <xrd:InlineTableCellValue PropertyName="ItemCateLogTitle" />
							</Paragraph>
                        </TableCell>
						<TableCell>
                            <Paragraph TextAlignment="Right"><xrd:InlineTableCellValue PropertyName="ConsumptionAmount" /></Paragraph>
                        </TableCell>
						<TableCell>
                            <Paragraph TextAlignment="Right"><xrd:InlineTableCellValue PropertyName="Amount" /></Paragraph>
                        </TableCell>
                    </xrd:TableRowForDataTable>
                </TableRowGroup>
            </Table>
        </xrd:SectionDataGroup>		
    </Section>
</FlowDocument>

<!--</Page>-->