Examples of formatKonto()


Examples of org.projectforge.fibu.KontoDO.formatKonto()

      @Override
      public void populateItem(final Item<ICellPopulator<KundeDO>> item, final String componentId, final IModel<KundeDO> rowModel)
      {
        final KundeDO kunde = rowModel.getObject();
        final KontoDO konto = kontoCache.getKonto(kunde.getKontoId());
        item.add(new Label(componentId, konto != null ? konto.formatKonto() : ""));
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
    columns.add(new CellItemListenerPropertyColumn<KundeDO>(new Model<String>(getString("status")), "status", "status", cellItemListener));
    columns.add(new CellItemListenerPropertyColumn<KundeDO>(new Model<String>(getString("description")), "description", "description",
View Full Code Here

Examples of org.projectforge.fibu.KontoDO.formatKonto()

      @Override
      public void populateItem(final Item item, final String componentId, final IModel rowModel)
      {
        final EingangsrechnungDO rechnung = (EingangsrechnungDO) rowModel.getObject();
        final KontoDO konto = kontoCache.getKonto(rechnung.getKontoId());
        item.add(new Label(componentId, konto != null ? konto.formatKonto() : ""));
        cellItemListener.populateItem(item, componentId, rowModel);
      }
    });
    columns.add(new CellItemListenerPropertyColumn<EingangsrechnungDO>(getString("fibu.common.reference"),
        getSortable("referenz", sortable), "referenz", cellItemListener));
View Full Code Here

Examples of org.projectforge.fibu.KontoDO.formatKonto()

      return ((PFUserDO) value).getFullname();
    } else if (value instanceof I18nEnum) {
      return PFUserContext.getLocalizedString(((I18nEnum) value).getI18nKey());
    } else if (value instanceof KontoDO) {
      final KontoDO konto = (KontoDO) value;
      return konto.formatKonto();
    } else if (value instanceof Kost1DO) {
      return KostFormatter.format((Kost1DO) value);
    } else if (value instanceof Kost2DO) {
      return KostFormatter.format((Kost2DO) value);
    } else if (value instanceof KundeDO) {
View Full Code Here

Examples of org.projectforge.fibu.KontoDO.formatKonto()

        @Override
        public void populateItem(final Item<ICellPopulator<RechnungDO>> item, final String componentId, final IModel<RechnungDO> rowModel)
        {
          final RechnungDO invoice = rowModel.getObject();
          final KontoDO konto = kontoCache.getKonto(invoice);
          item.add(new Label(componentId, konto != null ? konto.formatKonto() : ""));
          cellItemListener.populateItem(item, componentId, rowModel);
        }
      });
    }
    columns.add(new CellItemListenerPropertyColumn<RechnungDO>(RechnungDO.class, getSortable("betreff", sortable), "betreff",
View Full Code Here

Examples of org.projectforge.fibu.KontoDO.formatKonto()

        @Override
        public void populateItem(final Item<ICellPopulator<ProjektDO>> item, final String componentId, final IModel<ProjektDO> rowModel)
        {
          final ProjektDO projekt = rowModel.getObject();
          final KontoDO konto = kontoCache.getKonto(projekt);
          item.add(new Label(componentId, konto != null ? konto.formatKonto() : ""));
          cellItemListener.populateItem(item, componentId, rowModel);
        }
      });
    }
    columns.add(new CellItemListenerPropertyColumn<ProjektDO>(new Model<String>(getString("status")), getSortable("status", sortable),
View Full Code Here

Examples of org.projectforge.fibu.KontoDO.formatKonto()

          {
            if (value == null) {
              return "";
            }
            final KontoDO konto = (KontoDO) value;
            return konto.formatKonto();
          }
        };
      }
    };
    kontoTextField.enableTooltips().withLabelValue(true).withMatchContains(true).withMinChars(2).withAutoSubmit(false).withWidth(400);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.