556 |
|
|
557 |
exec(sourceCode) |
exec(sourceCode) |
558 |
ownItemBlock.taxAmountEntry = hack.a2f(graft(ourIVACond,alienIVACond,amount,taxPercent)) |
ownItemBlock.taxAmountEntry = hack.a2f(graft(ourIVACond,alienIVACond,amount,taxPercent)) |
559 |
|
ownItemBlock.itemNetoEntry = lItemPrice |
560 |
ownItemBlock.itemTotalEntry = lItemPrice + hack.a2f(ownItemBlock.taxAmountEntry) |
ownItemBlock.itemTotalEntry = lItemPrice + hack.a2f(ownItemBlock.taxAmountEntry) |
561 |
|
|
562 |
lTNeto = 0 |
lTNeto = 0 |
855 |
<!-- Fecha de la factura --> |
<!-- Fecha de la factura --> |
856 |
<block name="tmpBlock" datasource="tmpValuesDataSource" transparentBlock=""> |
<block name="tmpBlock" datasource="tmpValuesDataSource" transparentBlock=""> |
857 |
<label name="dateLbl" text="Fecha" x="1" y="1" /> |
<label name="dateLbl" text="Fecha" x="1" y="1" /> |
858 |
<entry name="tmpDateEntry" style="label" typecast="date" |
<entry name="tmpDateEntry" typecast="date" |
859 |
rows="10" width="24" x="7" y="1"/> |
width="14" x="7" y="1"/> |
860 |
</block> |
</block> |
861 |
|
|
862 |
<!-- # de factura --> |
<!-- # de factura --> |
1092 |
|
|
1093 |
|
|
1094 |
<label name="ivaLbl" text="IVA" x="66" y="10"/> |
<label name="ivaLbl" text="IVA" x="66" y="10"/> |
1095 |
<entry name="ivaEntry" style="label" displaymask="%0.0f" |
<entry name="ivaEntry" displaymask="%0.0f" |
1096 |
rows="10" width="2" x="66" y="11" default="0"> |
rows="10" width="3" x="66" y="11" default="0"> |
1097 |
|
<trigger name="ivaEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger" /> |
1098 |
</entry> |
</entry> |
1099 |
<label name="discountLbl" text="Descuento" x="71" y="10"/> |
<label name="discountLbl" text="Dto." x="70" y="10"/> |
1100 |
<entry field="own_item.discount" name="discountEntry" default="0.00" typecast="number" displaymask="%0.2f" |
<entry field="own_item.discount" name="discountEntry" default="0.00" typecast="number" displaymask="%0.2f" |
1101 |
rows="10" width="10" x="71" y="11"> |
rows="10" width="6" x="69" y="11"> |
1102 |
<trigger name="discountEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger" /> |
<trigger name="discountEntryPreFocusout" type="PRE-FOCUSOUT" src="totalCalcTrigger" /> |
1103 |
</entry> |
</entry> |
1104 |
<!-- <label name="bonusLbl" text="Bonif." x="79" y="10"/> --> |
<!-- <label name="bonusLbl" text="Bonif." x="79" y="10"/> --> |
1105 |
<entry field="own_item.bonus" name="bonusEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
<entry field="own_item.bonus" name="bonusEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
1106 |
rows="10" width="10" x="79" y="11" hidden=""/> |
rows="10" width="10" x="79" y="11" hidden=""/> |
1107 |
<label name="itemTotalLbl" text="Total" x="82" y="10"/> |
<label name="itemNetolLbl" text="Neto" x="76" y="10"/> |
1108 |
|
<entry name="itemNetoEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
1109 |
|
rows="10" width="10" x="76" y="11"/> |
1110 |
|
<label name="itemTotalLbl" text="Total" x="85" y="10"/> |
1111 |
<entry name="itemTotalEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
<entry name="itemTotalEntry" style="label" default="0.00" typecast="number" displaymask="%0.2f" |
1112 |
rows="10" width="10" x="82" y="11"> |
rows="10" width="10" x="85" y="11"> |
1113 |
</entry> |
</entry> |
1114 |
<button name="prodDeleteButton" trigger="prodDeleteTrigger" label="Borrar" width="7" height="10" x="93" y="11"/> |
<button name="prodDeleteButton" trigger="prodDeleteTrigger" label="Borrar" width="7" height="10" x="95" y="11"/> |
1115 |
<scrollbar page="5" x="103" y="11" width="1" height="10"/> |
<scrollbar page="5" x="103" y="11" width="1" height="10"/> |
1116 |
</block> |
</block> |
1117 |
<!-- Bloques que sirven para el pago --> |
<!-- Bloques que sirven para el pago --> |
1128 |
</block> |
</block> |
1129 |
<!-- Datasource que sirve para almacenar el resultado de la búsqueda --> |
<!-- Datasource que sirve para almacenar el resultado de la búsqueda --> |
1130 |
<block datasource="tmpValuesDataSource" name="totalBlock" restrictInsert=""> |
<block datasource="tmpValuesDataSource" name="totalBlock" restrictInsert=""> |
1131 |
<label text="Neto " x="50" y="22"/> |
<label text="Neto " x="55" y="21"/> |
1132 |
<entry name="netoEntry" style="label" readonly="" x="55" y="22" width="12" typecast="number" displaymask="%0.2f" |
<entry name="netoEntry" style="label" readonly="" x="55" y="22" width="12" typecast="number" displaymask="%0.2f" |
1133 |
default="0.00"/> |
default="0.00"/> |
1134 |
<label text="IVA " x="62" y="22"/> |
<label text="IVA " x="66" y="21"/> |
1135 |
<entry name="ivaEntry" style="label" readonly="" x="66" y="22" width="12" typecast="number" displaymask="%0.2f" |
<entry name="ivaEntry" style="label" readonly="" x="66" y="22" width="12" typecast="number" displaymask="%0.2f" |
1136 |
default="0.00"/> |
default="0.00"/> |
1137 |
<label text="Total " x="76" y="22"/> |
<label text="Total " x="82" y="21"/> |
1138 |
<entry name="totalEntry" style="label" readonly="" x="82" y="22" width="12" typecast="number" displaymask="%0.2f" |
<entry name="totalEntry" style="label" readonly="" x="82" y="22" width="12" typecast="number" displaymask="%0.2f" |
1139 |
default="0.00"/> |
default="0.00"/> |
1140 |
</block> |
</block> |