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