<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{362,93,885,357}</property>
    <property name="Name">[SCCPPEDG.tel]</property>
    <property name="Caption">[Pagamento Avulso]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Courier New" width="0" height="-12" weight="400"/>
    </property>
    <property name="FormType">[dlgModal]</property>
    <property name="Modal">.F.</property>
    <property name="ScopeVarObj">[Local]</property>
    <property name="lClipper">.T.</property>
    <property name="lExitOnEnter">.T.</property>
    <property name="lExitOnESC">.T.</property>
    <property name="Variables">
{modus,osoSayCP_COD_FOR,osoSayCP_DIVISAO,osoSayCP_LOCAL}    </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="Icon">[]</property>
    <property name="NoIcon">.F.</property>
    <property name="SystemMenu">.T.</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>
  <method name="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
//skel VARIAVEL m_si_numfech = s_cx_numfech
//skel VARIAVEL M_SI_CAIXA = S_VB_NCAIX
//skel VARIAVEL M_floja = s_vb_filia
//skel VARIAVEL M_cr_tip_dup = 'ES-Especie'
//skel VARIAVEL m_fdataemi = S_DATUAL
//skel VARIAVEL m_cr_dt_lqd = S_DATUAL
//skel VARIAVEL m_fobs = 'SANGRIA '+sys_usuario
//skel VARIAVEL m_cr_num_ped = "CXSG"+right(dtos(s_datual),6)
//skel VARIAVEL m_fhora = time()
//skel VARIAVEL vOpcoes := {Pad('ES-Especie',13),Pad('CH-Cheque',13), Pad('CT-Cartao',13)}
//skel COMANDO DEPOIS znil = if(s_sys_paf, oECF:Sangria( StrTran(Str(m_cr_valor,10,2),'.',',') )  , '')
aCbm_cr_tip_dup := vOpcoes
ocr_tip_dup:aitems := aCbm_cr_tip_dup
ocr_tip_dup:Requery() 
ocr_tip_dup:lText := (ValType(m_cr_tip_dup)="C")
ocr_tip_dup:SetValue( m_cr_tip_dup ) 
ocr_tip_dup:Refresh() 
oChkPrtRecibo:Hide()
SET(5,1960) ]]>
  </method>
  <part class="group">
    <style>
      <property name="Geometry">{6,3,875,309}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="label">
      <style>
        <property name="Geometry">{28,28,94,22}</property>
        <property name="Name">[oSayCP_COD_FOR]</property>
        <property name="Caption">[Fornecedor:]</property>
        <property name="Justify">[Right]</property>
        <property name="font">
          <font name="Lucida Sans" width="0" height="-16" weight="400"/>
        </property>
        <property name="TabIndex">7</property>
      </style>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{14,70,108,22}</property>
        <property name="Name">[oSayCP_DIVISAO]</property>
        <property name="Caption">[Centro Custo:]</property>
        <property name="Justify">[Right]</property>
        <property name="font">
          <font name="Lucida Sans" width="0" height="-16" weight="400"/>
        </property>
        <property name="TabIndex">8</property>
      </style>
    </part>
    <part class="combobox">
      <style>
        <property name="Geometry">{126,70,162,28}</property>
        <property name="Name">[oCr_tip_dup]</property>
        <property name="varName">[m_cr_tip_dup]</property>
        <property name="ColumnWidth">166</property>
        <property name="Items">{}</property>
        <property name="DisplayCount">3</property>
        <property name="font">
          <font name="Lucida Sans Unicode" width="0" height="-16" weight="700"/>
        </property>
        <property name="lEdit">.T.</property>
        <property name="FormatText">[UPPERCASE]</property>
        <property name="TabIndex">8</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return (MyKeyb(Chr(32)),.t.)]]>
      </method>
      <method name="onInteractiveChange">
        <![CDATA[Parameters value,ocr_tip_dup
XmlChecaComboBox(value,ocr_tip_dup,aCbm_cr_tip_dup) ]]>
      </method>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{180,218,200,30}</property>
        <property name="Name">[oCr_VALOR]</property>
        <property name="varName">[m_Cr_VALOR]</property>
        <property name="font">
          <font name="Lucida Sans Unicode" width="0" height="-19" weight="700"/>
        </property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[@e 999,999.99]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[RETURN Chk_LastKey(5).OR.m_cr_valor>0.or.(ALERT("Por favor, informe o valor da Sangria"),.f.)]]>
      </method>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{126,28,200,30}</property>
        <property name="Name">[ofObs]</property>
        <property name="varName">[m_fObs]</property>
        <property name="font">
          <font name="Lucida Sans Unicode" width="0" height="-19" weight="700"/>
        </property>
        <property name="Justify">[Right]</property>
        <property name="cPicture">[@e 999,999.99]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">9</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[RETURN Chk_LastKey(5).OR.m_cr_valor>0.or.(ALERT("Por favor, informe o valor da Sangria"),.f.)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{16,218,160,30}</property>
        <property name="Name">[oSayCP_VALOR]</property>
        <property name="Caption">[Valor da Sangria:]</property>
        <property name="Justify">[Right]</property>
        <property name="font">
          <font name="Lucida Sans" width="0" height="-19" weight="400"/>
        </property>
        <property name="TabIndex">10</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{180,270,629,30}</property>
        <property name="Name">[oCr_Obs]</property>
        <property name="varName">[m_cr_obs]</property>
        <property name="font">
          <font name="Lucida Sans Unicode" width="0" height="-19" weight="700"/>
        </property>
        <property name="FormatText">[UPPERCASE]</property>
        <property name="nMaxLength">30</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">11</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[eVal(z_blkdesc)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{51,270,125,30}</property>
        <property name="Name">[oSayCP_DESC]</property>
        <property name="Caption">[Observacoes:]</property>
        <property name="Justify">[Right]</property>
        <property name="font">
          <font name="Lucida Sans" width="0" height="-19" weight="400"/>
        </property>
        <property name="TabIndex">12</property>
      </style>
    </part>
    <part class="group">
      <style>
        <property name="Geometry">{639,10,236,190}</property>
        <property name="Name">[oGroup2]</property>
        <property name="TabIndex">1002</property>
      </style>
      <part class="editbox">
        <style>
          <property name="Geometry">{767,26,100,20}</property>
          <property name="Name">[oCr_NUM_PED]</property>
          <property name="varName">[m_cr_num_ped]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="600"/>
          </property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">1</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{767,77,100,20}</property>
          <property name="Name">[ofHora]</property>
          <property name="varName">[m_fhora]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="600"/>
          </property>
          <property name="cPicture">[xx:xx:xx]</property>
          <property name="nMaxLength">10</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">2</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{683,28,80,16}</property>
          <property name="Name">[oSayCP_NUM_PED]</property>
          <property name="Caption">[Lancamento]</property>
          <property name="Justify">[Right]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="400"/>
          </property>
          <property name="TabIndex">2</property>
        </style>
      </part>
      <part class="datepicker">
        <style>
          <property name="Geometry">{767,51,100,20}</property>
          <property name="Name">[ofDataEmi]</property>
          <property name="varName">[m_fdataemi]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="600"/>
          </property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">3</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.F.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{729,79,34,16}</property>
          <property name="Name">[oSayCP_DUPLIC]</property>
          <property name="Caption">[Hora]</property>
          <property name="Justify">[Right]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="400"/>
          </property>
          <property name="TabIndex">3</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{705,52,58,16}</property>
          <property name="Name">[oSayCP_DT_EMIS]</property>
          <property name="Caption">[Emissao]</property>
          <property name="Justify">[Right]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="400"/>
          </property>
          <property name="TabIndex">4</property>
        </style>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{767,150,21,18}</property>
          <property name="Name">[osi_caixa]</property>
          <property name="varName">[m_si_caixa]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="600"/>
          </property>
          <property name="nMaxLength">2</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{767,129,21,18}</property>
          <property name="Name">[ofLoja]</property>
          <property name="varName">[m_floja]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="600"/>
          </property>
          <property name="nMaxLength">2</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">12</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="editbox">
        <style>
          <property name="Geometry">{767,172,100,18}</property>
          <property name="Name">[osi_numfech]</property>
          <property name="varName">[m_si_numfech]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="600"/>
          </property>
          <property name="nMaxLength">6</property>
          <property name="3DLook">.T.</property>
          <property name="TabIndex">13</property>
        </style>
        <method name="onGetFocus">
          <![CDATA[.f.]]>
        </method>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{724,149,38,16}</property>
          <property name="Name">[oSaysi_caixa]</property>
          <property name="Caption">[Caixa]</property>
          <property name="Justify">[Right]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="400"/>
          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{724,129,38,16}</property>
          <property name="Name">[oLabel2]</property>
          <property name="Caption">[Loja]</property>
          <property name="Justify">[Right]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="400"/>
          </property>
          <property name="TabIndex">13</property>
        </style>
      </part>
      <part class="label">
        <style>
          <property name="Geometry">{678,174,84,16}</property>
          <property name="Name">[oSaysi_numfech]</property>
          <property name="Caption">[Fechamento]</property>
          <property name="Justify">[Right]</property>
          <property name="font">
            <font name="Lucida Sans" width="0" height="-13" weight="400"/>
          </property>
          <property name="TabIndex">14</property>
        </style>
      </part>
    </part>
    <part class="checkbox">
      <style>
        <property name="Geometry">{639,229,234,29}</property>
        <property name="Name">[oChkPrtRecibo]</property>
        <property name="varName">[vCheck1]</property>
        <property name="Caption">[Imprimir Recibo]</property>
        <property name="font">
          <font name="Lucida Sans" width="0" height="-19" weight="400"/>
        </property>
        <property name="TabIndex">1003</property>
      </style>
    </part>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{657,314,100,40}</property>
      <property name="Name">[oOwnerbutton1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[Confirma]</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="700"/>
      </property>
      <property name="TabIndex">1000</property>
    </style>
  </part>
  <part class="button">
    <style>
      <property name="Geometry">{773,314,100,40}</property>
      <property name="Name">[oOwnerbutton2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[Cancela]</property>
      <property name="font">
        <font name="" width="0" height="-16" weight="400"/>
      </property>
      <property name="TabIndex">1001</property>
    </style>
  </part>
</part>
