<?xml version="1.0" encoding="UTF-8"?>
<part class="form">
  <style>
    <property name="Geometry">{250,34,1021,650}</property>
    <property name="Name">[vdadsc]</property>
    <property name="Caption">[Valor Pago no Plano de Pagamento]</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}</property>
    <property name="FromStyle">[Popup]</property>
    <property name="Clipsiblings">.F.</property>
    <property name="Clipchildren">.F.</property>
    <property name="TitleBar">.F.</property>
    <property name="StyleBorder">[3 - Sizable (Default)]</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">.F.</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="editbox">
    <style>
      <property name="Geometry">{105,243,350,85}</property>
      <property name="Name">[ofpercdesc]</property>
      <property name="varName">[m_fpercdesc]</property>
      <property name="font">
        <font name="Arial" width="0" height="-64" weight="400"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 99.99]</property>
      <property name="TabIndex">1</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[.F.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{530,243,350,85}</property>
      <property name="Name">[ofdesconto]</property>
      <property name="varName">[m_fdesconto]</property>
      <property name="font">
        <font name="Arial" width="0" height="-64" weight="400"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 999,999.99]</property>
      <property name="TabIndex">2</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.F.]]>
    </method>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{105,362,350,85}</property>
      <property name="Name">[oFacrescimo]</property>
      <property name="varName">[m_facrescimo]</property>
      <property name="font">
        <font name="Arial" width="0" height="-64" weight="400"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 999,999.99]</property>
      <property name="TabIndex">3</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{530,362,350,85}</property>
      <property name="Name">[ofValLiquido]</property>
      <property name="varName">[m_fValLiquido]</property>
      <property name="font">
        <font name="Arial" width="0" height="-64" weight="400"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 999,999.99]</property>
      <property name="TabIndex">4</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{55,521,380,100}</property>
      <property name="Name">[ofvalpago]</property>
      <property name="varName">[m_fvalpago]</property>
      <property name="font">
        <font name="Arial" width="0" height="-80" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 999,999.99]</property>
      <property name="TabIndex">5</property>
    </style>
    <method name="onLostFocus">
      <![CDATA[m_ftroco:=m_fvalpago-m_fValLiquido
OFTROCO:Refresh()
RETURN (M_FVALPAGO>=M_FVAL-M_FDESCONTO+M_MFACRESCIMO).AND.CRIT_FDESCONTO("VPG",M_FVALPAGO)
]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{867,492,130,69}</property>
      <property name="Name">[oButtonex1]</property>
      <property name="Id">[IDOK]</property>
      <property name="Caption">[C&amp;onfirma]</property>
      <property name="font">
        <font name="Arial" width="0" height="-27" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">6</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{292,79,640,114}</property>
      <property name="Name">[ofval]</property>
      <property name="_InitValue">[89.10]</property>
      <property name="varName">[m_fval]</property>
      <property name="TextColor">16777215</property>
      <property name="BackColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-96" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@e 999,999.99]</property>
      <property name="nMaxLength">10</property>
      <property name="Border">.F.</property>
      <property name="TabIndex">9</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.f.]]>
    </method>
  </part>
  <part class="buttonex">
    <style>
      <property name="Geometry">{867,574,123,69}</property>
      <property name="Name">[oButtonex2]</property>
      <property name="Id">[IDCANCEL]</property>
      <property name="Caption">[&amp;Cancela]</property>
      <property name="font">
        <font name="Arial" width="0" height="-27" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">38</property>
    </style>
    <method name="onClick">
      <![CDATA[ConfirmeCancelarVenda('PermitaVoltarAosPlanosPag')]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{7,4,842,72}</property>
      <property name="Name">[oLabel1]</property>
      <property name="Caption">[(Str(m_fplanopag,3)+&apos;-&apos;+p_pdesc)]</property>
      <property name="TextColor">4194304</property>
      <property name="font">
        <font name="Arial" width="0" height="-53" weight="700"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">39</property>
    </style>
  </part>
  <part class="editbox">
    <style>
      <property name="Geometry">{457,521,380,100}</property>
      <property name="Name">[oFtroco]</property>
      <property name="varName">[m_Ftroco]</property>
      <property name="font">
        <font name="Arial" width="0" height="-80" weight="700"/>
      </property>
      <property name="Justify">[Right]</property>
      <property name="cPicture">[@E 999,999.99]</property>
      <property name="TabIndex">40</property>
    </style>
    <method name="onGetFocus">
      <![CDATA[.F.]]>
    </method>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{105,212,166,30}</property>
      <property name="Name">[oLabel2]</property>
      <property name="Caption">[% Desconto]</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">45</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{530,212,251,30}</property>
      <property name="Name">[oLabel3]</property>
      <property name="Caption">[Valor do Desconto]</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">46</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{530,331,221,30}</property>
      <property name="Name">[oLabel4]</property>
      <property name="Caption">[Valor Líquido]</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">47</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{55,480,174,38}</property>
      <property name="Name">[oLabel5]</property>
      <property name="Caption">[Valor Pago]</property>
      <property name="font">
        <font name="Arial" width="0" height="-29" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">48</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{457,480,136,41}</property>
      <property name="Name">[oLabel6]</property>
      <property name="Caption">[Troco]</property>
      <property name="font">
        <font name="Arial" width="0" height="-29" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">49</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{36,82,251,109}</property>
      <property name="Name">[oLabel7]</property>
      <property name="Caption">[Total:]</property>
      <property name="Justify">[Right]</property>
      <property name="font">
        <font name="Arial" width="0" height="-96" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">51</property>
    </style>
  </part>
  <part class="label">
    <style>
      <property name="Geometry">{105,331,64,30}</property>
      <property name="Name">[oLabel8]</property>
      <property name="Caption">[TAC]</property>
      <property name="font">
        <font name="Arial" width="0" height="-24" weight="400"/>
      </property>
      <property name="Transparent">.T.</property>
      <property name="TabIndex">53</property>
    </style>
  </part>
</part>
