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

Diff of /papo/forms/product.neb

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

revision 1.5 by apronotti, Mon Jun 2 15:33:49 2003 UTC revision 1.6 by apronotti, Wed Jun 4 15:46:50 2003 UTC
# Line 253  Line 253 
253      setStatusText("Listo")      setStatusText("Listo")
254    ]]></trigger>    ]]></trigger>
255    
256    <trigger name="printTrigger" type="NAMED"><![CDATA[    <trigger name="printTrigger" type="NAMED">
257    callTrigger('startWaitingModeTrigger')    callTrigger('startWaitingModeTrigger')
258    import gnue.common.GConditions as GConditions    import gnue.common.GConditions as GConditions
259    import string    import string
# Line 298  Line 298 
298        if productResulSet.current.getField("_product_store_data.level"):        if productResulSet.current.getField("_product_store_data.level"):
299          line += printing.printField("%0.2f" % productResulSet.current.getField("_product_store_data.level"),8,'r')+" | "          line += printing.printField("%0.2f" % productResulSet.current.getField("_product_store_data.level"),8,'r')+" | "
300        else:        else:
301          line += "0.00"          line += "0.00"+" | "
302        table.append(line)        table.append(line)
303        more = productResulSet.nextRecord()        more = productResulSet.nextRecord()
304    
305    callTrigger('endWaitingModeTrigger')    callTrigger('endWaitingModeTrigger')
306    printing.previewPrint(table)    printing.previewPrint(table)
307    
308    ]]></trigger>    </trigger>
309    
310    <trigger name="productCommitTrigger" type="NAMED"><![CDATA[    <trigger name="productCommitTrigger" type="NAMED"><![CDATA[
311    from hack import a2f    from hack import a2f
# Line 390  Line 390 
390            productBlock.initQuery()            productBlock.initQuery()
391            productBlock.productIdEntry = ("%s" % productResultBlock.productIdREntry)            productBlock.productIdEntry = ("%s" % productResultBlock.productIdREntry)
392            productBlock.processQuery()            productBlock.processQuery()
393            productResultBlock.reset()
394      ]]></trigger>      ]]></trigger>
395      <block name="productSearchBlock" datasource="searchDataSource" transparentBlock="y">      <block name="productSearchBlock" datasource="searchDataSource" transparentBlock="y">
396        <label text="Ingrese los datos del producto a buscar:" x="1" y="1"/>        <label text="Ingrese los datos del producto a buscar:" x="1" y="1"/>

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