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

Diff of /papo/forms/productInvoice.neb

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

revision 1.24 by styxman, Fri Jun 6 20:59:25 2003 UTC revision 1.25 by styxman, Thu Jun 12 19:43:14 2003 UTC
# Line 621  Line 621 
621              currencyTypeBlock.currencyBox.payEntry = 0.0              currencyTypeBlock.currencyBox.payEntry = 0.0
622              more = rs.nextRecord()              more = rs.nextRecord()
623    
624            currencyTypeBlock.firstRecord ()
625          currencyDataBlock.recipientBox.dateEntry = str(tmpBlock.tmpDateEntry)          currencyDataBlock.recipientBox.dateEntry = str(tmpBlock.tmpDateEntry)
626          currencyDataBlock.recipientBox.numberEntry = str(ownPosDocumentBlock.documentNumberEntry)          currencyDataBlock.recipientBox.numberEntry = str(ownPosDocumentBlock.documentNumberEntry)
627    
# Line 674  Line 675 
675            callTrigger ('commitTrigger')            callTrigger ('commitTrigger')
676            # it's _such_ a pitty            # it's _such_ a pitty
677            # pleasePrint ('serviceInvoice', { 'id': str(ownDocumentBlock.idEntry) })            # pleasePrint ('serviceInvoice', { 'id': str(ownDocumentBlock.idEntry) })
678            report='productInvoice-%s' % str(ownDocumentBlock.typeEntry)            reportNo= str(ownDocumentBlock.typeEntry)
679            hack.pleasePrint (self, str(ownDocumentBlock.typeEntry), report, [ 'id='+str(ownDocumentBlock.idEntry) ],str(ownPosDocumentBlock.documentPrintCommand))            print 'here: %s, %s' % (str(tmpValuesDataSource.alienIVACond), str(tmpValuesDataSource.ownIVACond))
680              if str(tmpValuesDataSource.alienIVACond)=='2' and str(tmpValuesDataSource.ownIVACond)=='1':
681                # hack to use alternative report and print config
682                reportNo= '4_and_half'
683              report='productInvoice-%s' % reportNo
684              print 'here: %s' % reportNo
685              hack.pleasePrint (self, reportNo, report, [ 'id='+str(ownDocumentBlock.idEntry) ],str(ownPosDocumentBlock.documentPrintCommand))
686            callTrigger('rollbackTrigger')            callTrigger('rollbackTrigger')
687          except DBError:          except DBError:
688            # just ignore, as the commit trigger already reports the error to the user            # just ignore, as the commit trigger already reports the error to the user
# Line 1340  Line 1347 
1347    </page>    </page>
1348    
1349    <!--=== SECOND PAGE ===-->    <!--=== SECOND PAGE ===-->
1350    <page name="Determinacion de Monedas">    <page name="Determinación de Monedas">
1351      <block name="currencyDataBlock" datasource="dataCurrencyDataSource">      <block name="currencyDataBlock" datasource="dataCurrencyDataSource">
1352        <box height="4" label="Factura de Productos a Clientes"        <box height="4" label="Factura de Productos a Clientes"
1353          name="recipientBox" width="105" x="0" y="0">          name="recipientBox" width="105" x="0" y="0">

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

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