@ -351,7 +351,7 @@
</events>
</events>
</DBComboBox>
</DBComboBox>
<DBComboBox type= "string" id= "ufDestino" caption= "UF Origem-Destino" width= "100%" expandRatio= ".6" >
<DBComboBox type= "string" id= "ufDestino" caption= "UF Origem-Destino" required= "true" width= "100%" expandRatio= ".6" >
<datasource >
<datasource >
<freeQuery connection-key= "vitruvio" >
<freeQuery connection-key= "vitruvio" >
< ![CDATA[
< ![CDATA[
@ -482,11 +482,11 @@
<Panel width= "100%" margin= "true" height= "100%" expandRatio= "1" >
<Panel width= "100%" margin= "true" height= "100%" expandRatio= "1" >
<VerticalLayout width= "100%" spacing= "true" align= "TOP_LEFT" height= "100%" >
<VerticalLayout width= "100%" spacing= "true" align= "TOP_LEFT" height= "100%" >
<HorizontalLayout width= "100%" spacing= "true" height= "100%" expandRatio= "0.6" >
<HorizontalLayout width= "100%" spacing= "true" height= "100%" expandRatio= "0.6" >
<DBTwinColSelect type= "string" id= "ftClientes" allowNullSelection= "true" multivalue= "true" caption= "Clientes" rows= "5" width= "100%" expandRatio= "0.5 " align= "TOP_LEFT" >
<DBTwinColSelect type= "string" id= "ftClientes" allowNullSelection= "true" multivalue= "true" caption= "Clientes" rows= "5" width= "100%" expandRatio= "0.8 " align= "TOP_LEFT" >
<datasource >
<datasource >
<freeQuery connection-key= "vitruvio" >
<freeQuery connection-key= "vitruvio" >
< ![CDATA[
< ![CDATA[
Select codigo, substr(nome,1,15)::varchar as nome from clientes order by nome
Select codigo, nome from clientes order by nome
]]>
]]>
</freeQuery>
</freeQuery>
</datasource>
</datasource>
@ -495,8 +495,8 @@
</DBTwinColSelect>
</DBTwinColSelect>
<VerticalLayout width= "100%" spacing= "true" expandRatio= "1" align= "TOP_LEFT" >
<VerticalLayout width= "100%" spacing= "true" expandRatio= "1" align= "TOP_LEFT" >
<HorizontalLayout width= "100%" spacing= "true" align= "TOP_LEFT" >
<HorizontalLayout width= "100%" spacing= "true" align= "TOP_LEFT" >
<DateField type= "date" id= "dataInicio" caption= "Data inicial" align= "TOP_LEFT" width= "100%" expandRatio= "1 " description= "Data iniacial da exibição" format= "dd/MM/yyyy" />
<DateField type= "date" id= "dataFinal" caption= "Data final" align= "TOP_LEFT" width= "100%" expandRatio= "1 " description= "Data final da exibição" format= "dd/MM/yyyy" />
<DateField type= "date" id= "dataInicio" caption= "Data inicial" align= "TOP_LEFT" width= "100%" expandRatio= ".6 " description= "Data iniacial da exibição" format= "dd/MM/yyyy" />
<DateField type= "date" id= "dataFinal" caption= "Data final" align= "TOP_LEFT" width= "100%" expandRatio= ".6 " description= "Data final da exibição" format= "dd/MM/yyyy" />
<DBComboBox type= "string" id= "ftPlaca" width= "100%" expandRatio= "1" align= "TOP_LEFT" caption= "Placa" allowNullSelection= "true" >
<DBComboBox type= "string" id= "ftPlaca" width= "100%" expandRatio= "1" align= "TOP_LEFT" caption= "Placa" allowNullSelection= "true" >
<datasource >
<datasource >
<freeQuery connection-key= "vitruvio" >
<freeQuery connection-key= "vitruvio" >
@ -520,10 +520,8 @@
<key-field > PLACA_CARRETA</key-field>
<key-field > PLACA_CARRETA</key-field>
<caption-field > PLACA_CARRETA</caption-field>
<caption-field > PLACA_CARRETA</caption-field>
</DBComboBox>
</DBComboBox>
</HorizontalLayout>
<HorizontalLayout width= "100%" margin= "false" spacing= "true" >
<DBComboBox type= "string" id= "ftFuncionario" width= "100%" expandRatio= "0.2" align= "TOP_LEFT" caption= "Funcionário" allowNullSelection= "true" >
<DBComboBox type= "string" id= "ftFuncionario" width= "100%" expandRatio= "1" align= "TOP_LEFT" caption= "Funcionário" allowNullSelection= "true" >
<datasource >
<datasource >
<freeQuery connection-key= "vitruvio" >
<freeQuery connection-key= "vitruvio" >
< ![CDATA[
< ![CDATA[
@ -534,7 +532,9 @@
<key-field > CODIGO</key-field>
<key-field > CODIGO</key-field>
<caption-field > NOME</caption-field>
<caption-field > NOME</caption-field>
</DBComboBox>
</DBComboBox>
</HorizontalLayout>
<HorizontalLayout width= "100%" margin= "false" spacing= "true" >
<DBComboBox type= "number" id= "ftUfOrigem" caption= "UF origem" width= "100%" expandRatio= "0.1" allowNullSelection= "true" align= "TOP_LEFT" >
<DBComboBox type= "number" id= "ftUfOrigem" caption= "UF origem" width= "100%" expandRatio= "0.1" allowNullSelection= "true" align= "TOP_LEFT" >
<datasource >
<datasource >
<freeQuery connection-key= "vitruvio" >
<freeQuery connection-key= "vitruvio" >
@ -559,13 +559,13 @@
<caption-field > SIGLA</caption-field>
<caption-field > SIGLA</caption-field>
</DBComboBox>
</DBComboBox>
<OptionGroup type= "string" id= "ftFrotaTerceiro" disposition= "horizontal" width= "100%" expandRatio= "0.3" align= "MIDDLE_CENTER " caption= "Frota" >
<OptionGroup type= "string" id= "ftFrotaTerceiro" disposition= "horizontal" width= "100%" expandRatio= "0.2" align= "TOP_RIGHT " caption= "Frota" >
<entry value= "Ambos" key= "A" />
<entry value= "Ambos" key= "A" />
<entry value= "Frota" key= "F" />
<entry value= "Frota" key= "F" />
<entry value= "Terceiro" key= "T" />
<entry value= "Terceiro" key= "T" />
</OptionGroup>
</OptionGroup>
<OptionGroup type= "string" id= "ftCaminhaoCarreta" disposition= "horizontal" width= "100%" expandRatio= "0.3" align= "MIDDLE_LEF T" caption= "Caminhão/Carreta" >
<OptionGroup type= "string" id= "ftCaminhaoCarreta" disposition= "horizontal" width= "100%" expandRatio= "0.2" align= "TOP_RIGH T" caption= "Caminhão/Carreta" >
<entry value= "Ambos" key= "A" />
<entry value= "Ambos" key= "A" />
<entry value= "Caminhão" key= "C" />
<entry value= "Caminhão" key= "C" />
<entry value= "Carreta" key= "T" />
<entry value= "Carreta" key= "T" />