<?xml version="1.0" encoding="utf-8" standalone="no"?>
<TfrxReport Version="5.6.1" DotMatrixReport="False" IniFile="\Software\Fast Reports" PreviewOptions.Buttons="4095" PreviewOptions.Zoom="1" PrintOptions.Printer="Default" PrintOptions.PrintOnSheet="0" PrintOptions.ShowDialog="False" ReportOptions.CreateDate="40240.4681978935" ReportOptions.Description.Text="" ReportOptions.LastChange="43410.8763057292" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;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; if (Memo8.Visible=True)and(Memo10.Visible=False) then Memo12.Top:=Memo12.Height*2+1;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True) then Memo12.Top:=Memo12.Height*2+1;&#13;&#10; if (Memo8.Visible=True)and(Memo10.Visible=True) then Memo12.Top:=Memo12.Height*3+1;&#13;&#10;&#13;&#10; if (Memo8.Visible=False)and(Memo10.Visible=True) then Memo10.Top:=Memo10.Height+1;&#13;&#10;&#13;&#10; Memo11.Top:=Memo10.Top;&#13;&#10; Memo21.Top:=Memo12.Top;&#13;&#10;&#13;&#10; Memo38.Top:=Memo12.Top+Memo12.Height+5;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10; ChildHead1.Visible:=Memo27.Visible;&#13;&#10;end.">
  <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="80" PaperHeight="297" PaperSize="256" LeftMargin="4" RightMargin="4" TopMargin="0" BottomMargin="0" ColumnWidth="0" ColumnPositions.Text="" EndlessHeight="True" HGuides.Text="" VGuides.Text="52.91342">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="15.11812" Left="0" Top="260.78757" Width="272.12616" ColumnWidth="0" ColumnGap="0" DataSet="f_data_set" DataSetName="f_data_set" PrintIfDetailEmpty="True" RowCount="0" Stretched="True">
      <TfrxMemoView Name="ADOQuery1waitername" Left="22.67718" Top="0" Width="90.70872" 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="113.3859" Top="0" Width="34.01577" 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" VAlign="vaCenter" Text="[f_data_set.&#34;price&#34;]"/>
      <TfrxMemoView Name="ADOQuery1numschet" Left="147.40167" Top="0" Width="34.01577" 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" VAlign="vaCenter" Text="[f_data_set.&#34;count&#34;]"/>
      <TfrxMemoView Name="Memo2" Left="0" Top="0" Width="22.67718" 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="181.41744" Top="0" Width="37.7953" 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" VAlign="vaCenter" Text="[f_data_set.&#34;summa&#34;]"/>
      <TfrxMemoView Name="Memo39" Left="22.6771653543307" Top="0" Width="45.35433071" Height="15.11810291" Visible="False" StretchMode="smMaxHeight" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="13" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[f_data_set.&#34;d_inf&#34;] "/>
      <TfrxMemoView Name="Memo40" Left="76.34646157" Top="0" Width="30.23621071" Height="15.11810291" Visible="False" StretchMode="smMaxHeight" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="14" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="[f_data_set.&#34;s_inf&#34;] "/>
      <TfrxMemoView Name="Memo41" Left="69.03154" Top="0" Width="7.55906" Height="15.11812" Visible="False" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" Frame.Typ="12" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" VAlign="vaCenter" Text="/"/>
    </TfrxMasterData>
    <TfrxHeader Name="Header1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="71.81107" Left="0" Top="18.89765" Width="272.12616" Child="ChildHead1">
      <TfrxMemoView Name="Memo17" Left="0" Top="15.11812" Width="219.21274" Height="15.11812" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="Счет №: [numschet]"/>
      <TfrxMemoView Name="Memo15" Left="0" Top="26.45671" Width="68.03154" 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="41.57483" Width="68.03154" 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="56.69295" Width="68.03154" 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="68.03154" Top="26.45671" Width="151.1812" 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="68.03154" Top="41.57483" Width="151.1812" 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="68.03154" Top="56.69295" Width="151.1812" 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="215.43321" Height="18.89765" Font.Charset="1" Font.Color="0" Font.Height="-13" 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="222.99227" Visible="False" Width="272.12616" Condition="f_data_set.&#34;dvs_id&#34;">
      <TfrxMemoView Name="frxDBDatasetTabledvsname" Left="0" Top="0" Width="219.21274" Height="15.11812" DataSetName="frxDBDatasetTable" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" 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="131.28355" Left="0" Top="336.37817" Width="272.12616" Stretched="True">
      <TfrxMemoView Name="Memo7" Left="0" Top="0" Width="113.3859" 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="Memo8" Left="117.16543" Top="15.11812" Width="102.04731" 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="[servicesum]"/>
      <TfrxMemoView Name="Memo9" Left="0" Top="15.11812" Width="113.3859" Height="15.11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Обслуживание: [servicepercent]"/>
      <TfrxMemoView Name="Memo10" Left="117.16543" Top="30.23624" Width="102.04731" 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="[discountsum]"/>
      <TfrxMemoView Name="Memo11" Left="0" Top="30.23624" Width="113.3859" Height="15.11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Скидка: [discountpercent]"/>
      <TfrxMemoView Name="Memo12" Left="117.16543" Top="45.35436" Width="102.04731" 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.Typ="8" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" Text="[totalsum]"/>
      <TfrxMemoView Name="Memo21" Left="0" Top="45.35436" Width="113.3859" Height="15.11812" DataSetName="ADOQuery1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Width="2" ParentFont="False" Text="Итого:"/>
      <TfrxMemoView Name="Memo1" Left="117.16543" Top="0" Width="102.04731" 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="[clearsum]"/>
      <TfrxMemoView Name="Memo38" ShiftMode="smWhenOverlapped" Left="0.9448825" Top="67.03154" Width="217.322975" Height="64.25201" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-12" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="[infrow]&#13;&#10;[note]&#13;&#10;Автоматизировано Paloma365.kz">
        <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="298.58287" Visible="False" Width="272.12616">
      <TfrxMemoView Name="Memo34" Left="136.06308" Top="0" Width="83.14962339" Height="15.11810291" 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" 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="136.06308" Height="15.11812" Font.Charset="1" Font.Color="-16777208" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" ParentFont="False" Text="Сумма по &#34;[f_data_set.&#34;dvs_name&#34;]&#34;:"/>
    </TfrxGroupFooter>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="158.74026" Left="0" Top="529.1342" Width="272.12616">
      <TfrxMemoView Name="Memo20" Align="baClient" Left="0" Top="0" Width="272.12616" Height="158.74026" StretchMode="smActualHeight" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="[client_inf]"/>
    </TfrxPageFooter>
    <TfrxChild Name="ChildHead1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="34.01577" Left="0" Top="113.3859" Width="272.12616" Child="ChildHead2" PrintChildIfInvisible="True">
      <TfrxMemoView Name="Memo19" Left="0" Top="0" Width="68.03154" 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="68.03154" Top="0" Width="151.1812" 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" Top="15.11812" Width="68.03154" Height="15.11812" Visible="False" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Кол-во гостей:"/>
      <TfrxMemoView Name="Memo37" Left="68.03154" Top="15.11812" Width="151.1812" 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="30.23624" Left="0" Top="170.07885" Width="272.12616">
      <TfrxMemoView Name="Memo3" Align="baBottom" Left="0" Top="3.77953" Width="22.67718" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" Text="№"/>
      <TfrxMemoView Name="Memo4" Align="baBottom" Left="22.67718" Top="3.77953" Width="90.70872" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" Text="Наименование&#13;&#10;Скидка / Сервис"/>
      <TfrxMemoView Name="Memo5" Align="baBottom" Left="113.3859" Top="3.77953" Width="34.01577" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" Text="Цена"/>
      <TfrxMemoView Name="Memo6" Align="baBottom" Left="147.40167" Top="3.77953" Width="34.01577" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" Text="Кол."/>
      <TfrxMemoView Name="Memo13" Align="baBottom" Left="181.41744" Top="3.77953" Width="37.7953" Height="26.45671" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Frame.Typ="15" Frame.Width="0.5" HAlign="haCenter" ParentFont="False" Text="Сумма"/>
    </TfrxChild>
  </TfrxReportPage>
</TfrxReport>
