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

Diff of /papo/forms/serviceProviderInvoice.gfd

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

revision 1.5 by apronotti, Wed Dec 18 17:54:22 2002 UTC revision 1.6 by styxman, Mon Jan 6 17:52:15 2003 UTC
# Line 543  Line 543 
543                 width="34" rows="5"/>                 width="34" rows="5"/>
544    
545          <label name="priceLbl" text="Precio" x="36" y="1"/>          <label name="priceLbl" text="Precio" x="36" y="1"/>
546          <entry x="36" y="2" field="alien_service_item.amount" name="priceEntry"          <entry x="36" y="2" field="alien_service_item.amount" name="priceEntry" typecast="number" displaymask="%0.2f"
547                 width="10" rows="5">                 width="10" rows="5">
548            <trigger type="PRE-FOCUSOUT" src="totalCalcTrigger" />            <trigger type="PRE-FOCUSOUT" src="totalCalcTrigger" />
549          </entry>          </entry>
550          <label name="taxLbl" text="IVA" x="47" y="1" />          <label name="taxLbl" text="IVA" x="47" y="1" />
551          <entry x="47" y="2" readonly="" field="alien_item_tax.amount" name="taxAmountEntry" width="5" rows="5" hidden=""/>          <entry x="47" y="2" readonly="" field="alien_item_tax.amount" name="taxAmountEntry" width="5" rows="5" hidden=""/>
552          <entry x="47" y="2" name="taxPercentEntry" width="5" rows="5" default="21">          <entry x="47" y="2" name="taxPercentEntry" width="5" rows="5" default="21" typecast="number" displaymask="%0.2f">
553          <trigger name="taxPercentEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger"/>          <trigger name="taxPercentEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger"/>
554          </entry>          </entry>
555          <entry x="47" y="2" readonly="" field="alien_item_tax.tax" name="taxTypeEntry" width="5" rows="5" default="1" hidden=""/>          <entry x="47" y="2" readonly="" field="alien_item_tax.tax" name="taxTypeEntry" width="5" rows="5" default="1" hidden=""/>
556          <label name="discountLbl" text="Descuento" x="53" y="1"/>          <label name="discountLbl" text="Descuento" x="53" y="1"/>
557          <entry field="alien_item.discount" name="discountEntry" value="0" typecast="number"          <entry field="alien_item.discount" name="discountEntry" value="0" typecast="number" displaymask="%0.2f"
558            rows="5" width="12" x="53" y="2" default="0">            rows="5" width="12" x="53" y="2" default="0">
559            <trigger type="PRE-FOCUSOUT" src="totalCalcTrigger" />            <trigger type="PRE-FOCUSOUT" src="totalCalcTrigger" />
560          </entry>          </entry>
561          <label name="bonusLbl" text="Bonificación" x="66" y="1"/>          <label name="bonusLbl" text="Bonificación" x="66" y="1"/>
562          <entry field="alien_item.bonus" name="bonusEntry" value="0" typecast="number"          <entry field="alien_item.bonus" name="bonusEntry" value="0" typecast="number" displaymask="%0.2f"
563            rows="5" width="12" x="66" y="2" default="0">            rows="5" width="12" x="66" y="2" default="0">
564            <trigger type="PRE-FOCUSOUT" src="totalCalcTrigger" />            <trigger type="PRE-FOCUSOUT" src="totalCalcTrigger" />
565          </entry>          </entry>
# Line 568  Line 568 
568        </block>        </block>
569        <block datasource="nil" name="totalBlock">        <block datasource="nil" name="totalBlock">
570          <label name="totalLbl" text="Total" x="29" y="8"/>          <label name="totalLbl" text="Total" x="29" y="8"/>
571          <entry name="totalEntry" readonly="" x="36" y="8" width="12"/>              <entry name="totalEntry" readonly="" x="36" y="8" width="12" typecast="number" displaymask="%0.2f"/>    
572        </block>        </block>
573        <!--     Bloques que sirven para el pago -->            <!--     Bloques que sirven para el pago -->    
574        <block name="alienDocumentProceedingBlock" datasource="alienDocumentProceedingDataSource" transparentBlock="">        <block name="alienDocumentProceedingBlock" datasource="alienDocumentProceedingDataSource" transparentBlock="">
# Line 587  Line 587 
587        width="82" x="0" y="19">        width="82" x="0" y="19">
588        <block datasource="payDataSource" name="payBlock">        <block datasource="payDataSource" name="payBlock">
589        <label text="Efectivo : " x="1" y="1"/>        <label text="Efectivo : " x="1" y="1"/>
590        <entry name="cashEntry" x="11" y="1" width="12">            <entry name="cashEntry" x="11" y="1" width="12" typecast="number" displaymask="%0.2f">    
591          <trigger type="Pre-Focusout">          <trigger type="Pre-Focusout">
592             import hack             import hack
593             payBlock.ctaCteEntry = str(hack.a2f(totalBlock.totalEntry) - hack.a2f(payBlock.cashEntry))             payBlock.ctaCteEntry = str(hack.a2f(totalBlock.totalEntry) - hack.a2f(payBlock.cashEntry))
594          </trigger>          </trigger>
595        </entry>        </entry>
596        <label text="Cta. Cte. : " x="24" y="1"/>        <label text="Cta. Cte. : " x="24" y="1"/>
597        <entry name="ctaCteEntry" x="36" y="1" width="12">            <entry name="ctaCteEntry" x="36" y="1" width="12" typecast="number" displaymask="%0.2f">    
598          <trigger type="Pre-Focusout">          <trigger type="Pre-Focusout">
599             import hack             import hack
600             payBlock.cashEntry = str(hack.a2f(totalBlock.totalEntry) - hack.a2f(payBlock.ctaCteEntry))             payBlock.cashEntry = str(hack.a2f(totalBlock.totalEntry) - hack.a2f(payBlock.ctaCteEntry))

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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