970 |
</trigger> |
</trigger> |
971 |
|
|
972 |
<trigger name="bringCreditNoteTypeShowTrigger" type="NAMED"> |
<trigger name="bringCreditNoteTypeShowTrigger" type="NAMED"> |
973 |
|
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
974 |
typeCreditNote = int(str(alienDocumentShowBlock.typeEntry)) |
typeCreditNote = int(str(alienDocumentShowBlock.typeEntry)) |
975 |
result = "" |
result = "" |
976 |
if typeCreditNote == 18: |
if typeCreditNote == 18: |
984 |
</trigger> |
</trigger> |
985 |
|
|
986 |
<trigger name="totalCalcShowTrigger" type="NAMED"> |
<trigger name="totalCalcShowTrigger" type="NAMED"> |
987 |
|
if resultBlock.getRecordCount() > 0 and not resultBlock.getCurrentRecord().isEmpty(): |
988 |
import hack |
import hack |
989 |
|
|
990 |
|
|
1010 |
totalShowBlock.netoEntry = str(lTNeto) |
totalShowBlock.netoEntry = str(lTNeto) |
1011 |
totalShowBlock.ivaEntry = str(lTTax) |
totalShowBlock.ivaEntry = str(lTTax) |
1012 |
totalShowBlock.totalEntry = str(lTNeto+lTTax) |
totalShowBlock.totalEntry = str(lTNeto+lTTax) |
1013 |
|
else: |
1014 |
|
totalShowBlock.netoEntry = "0.00" |
1015 |
|
totalShowBlock.ivaEntry = "0.00" |
1016 |
|
totalShowBlock.totalEntry = "0.00" |
1017 |
</trigger> |
</trigger> |
1018 |
|
|
1019 |
<trigger name="totalCalcTrigger" type="NAMED"> |
<trigger name="totalCalcTrigger" type="NAMED"> |