/[papo]/papo/forms/creditNote.neb
ViewVC logotype

Diff of /papo/forms/creditNote.neb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by apronotti, Mon Jul 14 19:06:12 2003 UTC revision 1.16 by apronotti, Wed Jul 23 22:04:52 2003 UTC
# Line 228  Line 228 
228    <!-- Origen de datos que sirve para dar de alta pagos -->    <!-- Origen de datos que sirve para dar de alta pagos -->
229    <datasource name="ownDocumentProceedingDataSource" database="papo" table="own_document_proceeding"/>    <datasource name="ownDocumentProceedingDataSource" database="papo" table="own_document_proceeding"/>
230    
231      <trigger name="recalcTotalTrigger" type="NAMED"><![CDATA[
232        import hack
233        totalBlock.totalEntry = hack.a2f(totalBlock.netoEntry)+hack.a2f(totalBlock.ivaEntry)
234        #payBlock.cashEntry = hack.a2f(totalBlock.totalEntry,2)
235      ]]></trigger>
236    
237    <trigger name="clientCallFormTrigger" type="NAMED"><![CDATA[    <trigger name="clientCallFormTrigger" type="NAMED"><![CDATA[
238      runForm('client.gfd')      runForm('client.gfd')
239    ]]></trigger>    ]]></trigger>
# Line 510  Line 516 
516      <block datasource="ownDocumentDataSource" name="ownDocumentBlock" restrictInsert="">      <block datasource="ownDocumentDataSource" name="ownDocumentBlock" restrictInsert="">
517          <entry field="own_entity" hidden="" name="ownPosEntityIdEntry" x="1" y="1"/>          <entry field="own_entity" hidden="" name="ownPosEntityIdEntry" x="1" y="1"/>
518          <entry field="id" hidden="" name="idEntry" x="1" y="1"/>          <entry field="id" hidden="" name="idEntry" x="1" y="1"/>
         <entry field="net_total" hidden="" name="netTotalEntry" x="1" y="1"/>  
         <entry field="tax_total" hidden="" name="taxTotalEntry" x="1" y="1"/>  
519          <entry field="own_document_type" hidden="" name="typeEntry" x="1" y="1"/>          <entry field="own_document_type" hidden="" name="typeEntry" x="1" y="1"/>
520          <box height="6" label="Datos del Cliente" name="clientRecipientBox" width="103" x="0" y="2">          <box height="6" label="Datos del Cliente" name="clientRecipientBox" width="103" x="0" y="2">
521    
# Line 847  Line 851 
851          <entry name="currencyTypeEntry" field="currency_movement.currency_type" hidden="" x="1" y="1" width="12"/>          <entry name="currencyTypeEntry" field="currency_movement.currency_type" hidden="" x="1" y="1" width="12"/>
852      </block>      </block>
853      <!--     Datasource que sirve para almacenar el resultado de la búsqueda -->      <!--     Datasource que sirve para almacenar el resultado de la búsqueda -->
854        <block datasource="tmpValuesDataSource" name="totalBlock" restrictInsert="">        <block datasource="ownDocumentDataSource" name="totalBlock" restrictInsert="">
855          <label text="Neto " x="55" y="21"/>          <label text="Neto " x="55" y="21"/>
856          <entry name="netoEntry" style="label" readonly="" x="55" y="22" width="12" typecast="number" displaymask="%0.2f"          <entry name="netoEntry" field="net_total" x="55" y="22" width="10" typecast="number" displaymask="%0.2f"
857            default="0.00"/>            default="0.00">
858              <trigger type="PRE-FOCUSOUT" src="recalcTotalTrigger"/>
859            </entry>
860          <label text="IVA " x="66" y="21"/>          <label text="IVA " x="66" y="21"/>
861          <entry name="ivaEntry" style="label" readonly="" x="66" y="22" width="12" typecast="number" displaymask="%0.2f"          <entry name="ivaEntry" field="tax_total" x="66" y="22" width="10" typecast="number" displaymask="%0.2f"
862            default="0.00"/>            default="0.00">
863              <trigger type="PRE-FOCUSOUT" src="recalcTotalTrigger"/>
864            </entry>
865          <label text="Total " x="82" y="21"/>          <label text="Total " x="82" y="21"/>
866          <entry name="totalEntry" style="label" readonly="" x="82" y="22" width="12" typecast="number" displaymask="%0.2f"          <entry name="totalEntry" style="label" readonly="" x="82" y="22" width="10" typecast="number" displaymask="%0.2f"
867            default="0.00"/>            default="0.00"/>
868        </block>        </block>
869      <neb:Sub neb:src="setStock.nebc"   ownDocumentId="ownDocumentBlock.idEntry" storehouseEntityId="ownStorehouseBlock.ownStorehouseIdEntry"      <neb:Sub neb:src="setStock.nebc"   ownDocumentId="ownDocumentBlock.idEntry" storehouseEntityId="ownStorehouseBlock.ownStorehouseIdEntry"

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26