<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{108,56,964,554}</property>
    <property name="Name">[qtdeb_getcupom]</property>
    <property name="Caption">[Quitacao por Cupons]</property>
    <property name="AlwaysOnTop">.F.</property>
    <property name="AutoCenter">.T.</property>
    <property name="Font">
      <font name="Arial" width="0" height="-21" 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}</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">16777215</property>
    <property name="Icon">[]</property>
    <property name="Bitmap">[icon\tel_principal.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>
  <method name="onFormInit">
    <![CDATA[parameters o, p1
modus:=p1]]>
  </method>
  <method name="onDlgInit">
    <![CDATA[if(modus<>NIL,SetWindowText( oDlg:handle, modus ),)
SET(5,1960) ]]>
  </method>
  <part class="line">
    <style>
      <property name="Geometry">{7,495,939,2}</property>
      <property name="Name">[oLine1]</property>
    </style>
  </part>
  <part class="group">
    <style>
      <property name="Geometry">{7,68,939,415}</property>
      <property name="Name">[oGroup1]</property>
      <property name="TabIndex">1</property>
    </style>
    <part class="editbox">
      <style>
        <property name="Geometry">{26,129,908,121}</property>
        <property name="Name">[om_Leitura]</property>
        <property name="varName">[m_Leitura]</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-80" weight="700"/>
        </property>
        <property name="Justify">[Center]</property>
        <property name="cPicture">[XXXXXXXXXXXXXXXXXX]</property>
        <property name="nMaxLength">18</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">1</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
return eval(_bv01)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{26,81,908,45}</property>
        <property name="Name">[oSaym_Leitura]</property>
        <property name="Caption">[Leitura Optica]</property>
        <property name="Justify">[Center]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-27" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">2</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{26,330,102,121}</property>
        <property name="Name">[om_floja]</property>
        <property name="varName">[m_floja]</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-80" weight="700"/>
        </property>
        <property name="cPicture">[99]</property>
        <property name="nMaxLength">2</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">2</property>
      </style>
      <method name="onGetFocus">
        <![CDATA[//
return empty(m_Leitura)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{40,283,78,45}</property>
        <property name="Name">[oSaym_floja]</property>
        <property name="Caption">[Loja]</property>
        <property name="Justify">[Center]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-27" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">3</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{139,330,474,121}</property>
        <property name="Name">[om_cr_num_ped]</property>
        <property name="varName">[m_cr_num_ped]</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-80" weight="700"/>
        </property>
        <property name="cPicture">[XXXXXXXXXX]</property>
        <property name="nMaxLength">10</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">3</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
return PSQ_BROW('SCCRDUP','PSCCRDUP','M_CR_NUM_PED','N','S',8,13,'','','',,om_cr_num_ped,).AND.(M_FCLI:=SCCRDUP->CR_COD_CLI,REFRESHGETLIST())]]>
      </method>
      <method name="onGetFocus">
        <![CDATA[//
return empty(m_Leitura).or.!DbSeek(m_cr_num_ped)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{139,283,474,45}</property>
        <property name="Name">[oSaym_cr_num_ped]</property>
        <property name="Caption">[Parcela do Carnę]</property>
        <property name="Justify">[Center]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-27" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">4</property>
      </style>
    </part>
    <part class="editbox">
      <style>
        <property name="Geometry">{641,330,274,121}</property>
        <property name="Name">[om_fcli]</property>
        <property name="varName">[m_fcli]</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-80" weight="700"/>
        </property>
        <property name="cPicture">[999999]</property>
        <property name="nMaxLength">6</property>
        <property name="3DLook">.T.</property>
        <property name="TabIndex">4</property>
      </style>
      <method name="onLostFocus">
        <![CDATA[//
return PSQ_BROW('SCCRCLI','PSCCRCLI','M_FCLI','N','N',8,13,'','','',,om_fcli,).AND.SCCRCLI->(GETMATRICCONVENIADO(M_FCLI,CR_NOME,CR_TIP_CLI)).AND.EVAL(BGETDUPABERTAS)]]>
      </method>
    </part>
    <part class="label">
      <style>
        <property name="Geometry">{641,283,274,45}</property>
        <property name="Name">[oSaym_fcli]</property>
        <property name="Caption">[Código do Cliente]</property>
        <property name="Justify">[Center]</property>
        <property name="BackColor">16777215</property>
        <property name="font">
          <font name="Segoe UI" width="0" height="-27" weight="400"/>
        </property>
        <property name="Transparent">.T.</property>
        <property name="TabIndex">5</property>
      </style>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{616,330,20,22}</property>
        <property name="Name">[obom_cr_num_ped]</property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">6</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('SCCRDUP','PSCCRDUP','M_CR_NUM_PED','N','S',8,13,'','','','EXIBA',om_cr_num_ped,)]]>
      </method>
    </part>
    <part class="ownerbutton">
      <style>
        <property name="Geometry">{917,330,20,22}</property>
        <property name="Name">[obom_fcli]</property>
        <property name="BtnBitmap">[smPreview]</property>
        <property name="lResource">.T.</property>
        <property name="TabIndex">7</property>
      </style>
      <method name="onClick">
        <![CDATA[PSQ_BROW('SCCRCLI','PSCCRCLI','M_FCLI','N','N',8,13,'','','','EXIBA',om_fcli,)]]>
      </method>
    </part>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{14,7,877,61}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[Pagamento de Carnę com Leitura Optica]</property>
      <property name="Justify">[Center]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">16777215</property>
      <property name="font">
        <font name="Segoe UI" width="0" height="-37" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">3</property>
    </style>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{901,503,40,40}</property>
      <property name="Name">[oButtonex1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[&amp;O]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-1" weight="700"/>
      </property>
      <property name="Bitmap">[icon\confirmar.jpg]</property>
      <property name="Icon">[icon\produto.ico]</property>
      <property name="ToolTip">[Confirmar Cadastro ou Alteracao]</property>
      <property name="TabIndex">25</property>
    </style>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{857,503,40,40}</property>
      <property name="Name">[oButtonex2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[]</property>
      <property name="Anchor">9</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-1" weight="400"/>
      </property>
      <property name="Bitmap">[icon\cancelar.jpg]</property>
      <property name="Icon">[icon\produto.ico]</property>
      <property name="ToolTip">[Sair ou Cancelar Alteracao]</property>
      <property name="TabIndex">26</property>
    </style>
  </part>
</part>
