@ -56,21 +56,21 @@
<checkbox label="${labels.TripBillFreeMeals}"
checked="@bind(vm.dataBean.freeMeals)"
onCheck="@command('calculate')"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
</cell>
</row>
<row>
<cell colspan="2">
<checkbox label="${labels.TripBillFreeHousing}"
checked="@bind(vm.dataBean.freeHousing)"
disabled="${disabled} " />
disabled="@load(vm.billDisabled or disabled) " />
</cell>
</row>
<row>
<cell colspan="2">
<checkbox label="${labels.TripBillFreeCarfare}"
checked="@bind(vm.dataBean.freeCarfare)"
disabled="${disabled} " />
disabled="@load(vm.billDisabled or disabled) " />
</cell>
</row>
</rows>
@ -237,12 +237,12 @@
value="@load(each.to)"
maxlength="@load(vm.lengthText)"
sclass="grid-textbox-max-left"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
<textbox inplace="true"
value="@load(each.back)"
maxlength="@load(vm.lengthText)"
sclass="grid-textbox-max-left"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
</vbox>
<vbox>
<timebox inplace="true"
@ -250,13 +250,13 @@
value="@bind(each.toArrival)"
onChange="@command('calculate')"
format="short"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
<timebox inplace="true"
width="68px"
value="@bind(each.backArrival)"
onChange="@command('calculate')"
format="short"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
</vbox>
<vbox>
<timebox inplace="true"
@ -264,13 +264,13 @@
value="@bind(each.toDeparture)"
onChange="@command('calculate')"
format="short"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
<timebox inplace="true"
width="68px"
value="@bind(each.backDeparture)"
onChange="@command('calculate')"
format="short"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
</vbox>
<vbox>
<combobox inplace="true"
@ -278,7 +278,7 @@
selectedItem="@bind(each.toVehicle)"
width="67px"
readonly="true"
disabled="${disabled} ">
disabled="@load(vm.billDisabled or disabled) ">
<template name="model">
<comboitem label="@load(each.code)"/>
</template>
@ -289,7 +289,7 @@
selectedItem="@bind(each.backVehicle)"
width="67px"
readonly="true"
disabled="${disabled} ">
disabled="@load(vm.billDisabled or disabled) ">
<template name="model">
<comboitem label="@load(each.code)"/>
</template>
@ -300,12 +300,12 @@
width="68px"
value="@bind(each.beginWork)"
format="short"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
<timebox inplace="true"
width="68px"
value="@bind(each.endWork)"
format="short"
disabled="${disabled} "/>
disabled="@load(vm.billDisabled or disabled) "/>
</vbox>
<vbox>
<textbox
@ -313,14 +313,14 @@
width="68px"
maxlength="@load(vm.lengthText)"
value="@bind(each.distance) @converter(vm.standardBigDecimalConverter)"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
<textbox
inplace="true"
width="68px"
value="@bind(each.distanceAmount) @converter(vm.standardBigDecimalConverter)"
maxlength="@load(vm.lengthText)"
onChange="@command('calculate')"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
</vbox>
<vbox>
<textbox
@ -328,30 +328,30 @@
width="68px"
maxlength="@load(vm.lengthText)"
value="@bind(each.fuelConsumption) @converter(vm.standardBigDecimalConverter)"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
<textbox
inplace="true"
width="68px"
value="@bind(each.fuelAmount) @converter(vm.standardBigDecimalConverter)"
maxlength="@load(vm.lengthText)"
onChange="@command('calculate')"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
</vbox>
<textbox
inplace="true"
value="@bind(each.carefare) @converter(vm.standardBigDecimalConverter)"
maxlength="@load(vm.lengthText)"
onChange="@command('calculate')"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
<textbox
inplace="true"
value="@bind(each.housing) @converter(vm.standardBigDecimalConverter)"
maxlength="@load(vm.lengthText)"
onChange="@command('calculate')"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
<combobox inplace="true" selectedIndex="@bind(each.freeMealsCount)"
readonly="true"
disabled="${disabled} "
disabled="@load(vm.billDisabled or disabled) "
width="60px"
onBlur="@command('calculate')">
@ -366,7 +366,7 @@
value="@bind(each.otherExpenses) @converter(vm.standardBigDecimalConverter)"
maxlength="@load(vm.lengthText)"
onChange="@command('calculate')"
readonly="${disabled} "/>
readonly="@load(vm.billDisabled or disabled) "/>
<label value="@load(each.total) @converter(vm.standardBigDecimalConverter)"/>
<label value="@load(each.adjustedTotal) @converter(vm.standardBigDecimalConverter)"/>
</row>