<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="5.6.1" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.AllowEdit="False" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" PrintOptions.ShowDialog="False" ReportOptions.CreateDate="40240,4681978935" ReportOptions.Description.Text="" ReportOptions.LastChange="43873,533131713" ScriptLanguage="PascalScript" ScriptText.Text="procedure Memo12OnAfterData(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; Memo12.Top:=Memo12.Height;&#13;&#10; if Memo1.Visible=True then Memo12.Top:=Memo12.Height+1;&#13;&#10;&#13;&#10;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=False)and(Memo222.Visible=False) then Memo12.Top:=Memo12.Height*2+1;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True)and(Memo222.Visible=False) then Memo12.Top:=Memo12.Height*2+1;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=True)and(Memo222.Visible=False)  then Memo12.Top:=Memo12.Height*3+1;&#13;&#10;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=False)and(Memo222.Visible=True) then Memo12.Top:=Memo12.Height+1;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=False)and(Memo222.Visible=True) then Memo12.Top:=Memo12.Height*3+1;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True)and(Memo222.Visible=True) then Memo12.Top:=Memo12.Height*3+1;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=True)and(Memo222.Visible=True) then Memo12.Top:=Memo12.Height*4+1;&#13;&#10;&#13;&#10;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True)and(Memo222.Visible=False) then Memo10.Top:=Memo10.Height+1;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True)and(Memo222.Visible=True) then Memo10.Top:=Memo10.Height+1;&#13;&#10;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=False)and(Memo222.Visible=True) then Memo222.Top:=1;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True)and(Memo222.Visible=True) then Memo222.Top:=Memo222.Height*2+1;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=False)and(Memo222.Visible=True) then Memo222.Top:=Memo222.Height*2+1;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=True)and(Memo222.Visible=True) then Memo222.Top:=Memo222.Height*3+1;&#13;&#10;&#13;&#10; Memo11.Top:=Memo10.Top;&#13;&#10; Memo21.Top:=Memo12.Top;&#13;&#10; Memo266.Top:=Memo222.Top;&#13;&#10;&#13;&#10;&#13;&#10;  MemoLoyalty.Top:=Memo12.Top+Memo12.Height+5;&#13;&#10;&#13;&#10; if (MemoLoyalty.Visible=True) then Memo22.Top:=MemoLoyalty.Top+MemoLoyalty.Height+5;&#13;&#10; if (MemoLoyalty.Visible=False)then Memo22.Top:=Memo12.Top+Memo12.Height+5;&#13;&#10;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10; ChildHead1.Visible:=Memo27.Visible;&#13;&#10;end." OnReportPrint="frxReport1OnReportPrint">
  <Datasets>
    <item DataSet="f_data_set" DataSetName="f_data_set"/>
  </Datasets>
  <TfrxDataPage Name="Data" Height="1000" Left="0" Top="0" Width="1000"/>
  <TfrxReportPage Name="Page1" PaperWidth="58" PaperHeight="297" PaperSize="256" LeftMargin="0" RightMargin="0" TopMargin="0" BottomMargin="0" ColumnWidth="0" ColumnPositions.Text="" HGuides.Text="" VGuides.Text="57,35786445&#13;&#10;170,66708529">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,1181078" Left="0" Top="268,34663" Width="219,21274" ColumnWidth="0" ColumnGap="0" DataSet="f_data_set" DataSetName="f_data_set" PrintIfDetailEmpty="True" RowCount="0" Stretched="True">
      <TfrxMemoView Name="ADOQuery1waitername" Left="18,89765" Top="0" Width="71,81107" Height="15,11812" StretchMode="smActualHeight" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" ParentFont="False" Text="[f_data_set.&#34;item_name&#34;]"/>
      <TfrxMemoView Name="ADOQuery1clientname" Left="90,70872" Top="0" Width="30,23624" Height="15,11812" StretchMode="smMaxHeight" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="[f_data_set.&#34;price&#34;]"/>
      <TfrxMemoView Name="ADOQuery1numschet" Left="120,94496" Top="0" Width="26,45671" Height="15,11812" StretchMode="smMaxHeight" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" WordWrap="False" Text="[f_data_set.&#34;count&#34;]"/>
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="18,89765" Height="15,11812" OnAfterData="Memo2OnAfterData" StretchMode="smMaxHeight" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="[Line#]"/>
      <TfrxMemoView Name="ADOQuery1dt" Left="147,40167" Top="0" Width="30,23624" Height="15,11812" StretchMode="smMaxHeight" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[f_data_set.&#34;summa&#34;]"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="82,44566941" Left="0" Top="18,89765" Width="219,21274" Child="ChildHead1">
      <TfrxMemoView Name="Memo17" Left="0" Top="18,89765" Width="178,22614529" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" Text="Счет №: [numschet]"/>
      <TfrxMemoView Name="Memo15" Left="0" Top="34,7953" Width="56,69295" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Дата: "/>
      <TfrxMemoView Name="Memo16" Left="0" Top="49,91342" Width="56,69295" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Сотрудник:"/>
      <TfrxMemoView Name="Memo18" Left="0" Top="65,03154" Width="56,69295" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Клиент:"/>
      <TfrxMemoView Name="Memo23" Left="63,47248" Top="34,7953" Width="113,3859" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[dtdate]"/>
      <TfrxMemoView Name="Memo24" Left="63,47248" Top="49,91342" Width="113,3859" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[waiter]"/>
      <TfrxMemoView Name="Memo25" Left="63,47248" Top="65,03154" Width="113,3859" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[client]"/>
      <TfrxMemoView Name="Memo14" Left="0" Top="0" Width="177,63791" Height="18,89765" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="1" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[restname]"/>
    </TfrxHeader>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,11812" Left="0" Top="230,55133" Visible="False" Width="219,21274" Condition="f_data_set.&#34;dvs_id&#34;">
      <TfrxMemoView Name="frxDBDatasetTabledvsname" Left="0" Top="0" Width="177,63791" Height="15,11812" DataSetName="frxDBDatasetTable" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" ParentFont="False" Text="[f_data_set.&#34;dvs_name&#34;]"/>
    </TfrxGroupHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="181,41744" Left="0" Top="343,93723" Width="219,21274">
      <TfrxMemoView Name="Memo8" Left="109,60637" Top="15,11812" Width="68,03154" Height="15,11812" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[servicesum]"/>
      <TfrxMemoView Name="Memo9" Left="0" Top="15,11812" Width="98,26778" Height="15,11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" ParentFont="False" Text="Обслуживание: [servicepercent]"/>
      <TfrxMemoView Name="Memo10" Left="109,60637" Top="30,23624" Width="68,03154" Height="15,11812" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[discountsum]"/>
      <TfrxMemoView Name="Memo11" Left="0" Top="30,23624" Width="98,26778" Height="15,11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" ParentFont="False" Text="Скидка: [discountpercent]"/>
      <TfrxMemoView Name="Memo12" Left="109,60637" Top="59,35436" Width="68,03154" Height="15,11812" OnAfterData="Memo12OnAfterData" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[totalsum]"/>
      <TfrxMemoView Name="Memo21" Left="0" Top="59,35436" Width="98,26778" Height="15,11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" ParentFont="False" Text="Итого:"/>
      <TfrxMemoView Name="Memo1" Left="109,60637" Top="0" Width="68,03154" Height="15,11812" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[clearsum]"/>
      <TfrxMemoView Name="Memo22" Align="baBottom" Left="-3,19129471" Top="133,79813765" Width="173,85838" Height="47,61930235" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[infrow]&#13;&#10;[note]&#13;&#10;Автоматизировано Paloma365.kz">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="Memo7" Left="0" Top="0" Width="98,26778" Height="15,11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="0,5" ParentFont="False" Text="Всего:"/>
      <TfrxMemoView Name="Memo222" Left="109,60629921" Top="45,13389" Width="68,03149606" Height="15,11812" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="8" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="[sumfromclient]"/>
      <TfrxMemoView Name="Memo266" Left="0" Top="45,13389" Width="98,26771654" Height="15,11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Предоплата:"/>
      <TfrxMemoView Name="MemoLoyalty" ShiftMode="smWhenOverlapped" Left="0" Top="81,14966" Width="178,22614529" Height="52,91342" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="Система лояльности&#13;&#10;[loyalty]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxFooter>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15,1181078" Left="0" Top="306,14193" Visible="False" Width="219,21274">
      <TfrxMemoView Name="Memo34" Left="109,60637" Top="0" Width="68,03154" Height="15,11812" StretchMode="smMaxHeight" DataSetName="ADOQuery1" DisplayFormat.FormatStr="%g" DisplayFormat.Kind="fkNumeric" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haRight" ParentFont="False" WordWrap="False" Text="[SUM(round(&#60;f_data_set.&#34;summa&#34;&#62;),MasterData1)]"/>
      <TfrxMemoView Name="Memo35" Left="0" Top="0" Width="109,60637" Height="15,11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" ParentFont="False" Text="Сумма по &#34;[f_data_set.&#34;dvs_name&#34;]&#34;:"/>
    </TfrxGroupFooter>
    <TfrxChild Name="ChildHead1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="41,57483" Left="0" Top="124,72449" Width="219,21274" Child="ChildHead2" PrintChildIfInvisible="True">
      <TfrxMemoView Name="Memo19" Left="0,66491445" Top="0" Width="56,69295" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Стол:"/>
      <TfrxMemoView Name="Memo27" Left="64,13739445" Top="0" Width="113,3859" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[table]"/>
      <TfrxMemoView Name="Memo36" Left="0,66491445" Top="15,11812" Width="56,69295" Height="22,67718" Visible="False" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Кол-во гостей:"/>
      <TfrxMemoView Name="Memo37" Left="64,13739445" Top="18,89765" Width="113,3859" Height="15,11812" Visible="False" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[guest_count]"/>
    </TfrxChild>
    <TfrxChild Name="ChildHead2" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="18,89765" Left="0" Top="188,9765" Width="219,21274">
      <TfrxMemoView Name="Memo3" Align="baBottom" Left="0" Top="3,77953" Width="18,89765" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="№"/>
      <TfrxMemoView Name="Memo4" Align="baBottom" Left="18,8976378" Top="3,77953" Width="71,81107" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="Наименование"/>
      <TfrxMemoView Name="Memo5" Align="baBottom" Left="90,70866142" Top="3,77953" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="Цена"/>
      <TfrxMemoView Name="Memo6" Align="baBottom" Left="120,94488189" Top="3,77953" Width="26,45671" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="Кол."/>
      <TfrxMemoView Name="Memo13" Align="baBottom" Left="147,4015748" Top="3,77953" Width="30,23624" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0,5" HAlign="haCenter" ParentFont="False" Text="Сумма"/>
    </TfrxChild>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="41,57483" Left="0" Top="585,82715" Width="219,21274">
      <TfrxMemoView Name="Memo20" Align="baClient" Left="0" Top="0" Width="219,21274" Height="41,57483" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-8" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[client_inf]"/>
    </TfrxPageFooter>
  </TfrxReportPage>
</TfrxReport>
