360 |
<!-- <cfield name="own_item.id"/> --> |
<!-- <cfield name="own_item.id"/> --> |
361 |
<!-- <cfield name="own_item_tax.own_item"/> --> |
<!-- <cfield name="own_item_tax.own_item"/> --> |
362 |
<!-- </eq> --> |
<!-- </eq> --> |
363 |
<eq> |
<!-- <eq> --> |
364 |
<cfield name="own_item_tax.tax"/> |
<!-- <cfield name="own_item_tax.tax"/> --> |
365 |
<cconst value="1"/> |
<!-- <cconst value="1"/> --> |
366 |
</eq> |
<!-- </eq> --> |
367 |
</and> |
</and> |
368 |
</condition> |
</condition> |
369 |
</datasource> |
</datasource> |
628 |
lTNeto += lItemPrice |
lTNeto += lItemPrice |
629 |
#lTTax += hack.a2f(lRecord.getField("own_item_tax.amount"),4) |
#lTTax += hack.a2f(lRecord.getField("own_item_tax.amount"),4) |
630 |
|
|
|
#TRecords = ownItemIVADataSource.getRecords() |
|
|
#for index in range(len(TRecords)): |
|
|
# TRecord = TRecords[index] |
|
|
# lTTax += hack.a2f(TRecord.getField("own_item_tax.amount"),4) |
|
|
# print index,hack.a2f(TRecord.getField("own_item_tax.amount"),4) |
|
|
#if str(tmpValuesDataSource.IVARNIGraft) != "None": |
|
|
# TRecords = ownItemIVARNIDataSource.getRecords() |
|
|
# for index in range(len(TRecords)): |
|
|
# TRecord = TRecords[index] |
|
|
# lTTax += hack.a2f(TRecord.getField("own_item_tax.amount"),4) |
|
|
# print index,hack.a2f(TRecord.getField("own_item_tax.amount"),4) |
|
631 |
ownDocumentBlock.netTotalEntry = str(round(lTNeto,2)) |
ownDocumentBlock.netTotalEntry = str(round(lTNeto,2)) |
632 |
totalBlock.netoEntry = str(round(lTNeto,2)) |
totalBlock.netoEntry = str(round(lTNeto,2)) |
633 |
ownDocumentBlock.taxTotalEntry = str(round(lTTax,2)) |
ownDocumentBlock.taxTotalEntry = str(round(lTTax,2)) |