use of com.storedobject.vaadin.BooleanField in project SODevelopment by syampillai.
the class StockMovementReport method buildFields.
@Override
protected void buildFields() {
storeField = new ObjectField<>("Store", InventoryStore.class, true);
addField(storeField);
setRequired(storeField);
periodField = new DatePeriodField("Period", new DatePeriod(DateUtility.startOfMonth(), DateUtility.today()));
addField(periodField);
summaryField = new BooleanField("Print Summary Only");
addField(summaryField);
zerosField = new BooleanField("Print Zero-Quantity Items");
addField(zerosField);
}
use of com.storedobject.vaadin.BooleanField in project SODevelopment by syampillai.
the class SMSLog method buildFields.
@Override
protected void buildFields() {
DatePeriod p = new DatePeriod(DateUtility.addYear(DateUtility.today(), -1), DateUtility.today());
periodField = new DatePeriodField("Period", p);
addField(periodField);
delivered = new BooleanField("Delivered");
addField(delivered);
}
use of com.storedobject.vaadin.BooleanField in project SODevelopment by syampillai.
the class StockReport method buildFields.
@Override
protected void buildFields() {
storeField = new ObjectField<>("Store", InventoryStore.class, true);
storeField.setPlaceholder("All");
addField(storeField);
zerosField = new BooleanField("Print Zero-Quantity Items");
addField(zerosField);
outputField = new ChoiceField("Format", new String[] { "PDF", "Excel" });
addField(outputField);
}
Aggregations