<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{542,63,492,537}</property>
    <property name="Name">[dlgcaixa]</property>
    <property name="Caption">[Controle Vale Gas]</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">.F.</property>
    <property name="StyleBorder">[0 - No Border]</property>
    <property name="nBackColor">14870505</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\tela.jpg]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.F.</property>
    <property name="Minimizebox">.F.</property>
    <property name="Maximizebox">.F.</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>
  <part class="buttonex">
    <style>
      <property name="Geometry">{370,487,99,41}</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="-15" weight="400"/>
      </property>
      <property name="ToolTip">[Fecha Tela]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[keyb_event( 27 )]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{13,487,90,41}</property>
      <property name="Name">[oButtonex3]</property>
      <property name="Caption">[&amp;5-Remessa]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-15" weight="400"/>
      </property>
      <property name="ToolTip">[Orcamento de Venda de Vale Gas]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[if xGetEnv("FATURA_SERVICOS")="S"
   vb_venda("S","VENDA")
endif
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{108,487,81,41}</property>
      <property name="Name">[oButtonex4]</property>
      <property name="Caption">[&amp;6-Resgate]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-15" weight="400"/>
      </property>
      <property name="ToolTip">[Orcamento de Resgate de Vale Gas]</property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[if xGetEnv("FATURA_SERVICOS")="S"
   vb_venda("S","RESGATE")
endif
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{196,487,103,41}</property>
      <property name="Name">[oButtonex6]</property>
      <property name="Caption">[&amp;7-TeleVendas]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-15" weight="400"/>
      </property>
      <property name="ToolTip">
[Orcamento de Venda ou Resgate de Vale Gas via TeleVendas]      </property>
      <property name="TabIndex">10</property>
    </style>
    <method name="onClick">
      <![CDATA[vb_clitv()]]>
    </method>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{13,77,456,398}</property>
      <property name="Name">[oGroup4]</property>
      <property name="TextColor">4194304</property>
      <property name="Transparent">.T.</property>
      <property name="font">
        <font name="Arial" width="0" height="-16" weight="700"/>
      </property>
      <property name="TabIndex">14</property>
    </style>
    <part class="buttonex">
      <style>
        <property name="Geometry">{24,104,427,71}</property>
        <property name="Name">[oButtonex1]</property>
        <property name="Caption">[&amp;1 - NFC de Venda]</property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-32" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">[Registra NFC referente a Venda de produtos]</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onClick">
        <![CDATA[   IF sFgNFC
      IF xGetEnv('ESTACAO_NFC')<>'S'
         wFgVaiGerarNFC:=.t.
      ELSE
         wFgVaiGerarNFC:=.f.
      ENDIF
      vb_venda("MV","VENDA",,,,"/PN/")
      wFgVaiGerarNFC:=.f.
   else
      ALERT("Seu sistema precisa ser configurado para usar NFC")
   ENDIF]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{24,194,427,71}</property>
        <property name="Name">[oButtonex2]</property>
        <property name="Caption">[&amp;2 - NFC Resgate de Vale-Gas]</property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-32" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Gera Saida do Estoque referente a Resgate de Vale-Gas previamente vendidos]        </property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onClick">
        <![CDATA[   IF sFgNFC
      IF xGetEnv('ESTACAO_NFC')<>'S'
         wFgVaiGerarNFC:=.t.
      ELSE
         wFgVaiGerarNFC:=.f.
      ENDIF
      vb_venda("MV","RESGATE",,,,"/PN/")
      wFgVaiGerarNFC:=.f.
   else
      ALERT("Seu sistema precisa ser configurado para usar NFC")
   ENDIF]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{24,286,427,71}</property>
        <property name="Name">[oButtonex13]</property>
        <property name="Caption">[&amp;3 - Cadastrar Vale-Gas]</property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-32" weight="700"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">[Cadastra ou Altera Situacao de Vale-Gas]</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onClick">
        <![CDATA[CiBrow("VB_VLCMP")]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{24,375,191,71}</property>
        <property name="Name">[oButtonex12]</property>
        <property name="Caption">[&amp;4 - Relatorio Posicao Vale-Gas]</property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-19" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Lista Situacao dos Vale-Gas, os que foram vendidos, ja atendidos, etc...]        </property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onClick">
        <![CDATA[Relat('lst_exec("VB_VLCMP")',"NB",.t.,"X")]]>
      </method>
    </part>
    <part class="buttonex">
      <style>
        <property name="Geometry">{250,375,201,71}</property>
        <property name="Name">[oButtonex7]</property>
        <property name="Caption">[&amp;8 - Imprimir Cupom de Venda/Resgate]</property>
        <property name="TextColor">4194304</property>
        <property name="font">
          <font name="Calibri" width="0" height="-19" weight="700"/>
        </property>
        <property name="WordWrap">.T.</property>
        <property name="Transparent">.T.</property>
        <property name="ToolTip">
[Lista Situacao dos Vale-Gas, os que foram vendidos, ja atendidos, etc...]        </property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onClick">
        <![CDATA[Relat("vb_r4()","NB",.t.,"X")]]>
      </method>
    </part>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{13,2,456,76}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Controle de Vale-Gas]</property>
      <property name="Justify">[Center]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Calibri" width="0" height="-48" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">15</property>
    </style>
  </part>
</part>
