<?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="43886,6030845023" ScriptLanguage="PascalScript" ScriptText.Text="&#13;&#10;procedure Memo12OnAfterData(Sender: TfrxComponent);&#13;&#10;begin&#13;&#10; Memo12.Top:=Memo12.Height;&#13;&#10;&#13;&#10;&#13;&#10; if  Memo28.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; //Сумма&#13;&#10; Memo30.Top:=Memo12.Top+Memo30.Height+1;&#13;&#10; Memo1.Top:=Memo30.Top;&#13;&#10; //Сдача&#13;&#10; Memo32.Top:=Memo30.Top+Memo32.Height+1;&#13;&#10; Memo31.Top:=Memo32.Top;&#13;&#10;&#13;&#10; //Итого&#13;&#10; Memo21.Top:=Memo12.Top;&#13;&#10;&#13;&#10; Memo22.Top:=Memo12.Top+Memo12.Height*4+5;&#13;&#10;end;&#13;&#10;&#13;&#10;begin&#13;&#10; ChildHead1.Visible:=Memo27.Visible;&#13;&#10;&#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="" EndlessHeight="True" HGuides.Text="" VGuides.Text="177,63791">
    <TfrxMasterData Name="MasterData1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="15,11810291" Left="0" ParentFont="False" Top="257,00804" Width="219,21274" ColumnWidth="0" ColumnGap="0" DataSet="f_data_set" DataSetName="f_data_set" 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" 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" 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" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="90,70872" Left="0" ParentFont="False" Top="18,89765" Width="219,21274" Child="ChildHead1">
      <TfrxMemoView Name="Memo17" Left="0" Top="18,89765" Width="177,63791" Height="15,11812" DisplayFormat.FormatStr="%g" 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,01577" Width="60,47248" Height="11,33859" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Дата: "/>
      <TfrxMemoView Name="Memo16" Left="0" Top="47,72706667" Width="60,47248" Height="11,33859" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Сотрудник:"/>
      <TfrxMemoView Name="Memo18" Left="0" Top="62,43836333" Width="60,81059706" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Клиент:"/>
      <TfrxMemoView Name="Memo20" Left="0" Top="76,14966" Width="60,22236176" Height="11,33859" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Вид оплаты:"/>
      <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]"/>
      <TfrxMemoView Name="Memo23" Left="60,47248" Top="34,01577" Width="117,16543" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[dtdate]"/>
      <TfrxMemoView Name="Memo24" Left="61,06071529" Top="47,65357667" Width="116,57719471" Height="11,33859" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[waiter]"/>
      <TfrxMemoView Name="Memo25" Left="60,47248" Top="62,29138333" Width="117,16543" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[client]"/>
      <TfrxMemoView Name="Memo26" Left="60,47248" Top="75,92919" Width="117,16543" Height="11,33859" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="1" HAlign="haRight" ParentFont="False" Text="[typepay]"/>
    </TfrxHeader>
    <TfrxFooter Name="Footer1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="177,63791" Left="0" ParentFont="False" Top="332,59864" Width="219,21274">
      <TfrxMemoView Name="Memo7" Left="3,77953" Top="0" Width="105,82684" 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="113,3859" Top="15,11812" Width="64,25201" 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,1" HAlign="haCenter" ParentFont="False" Text="[servicesum]"/>
      <TfrxMemoView Name="Memo9" Left="3,77953" Top="15,11812" Width="105,82684" 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="113,3859" Top="30,23624" Width="64,25201" 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,1" HAlign="haCenter" ParentFont="False" Text="[discountsum]"/>
      <TfrxMemoView Name="Memo11" Left="3,77953" Top="30,23624" Width="105,82684" 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="113,3859" Top="45,35436" Width="64,25201" 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,1" HAlign="haCenter" ParentFont="False" Text="[totalsum]"/>
      <TfrxMemoView Name="Memo21" Left="3,77953" Top="45,35436" Width="105,82684" 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="Memo22" Left="2,35294118" Top="89,65368" Width="175,28496882" Height="52,91342" 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="Memo1" Left="3,77953" Top="60,47248" Width="105,82684" 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="Memo30" Left="113,3859" Top="60,47248" Width="64,25201" 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,1" HAlign="haCenter" ParentFont="False" Text="[sumfromclient]"/>
      <TfrxMemoView Name="Memo31" Left="3,77953" Top="75,5906" Width="105,82684" 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="Memo32" Left="113,3859" Top="75,5906" Width="64,25201" 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,1" HAlign="haCenter" ParentFont="False" Text="[cash]"/>
      <TfrxMemoView Name="Memo28" Left="113,3859" Top="0" Width="64,25201" 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,1" HAlign="haCenter" ParentFont="False" Text="[clearsum]"/>
      <TfrxMemoView Name="memoOFD" Align="baBottom" ShiftMode="smWhenOverlapped" Left="1,41732375" Top="166,29932" Width="176,22058625" Height="11,33859" Visible="False" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Calibri" Font.Style="0" ParentFont="False" Text="Фискальный чек № [ofd_number]&#13;&#10;ИИН/БИН: [bin]&#13;&#10;ИНK: [ink]&#13;&#10;РНK: [rnk]&#13;&#10;ЗНК: [znk]&#13;&#10;Время: [ofd_dt]&#13;&#10;Оператор фискальных данных: АО &#34;Казахтелеком&#34;&#13;&#10;Для проверки чека зайдите на сайт consumer.oofd.kz&#13;&#10;&#13;&#10;*** СПАСИБО ЗА ПОКУПКУ ***">
        <Formats>
          <item/>
          <item/>
          <item/>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
      <TfrxMemoView Name="MemoLoyalty" ShiftMode="smWhenOverlapped" Left="0" Top="141,40167" Width="177,63791" Height="26,45671" StretchMode="smMaxHeight" Font.Charset="1" Font.Color="0" Font.Height="-7" Font.Name="Arial" Font.Style="0" HAlign="haCenter" ParentFont="False" Text="Система лояльности&#13;&#10;[loyalty]">
        <Formats>
          <item/>
          <item/>
        </Formats>
      </TfrxMemoView>
    </TfrxFooter>
    <TfrxGroupHeader Name="GroupHeader1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="15,11812" Left="0" ParentFont="False" Top="219,21274" Visible="False" Width="219,21274" Condition="f_data_set.&#34;dvs_id&#34;">
      <TfrxMemoView Name="Memo33" Left="0" Top="0" Width="177,63791" 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="[f_data_set.&#34;dvs_name&#34;]"/>
    </TfrxGroupHeader>
    <TfrxGroupFooter Name="GroupFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0" Height="15,11812" Left="0" ParentFont="False" Top="294,80334" 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>
    <TfrxPageFooter Name="PageFooter1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="75,5906" Left="0" Top="570,70903" Width="219,21274">
      <TfrxBarCodeView Name="BarCode1" Align="baCenter" Left="58,10637" Top="8,33858999999995" Width="103" Height="45,35436" Visible="False" BarType="bcCodeEAN13" Rotation="0" TestLine="False" Text="3" WideBarRatio="2" Zoom="1" Font.Charset="1" Font.Color="0" Font.Height="-11" Font.Name="Arial" Font.Style="0"/>
    </TfrxPageFooter>
    <TfrxChild Name="ChildHead1" FillType="ftBrush" FillGap.Top="0" FillGap.Left="0" FillGap.Bottom="0" FillGap.Right="0" Height="26,45671" Left="0" Top="132,28355" Width="219,21274" Child="ChildHead2" PrintChildIfInvisible="True">
      <TfrxMemoView Name="Memo19" Left="0" Top="0" Width="67,78142176" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" ParentFont="False" Text="Стол:"/>
      <TfrxMemoView Name="Memo27" Left="68,47248" Top="0" Width="105,82684" Height="15,11812" Font.Charset="1" Font.Color="0" Font.Height="-9" Font.Name="Arial" Font.Style="0" HAlign="haRight" ParentFont="False" Text="[table]"/>
      <TfrxMemoView Name="Memo36" Left="0" Top="13,11812" Width="67,78142176" 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,47248" Top="14,89765" Width="105,82684" Height="15,11812" Visible="False" Font.Charset="1" Font.Color="0" Font.Height="-9" 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="15,11812" Left="0" Top="181,41744" Width="219,21274" PrintChildIfInvisible="True">
      <TfrxMemoView Name="Memo3" Align="baBottom" Left="0" Top="0" Width="18,8976378" 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="0" Width="71,81282757" 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="0" Width="30,2362204724409" 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="0" Width="26,4566929133858" 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="0" Width="30,2362204724409" 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>
  </TfrxReportPage>
</TfrxReport>
