/[papo]/papo/forms/components/posDocument.nebc
ViewVC logotype

Diff of /papo/forms/components/posDocument.nebc

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

revision 1.9 by apronotti, Wed Jun 18 13:25:51 2003 UTC revision 1.10 by mhepp, Wed Jun 25 19:19:45 2003 UTC
# Line 117  $ownStorehouseIdEntry => "ownStorehouseI Line 117  $ownStorehouseIdEntry => "ownStorehouseI
117   <trigger name="neb:$searchNextDocumentNumber" type="NAMED">   <trigger name="neb:$searchNextDocumentNumber" type="NAMED">
118      import gnue.common.GConditions as GConditions      import gnue.common.GConditions as GConditions
119      callTrigger('searchOwnPosData')      callTrigger('searchOwnPosData')
120      if str(<neb:Inline>$documentType</neb:Inline>) != '':      if (str(<neb:Inline>$documentType</neb:Inline>) != '') and (str(ownPosBlock.ownPosEntityTableEntry)) :
121       condDocumentNumber = GConditions.GCondition()       condDocumentNumber = GConditions.GCondition()
122       tmpAnd = GConditions.GCand(condDocumentNumber)       tmpAnd = GConditions.GCand(condDocumentNumber)
123       eq = GConditions.GCeq(tmpAnd)       eq = GConditions.GCeq(tmpAnd)
# Line 144  $ownStorehouseIdEntry => "ownStorehouseI Line 144  $ownStorehouseIdEntry => "ownStorehouseI
144   ownPosBlock.initQuery()   ownPosBlock.initQuery()
145   ownPosBlock.ownPosIdEntry = str(pos)   ownPosBlock.ownPosIdEntry = str(pos)
146   ownPosBlock.processQuery()   ownPosBlock.processQuery()
147     #if not str(ownPosBlock.ownPosIdEntry):
148     #    self.genericBox("Debe dar de alta un punto de venta para poder emitir comprobantes",['Aceptar'])
149     #    print "saliendo"
150     #    exit()
151   <neb:Block>if ($ownStorehouseBlock ne ""){</neb:Block>   <neb:Block>if ($ownStorehouseBlock ne ""){</neb:Block>
152   callTrigger('searchOwnStorehouse')   callTrigger('searchOwnStorehouse')
153   <neb:Block>}</neb:Block>   <neb:Block>}</neb:Block>

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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