/[papo]/papo/forms/productInvoice.gfd
ViewVC logotype

Diff of /papo/forms/productInvoice.gfd

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

revision 1.41 by apronotti, Thu Feb 27 18:05:38 2003 UTC revision 1.42 by apronotti, Mon Mar 10 21:25:42 2003 UTC
# Line 556  Line 556 
556    
557      exec(sourceCode)      exec(sourceCode)
558      ownItemBlock.taxAmountEntry = hack.a2f(graft(ourIVACond,alienIVACond,amount,taxPercent))      ownItemBlock.taxAmountEntry = hack.a2f(graft(ourIVACond,alienIVACond,amount,taxPercent))
559        ownItemBlock.itemNetoEntry = lItemPrice
560      ownItemBlock.itemTotalEntry = lItemPrice + hack.a2f(ownItemBlock.taxAmountEntry)      ownItemBlock.itemTotalEntry = lItemPrice + hack.a2f(ownItemBlock.taxAmountEntry)
561    
562      lTNeto = 0      lTNeto = 0
# Line 854  Line 855 
855        <!-- Fecha de la factura -->        <!-- Fecha de la factura -->
856        <block name="tmpBlock" datasource="tmpValuesDataSource" transparentBlock="">        <block name="tmpBlock" datasource="tmpValuesDataSource" transparentBlock="">
857          <label name="dateLbl" text="Fecha" x="1" y="1" />          <label name="dateLbl" text="Fecha" x="1" y="1" />
858          <entry name="tmpDateEntry" style="label" typecast="date"          <entry name="tmpDateEntry" typecast="date"
859            rows="10" width="24" x="7" y="1"/>            width="14" x="7" y="1"/>
860        </block>        </block>
861    
862        <!-- # de factura -->        <!-- # de factura -->
# Line 1091  Line 1092 
1092    
1093    
1094          <label name="ivaLbl" text="IVA" x="66" y="10"/>          <label name="ivaLbl" text="IVA" x="66" y="10"/>
1095          <entry name="ivaEntry" style="label" displaymask="%0.0f"          <entry name="ivaEntry" displaymask="%0.0f"
1096            rows="10" width="2" x="66" y="11" default="0">            rows="10" width="3" x="66" y="11" default="0">
1097              <trigger name="ivaEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger" />
1098          </entry>          </entry>
1099          <label name="discountLbl" text="Descuento" x="71" y="10"/>          <label name="discountLbl" text="Dto." x="70" y="10"/>
1100          <entry field="own_item.discount" name="discountEntry" default="0.00" typecast="number" displaymask="%0.2f"          <entry field="own_item.discount" name="discountEntry" default="0.00" typecast="number" displaymask="%0.2f"
1101            rows="10" width="10" x="71" y="11">            rows="10" width="6" x="69" y="11">
1102            <trigger name="discountEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger" />            <trigger name="discountEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger" />
1103           </entry>           </entry>
1104  <!--         <label name="bonusLbl" text="Bonif." x="79" y="10"/> -->  <!--         <label name="bonusLbl" text="Bonif." x="79" y="10"/> -->
1105          <entry field="own_item.bonus" name="bonusEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f"          <entry field="own_item.bonus" name="bonusEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f"
1106            rows="10" width="10" x="79" y="11" hidden=""/>            rows="10" width="10" x="79" y="11" hidden=""/>
1107          <label name="itemTotalLbl" text="Total" x="82" y="10"/>          <label name="itemNetolLbl" text="Neto" x="76" y="10"/>
1108            <entry name="itemNetoEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f"
1109              rows="10" width="10" x="76" y="11"/>
1110            <label name="itemTotalLbl" text="Total" x="85" y="10"/>
1111          <entry name="itemTotalEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f"          <entry name="itemTotalEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f"
1112            rows="10" width="10" x="82" y="11">            rows="10" width="10" x="85" y="11">
1113          </entry>          </entry>
1114          <button name="prodDeleteButton" trigger="prodDeleteTrigger" label="Borrar" width="7" height="10" x="93" y="11"/>          <button name="prodDeleteButton" trigger="prodDeleteTrigger" label="Borrar" width="7" height="10" x="95" y="11"/>
1115          <scrollbar page="5" x="103" y="11" width="1" height="10"/>          <scrollbar page="5" x="103" y="11" width="1" height="10"/>
1116        </block>        </block>
1117      <!--     Bloques que sirven para el pago -->          <!--     Bloques que sirven para el pago -->    
# Line 1123  Line 1128 
1128      </block>      </block>
1129      <!--     Datasource que sirve para almacenar el resultado de la búsqueda -->      <!--     Datasource que sirve para almacenar el resultado de la búsqueda -->
1130        <block datasource="tmpValuesDataSource" name="totalBlock" restrictInsert="">        <block datasource="tmpValuesDataSource" name="totalBlock" restrictInsert="">
1131          <label text="Neto " x="50" y="22"/>          <label text="Neto " x="55" y="21"/>
1132          <entry name="netoEntry" style="label" readonly="" x="55" y="22" width="12" typecast="number" displaymask="%0.2f"          <entry name="netoEntry" style="label" readonly="" x="55" y="22" width="12" typecast="number" displaymask="%0.2f"
1133            default="0.00"/>            default="0.00"/>
1134          <label text="IVA " x="62" y="22"/>          <label text="IVA " x="66" y="21"/>
1135          <entry name="ivaEntry" style="label" readonly="" x="66" y="22" width="12" typecast="number" displaymask="%0.2f"          <entry name="ivaEntry" style="label" readonly="" x="66" y="22" width="12" typecast="number" displaymask="%0.2f"
1136            default="0.00"/>            default="0.00"/>
1137          <label text="Total " x="76" y="22"/>          <label text="Total " x="82" y="21"/>
1138          <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="12" typecast="number" displaymask="%0.2f"
1139            default="0.00"/>            default="0.00"/>
1140        </block>        </block>

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

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