505 |
if hack.a2f(currencyTypeBlock.currencyBox.rateEntry,2) > 0: |
if hack.a2f(currencyTypeBlock.currencyBox.rateEntry,2) > 0: |
506 |
total -= round(hack.a2f(currencyTypeBlock.currencyBox.payEntry,2) * hack.a2f(currencyTypeBlock.currencyBox.rateEntry,2),2) |
total -= round(hack.a2f(currencyTypeBlock.currencyBox.payEntry,2) * hack.a2f(currencyTypeBlock.currencyBox.rateEntry,2),2) |
507 |
|
|
508 |
if total != 0: |
if hack.a2f(total,2) != 0: |
509 |
genericBox("La Orden de pago no esta totalmente pagada\n",['Aceptar']) |
genericBox("La Orden de pago no esta totalmente pagada\n",['Aceptar']) |
510 |
else: |
else: |
511 |
callTrigger('writeAllTrigger') |
callTrigger('writeAllTrigger') |