private void customerSelected1(ClientItem selectItem) {
   status1.setValue(selectItem.isActive());
   if (selectItem.getType() == 1) {
     itemType1.setValue(messages.service());
   } else if (selectItem.getType() == 3) {
     itemType1.setValue(messages.product());
   }
   price1.setValue(String.valueOf(selectItem.getSalesPrice()));
 }
 private void filterItems() {
   ArrayList<ClientItem> items = getCompany().getItems();
   ArrayList<ClientItem> result = new ArrayList<ClientItem>();
   for (ClientItem item : items) {
     if (item.getType() == ClientItem.TYPE_INVENTORY_PART
         || item.getType() == ClientItem.TYPE_INVENTORY_ASSEMBLY) {
       if (isActiveItems == item.isActive()) {
         result.add(item);
       }
     }
   }
   listOfItems = result;
 }