<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{429,50,624,566}</property>
    <property name="Name">[dlgvenda]</property>
    <property name="Caption">[]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.T.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.F.</property>
    <property name="lExitOnEnter">.F.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.T.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</property>
    <property name="nBackColor">14870505</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\telafpop.jpg]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.F.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.T.</property>
    <property name="AbsAlignment">.T.</property>
    <property name="WindowState">[1 - Normal (Default)]</property>
    <property name="minHeight">-1</property>
    <property name="maxHeight">-1</property>
    <property name="minWidth">-1</property>
    <property name="maxWidth">-1</property>
    <property name="ScrollBars">[0 - None (Default)]</property>
    <property name="DSControl">.F.</property>
  </style>
  <method name="onDlgInit">
    <![CDATA[oButtonex2:SETFOCUS()]]>
  </method>
  <part class="buttonex">
    <style>
      <property name="Geometry">{13,13,257,178}</property>
      <property name="Name">[oButtonex2]</property>
      <property name="Caption">[VENDER]</property>
      <property name="font">
        <font name="Arial" width="0" height="-21" weight="700"/>
      </property>
      <property name="WordWrap">.T.</property>
      <property name="Bitmap">[..\xml\icon\venda.gif]</property>
      <property name="PicturePosition">[1-Center]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Fazer Venda com o FCIA. POP.]</property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onClick">
      <![CDATA[IF s_sys_paf
   vb_venda("V",,,,,,"FPOPULAR")
ELSE
   IF sFgNFC
      IF xGetEnv('ESTACAO_NFC')<>'S'
         wFgVaiGerarNFC:=.t.
      ELSE
         wFgVaiGerarNFC:=.f.
      ENDIF
      vb_venda("MV",,,,,"/PN/","FPOPULAR")
      wFgVaiGerarNFC:=.f.
   else
      vb_venda("V",,,,,"/PREVENDA/","FPOPULAR")
   ENDIF
ENDIF


]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{13,243,259,54}</property>
      <property name="Name">[oButtonex4]</property>
      <property name="Caption">[1.Vendas F.Popular por Periodo]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-11" weight="700"/>
      </property>
      <property name="PicturePosition">[2-Right]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Relatorio de vendas no Fpop]</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onClick">
      <![CDATA[Relat('lst_exec("VENDAFPO")','nb')                                              ]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{13,306,259,53}</property>
      <property name="Name">[oButtonex1]</property>
      <property name="Caption">[2.Clientes com Recompra Provavel]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-11" weight="700"/>
      </property>
      <property name="PicturePosition">[2-Right]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Relatorio de clientes com recompra provavel]</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onClick">
      <![CDATA[Relat('lst_exec("FPOPPOSV")','nb')                                              ]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{13,371,259,54}</property>
      <property name="Name">[oButtonex3]</property>
      <property name="Caption">[3.Lista Produtos F.Popular]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-11" weight="700"/>
      </property>
      <property name="PicturePosition">[2-Right]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Relatorio de Produtos F.Popular]</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onClick">
      <![CDATA[Relat('lst_exec("FPOPLIST")','nb')                                              ]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{13,434,259,60}</property>
      <property name="Name">[oFpopAntigo]</property>
      <property name="Caption">[4.Historico Vendas F.Popular]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-11" weight="700"/>
      </property>
      <property name="PicturePosition">[2-Right]</property>
      <property name="Transparent">.T.</property>
      <property name="ToolTip">[Historico Vendas F.Popular]</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onClick">
      <![CDATA[CiBrow("VB_FPOP",,"VB_FPOP0")                                                               ]]>
    </method>
  </part>
  <part class="link">
    <style>
      <property name="Geometry">{38,530,216,31}</property>
      <property name="Name">[oLink1]</property>
      <property name="Caption">[.: Acessar Site :.]</property>
      <property name="Link">
[https://farmaciapopular-portal.saude.gov.br/farmaciapopular-portal/login.jsf]      </property>
      <property name="TextColor">16777215</property>
      <property name="font">
        <font name="Bebas Neue Bold" width="0" height="-27" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="LinkColor">8404992</property>
      <property name="ToolTip">[Acessar o site do FCIA. POP.]</property>
      <property name="TabIndex">7</property>
    </style>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{320,530,275,33}</property>
      <property name="Name">[oButtonex5]</property>
      <property name="Caption">[Esc - Sair]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-11" weight="400"/>
      </property>
      <property name="ToolTip">[Fecha Tela]</property>
      <property name="TabIndex">99</property>
    </style>
    <method name="onClick">
      <![CDATA[keyb_event( 27 )]]>
    </method>
  </part>
</part>
