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

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

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

revision 1.16 by mhepp, Tue Nov 25 16:23:42 2003 UTC revision 1.17 by apronotti, Tue Dec 2 18:19:12 2003 UTC
# Line 411  $reference_despatch_note => '1' Line 411  $reference_despatch_note => '1'
411      #cargo pos      #cargo pos
412      ownDocumentBlock.ownPosEntityIdEntry =   str(ownPosBlock.ownPosEntityIdEntry)      ownDocumentBlock.ownPosEntityIdEntry =   str(ownPosBlock.ownPosEntityIdEntry)
413      #/cargo pos      #/cargo pos
414      ownDocumentBlock.dueDateEntry = str(payBlock.dateEntry)      #ownDocumentBlock.dueDateEntry = str(payBlock.dateEntry)
415      ownDocumentBlock.dateEntry = str(tmpBlock.tmpDateEntry)      ownDocumentBlock.dateEntry = str(tmpBlock.tmpDateEntry)
416      if len(ownDocumentBlock.dateEntry) == 0:      if len(ownDocumentBlock.dateEntry) == 0:
417          ownDocumentBlock.dateEntry = ownDocumentDataSource.getTimeStamp()          ownDocumentBlock.dateEntry = ownDocumentDataSource.getTimeStamp()
# Line 667  $reference_despatch_note => '1' Line 667  $reference_despatch_note => '1'
667              #print "id",despatchNoteId,"number",despatchNoteNumber              #print "id",despatchNoteId,"number",despatchNoteNumber
668              ownDocumentBlock.relatedToEntry =  str(despatchNoteNumber).strip().rjust(8).replace(' ','0')              ownDocumentBlock.relatedToEntry =  str(despatchNoteNumber).strip().rjust(8).replace(' ','0')
669              #solo para que no ensucie el update              #solo para que no ensucie el update
670              if str(ownDocumentBlock.dueDateEntry) == "":              #if str(ownDocumentBlock.dueDateEntry) == "":
671                  ownDocumentBlock.dueDateEntry = None              #    ownDocumentBlock.dueDateEntry = None
672              documentRelationBlock.despatchEntry = str(despatchNoteId)              documentRelationBlock.despatchEntry = str(despatchNoteId)
673              documentRelationBlock.invoiceEntry = str(ownDocumentBlock.idEntry)              documentRelationBlock.invoiceEntry = str(ownDocumentBlock.idEntry)
674              documentRelationBlock.relationTypeEntry = str(<neb:Inline>'"'.PAPO::invoiceOfDespatchNote.'"'</neb:Inline>)              documentRelationBlock.relationTypeEntry = str(<neb:Inline>'"'.PAPO::invoiceOfDespatchNote.'"'</neb:Inline>)
# Line 811  $reference_despatch_note => '1' Line 811  $reference_despatch_note => '1'
811          <entry field="id" hidden="" name="idEntry" x="1" y="1"/>          <entry field="id" hidden="" name="idEntry" x="1" y="1"/>
812  <!--         <entry field="net_total" hidden="" name="netTotalEntry" x="1" y="1"/> -->  <!--         <entry field="net_total" hidden="" name="netTotalEntry" x="1" y="1"/> -->
813  <!--         <entry field="tax_total" hidden="" name="taxTotalEntry" x="1" y="1"/> -->  <!--         <entry field="tax_total" hidden="" name="taxTotalEntry" x="1" y="1"/> -->
814          <entry field="due_date" hidden="" name="dueDateEntry" x="1" y="1"/>  <!--         <entry field="due_date" hidden="" name="dueDateEntry" x="1" y="1"/> -->
815                
816          <!-- cargo pos -->          <!-- cargo pos -->
817          <entry field="own_entity" hidden="" name="ownPosEntityIdEntry" x="1" y="1"/>          <entry field="own_entity" hidden="" name="ownPosEntityIdEntry" x="1" y="1"/>
# Line 1457  $reference_despatch_note => '1' Line 1457  $reference_despatch_note => '1'
1457              <option name="tip" value="Importe en Cuenta corriente"/>              <option name="tip" value="Importe en Cuenta corriente"/>
1458            </options>            </options>
1459          </entry>          </entry>
1460          <label text="Vencimiento : " x="50" y="1"/>  <!--         <label text="Vencimiento : " x="50" y="1"/> -->
1461          <entry name="dateEntry" typecast="date" x="64" y="1" width="11">  <!--         <entry name="dateEntry" typecast="date" x="64" y="1" width="11"> -->
1462            <options>  <!--           <options> -->
1463              <option name="tip" value="Vencimiento estimado de la factura"/>  <!--             <option name="tip" value="Vencimiento estimado de la factura"/> -->
1464            </options>  <!--           </options> -->
1465          </entry>  <!--         </entry> -->
1466        </block>        </block>
1467      </box>        </box>  
1468      <box label="Monedas de Pago" name="currencyBox"   height="9" width="105" x="0" y="15">      <box label="Monedas de Pago" name="currencyBox"   height="9" width="105" x="0" y="15">

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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