Compare commits

...

3 Commits

2 changed files with 17 additions and 3 deletions

View File

@ -149,7 +149,7 @@
}
if (this.getField("pa-end-date").value != "JJJJ-MM") {
var endDate = new Date(this.getField("pa-end-date").value);
if (date >= endDate) {
if (date > endDate) {
app.alert("Das Startdatum muss vor dem Enddatum liegen.");
event.rc = false;
}
@ -169,7 +169,7 @@
}
if (this.getField("pa-start-date").value != "JJJJ-MM") {
var startDate = new Date(this.getField("pa-start-date").value);
if (startDate >= date) {
if (startDate > date) {
app.alert("Das Enddatum muss nach dem Startdatum liegen.");
event.rc = false;
}

View File

@ -13,6 +13,7 @@ BUILD_DIR=Build
PDF_SOURCE=$(BUILD_DIR)/$(PDF)
PDF_TARGET=$(OUT_DIR)/$(PDF)
VERSION=v1.2
all: compile
xdg-open $(PDF_TARGET)
@ -20,6 +21,19 @@ all: compile
clean:
git clean -dfX
pdfs:
# Make all PDFs for the VERSION (branches VERSION/QSM, VERSION/VSM and VERSION/VGL)
git checkout $(VERSION)/QSM
make compile
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_QSM.pdf
git checkout $(VERSION)/VSM
make compile
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VSM.pdf
git checkout $(VERSION)/VGL
make compile
cp $(PDF_TARGET) $(OUT_DIR)/$(VERSION)_VGL.pdf
git checkout master
compile:
# If not Exists, create 'Build' directory
[ -d $(BUILD_DIR) ] || mkdir -p $(BUILD_DIR)