Compare commits

..

2 Commits

2 changed files with 662 additions and 578 deletions

View File

@ -1,443 +1,508 @@
% !TEX root = ../Main.tex % !TEX root = ../Main.tex
% Input Validation: Summe
\newcommand{\validateCurrency}{\detokenize{
var amount = String(event.value ?? "0").replaceAll(".", "").replaceAll(",", ".");
if (amount && (isNaN(amount) || parseFloat(amount) < 0)) {
app.alert("Ungueltiger Betrag: " + event.value + ". Bitte geben Sie eine gueltige Zahl ein.");
event.rc = false;
} else {
event.value = parseFloat(amount).toLocaleString("de-DE", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
}
}}
\begin{Form}[action=http://localhost:5000/,method=post] \begin{Form}[action=http://localhost:5000/,method=post]
\paPage{QSM Allgemeiner Teil}{ \paPage{QSM Allgemeiner Teil}{
% Abschnitt 1: Antragsteller : entweder Institution oder Person % Abschnitt 1: Antragsteller : entweder Institution oder Person
% -> aktiviert/deaktiviert zugehörige Felder (über radio buttons) mit JavaScript % -> aktiviert/deaktiviert zugehörige Felder (über radio buttons) mit JavaScript
\FormSection{Antragsteller}{% \FormSection{Antragsteller}{%
% Radio buttons : horizontal oben % Radio buttons : horizontal oben
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\textbf{Art des Antragstellers} & \raisebox{-1pt}{\ChoiceMenu[ \textbf{Art des Antragstellers} & \raisebox{-1pt}{\ChoiceMenu[
radio, radio,
name=pa-applicant-type, name=pa-applicant-type,
width=1em, width=1em,
height=1em, height=1em,
radiosymbol=\ding{108} radiosymbol=\ding{108}
]{}{=person}} Person & \raisebox{-1pt}{\ChoiceMenu[ ]{}{=person}} Person & \raisebox{-1pt}{\ChoiceMenu[
radio, radio,
name=pa-applicant-type, name=pa-applicant-type,
width=1em, width=1em,
height=1em, height=1em,
radiosymbol=\ding{108} radiosymbol=\ding{108}
]{}{=institution}} Institution ]{}{=institution}} Institution
\end{tabular}\vspace{-1em} \end{tabular}\vspace{-1em}
} }
\FormSection{Institution (sofern vorhanden)}{% \FormSection{Institution (sofern vorhanden)}{%
% Radio buttons : horizontal oben % Radio buttons : horizontal oben
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\textbf{Art der Institution} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{Art der Institution} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomChoiceMenuDefault{pa-institution-type}{}{width=\linewidth,default=-,value=-}{-,Fachschaft=stud-fs,STUPA-Referat=stud-rf,Studentische Hochschulgruppe=stud-hg,Fakultät=faculty,Hochschuleinrichtung=hs-institution} \CustomChoiceMenuDefault{pa-institution-type}{}{width=\linewidth,default=-,value=-}{-,Fachschaft=stud-fs,STUPA-Referat=stud-rf,Studentische Hochschulgruppe=stud-hg,Fakultät=faculty,Hochschuleinrichtung=hs-institution}
} \\ } \\
\textbf{Name der Institution} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{Name der Institution} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomTextFieldDefault{pa-institution}{}{Institution}{width=\linewidth} \CustomTextFieldDefault{pa-institution}{}{Institution}{width=\linewidth}
} \\ } \\
\end{tabular} \end{tabular}
} }
% Abschnitt 2: Ansprechperson % Validate: E-Mail-Adresse
\FormSection{Ansprechperson}{% \newcommand{\validateEmail}{\detokenize{
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} var email = event.value;
\textbf{Vorname, Name} & \CustomTextFieldDefault{pa-first-name}{}{Vorname}{width=\linewidth} & \CustomTextFieldDefault{pa-last-name}{}{Nachname}{width=\linewidth} \\ if (email && !/^[a-zA-Z0-9._\%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$/.test(email)) { /*$*/
\textbf{Fakultät} & \multicolumn{2}{p{0.73\textwidth}}{ app.alert("Ungueltige E-Mail-Adresse: " + email + ". Bitte geben Sie eine gueltige E-Mail-Adresse ein.");
\CustomChoiceMenuDefault{pa-course}{}{width=\linewidth,default=-}{-,INF,ESB,LS,TEC,TEX,NXT} event.rc = false;
} \\ }
\textbf{Rolle} & \multicolumn{2}{p{0.73\textwidth}}{ }}
\CustomChoiceMenuDefault{pa-role}{}{width=\linewidth,default=-}{-,Student,Professor,Mitarbeiter,ASTA,Referatsleitung,Fachschaftsvorstand}
} \\
\textbf{E-Mail-Adresse} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomTextFieldDefault{pa-email}{}{E-Mail-Addresse}{width=\linewidth}
} \\
\end{tabular}
}
% Abschnitt 3: Allgmeine Informationen zum Projekt % Abschnitt 2: Ansprechperson
\FormSection{Allgemeine Informationen zum Projekt}{% \FormSection{Ansprechperson}{%
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\textbf{Projektname} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{Vorname, Name} & \CustomTextFieldDefault{pa-first-name}{}{Vorname}{width=\linewidth} & \CustomTextFieldDefault{pa-last-name}{}{Nachname}{width=\linewidth} \\
\CustomTextFieldDefault{pa-project-name}{}{Projektname}{width=\linewidth} \textbf{Fakultät} & \multicolumn{2}{p{0.73\textwidth}}{
} \\ \CustomChoiceMenuDefault{pa-course}{}{width=\linewidth,default=-}{-,INF,ESB,LS,TEC,TEX,NXT}
% Sofern zutreffend: Bekannte Anzahl der Teilnehmer } \\
\multicolumn{2}{p{0.667\textwidth}}{\hspace{-6pt}\textbf{Anzahl der stud. Teilnehmer (sofern bekannt)}} & { \textbf{Rolle} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomTextFieldDefault{pa-participants}{}{Anzahl der Teilnehmer}{width=\linewidth} \CustomChoiceMenuDefault{pa-role}{}{width=\linewidth,default=-}{-,Student,Professor,Mitarbeiter,ASTA,Referatsleitung,Fachschaftsvorstand}
} \\ } \\
\textbf{Teilnehmende Fakultäten} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{E-Mail-Adresse} & \multicolumn{2}{p{0.73\textwidth}}{
%\CustomChoiceMenuDefault{pa-participing-faculties}{}{width=\linewidth,default=-}{-,Hochschulöffentlich=ALL,INF,ESB,LS,TEC,TEX,NXT} \CustomTextFieldDefault{pa-email}{}{E-Mail-Addresse}{width=\linewidth,validate=\validateEmail}
\raisebox{-1pt}{\CheckBox[ } \\
radio, \end{tabular}
name=pa-participating-faculties-inf, }
width=1em,
height=1em
]{}} INF\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-esb,
width=1em,
height=1em
]{}} ESB\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-ls,
width=1em,
height=1em
]{}} LS\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-tec,
width=1em,
height=1em
]{}} TEC\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-tex,
width=1em,
height=1em
]{}} TEX\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-nxt,
width=1em,
height=1em
]{}} NXT\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-open,
width=1em,
height=1em
]{}} Öffentlich
} \\
\end{tabular}
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} % Abschnitt 3: Allgmeine Informationen zum Projekt
\textbf{Antragssumme (insg.)} & & \hspace{\fill} \CustomTextFieldDefault{pa-requested-amount-euro}{}{Antragssumme (\euro)}{width=6em,align=2,default=0.00}~\euro \\ \FormSection{Allgemeine Informationen zum Projekt}{%
\textbf{Projektzeitraum (von, bis)} & & \hspace{\fill} \CustomTextFieldDefault{pa-start-date}{}{von}{width=0.4\linewidth,default=MM-JJJJ,align=1} \CustomTextFieldDefault{pa-end-date}{}{bis}{width=0.4\linewidth,default=MM-JJJJ,align=1}{\BeginAccSupp{ActualText=}\color{white}~\euro\EndAccSupp{}} \\ % Validate: Teilnehmerzahl >= 0 und integer
\end{tabular} \newcommand{\validateParticipants}{\detokenize{
} if (isNaN(event.value) || parseInt(event.value) != parseFloat(event.value) || parseInt(event.value) < 0) {
app.alert("Ungueltige Teilnehmerzahl: " + event.value + ". Bitte geben Sie eine positive ganze Zahl ein.");
event.rc = false;
}
}}
\FormSection{Art der Maßnahme}{ \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\vspace{0.5em} \textbf{Projektname} & \multicolumn{2}{p{0.73\textwidth}}{
\begin{minipage}{1.05\textwidth} \CustomTextFieldDefault{pa-project-name}{}{Projektname}{width=\linewidth}
\setstretch{1.0}\color{black}\dinfont\small } \\
Sofern die Maßnahme eine bekannte Art der Finanzierung nach VWV darstellt, kann diese zur besseren Einordnung angegeben werden. % Sofern zutreffend: Bekannte Anzahl der Teilnehmer
\vspace{1em} \multicolumn{2}{p{0.667\textwidth}}{\hspace{-6pt}\textbf{Anzahl der stud. Teilnehmer (sofern bekannt)}} & {
\end{minipage} \CustomTextFieldDefault{pa-participants}{}{Anzahl der Teilnehmer}{width=\linewidth,align=2,default=0,validate=\validateParticipants}
} \\
\textbf{Teilnehmende Fakultäten} & \multicolumn{2}{p{0.73\textwidth}}{
%\CustomChoiceMenuDefault{pa-participing-faculties}{}{width=\linewidth,default=-}{-,Hochschulöffentlich=ALL,INF,ESB,LS,TEC,TEX,NXT}
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-inf,
width=1em,
height=1em
]{}} INF\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-esb,
width=1em,
height=1em
]{}} ESB\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-ls,
width=1em,
height=1em
]{}} LS\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-tec,
width=1em,
height=1em
]{}} TEC\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-tex,
width=1em,
height=1em
]{}} TEX\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-nxt,
width=1em,
height=1em
]{}} NXT\quad
\raisebox{-1pt}{\CheckBox[
radio,
name=pa-participating-faculties-open,
width=1em,
height=1em
]{}} Öffentlich
} \\
\end{tabular}
% Drop-down menu % Input Validation: Date
\CustomChoiceMenuDefault{pa-qsm-financing}{}{width=1.05\textwidth,default=-}{ \newcommand{\validateStartDate}{\detokenize{
{Finanzierung zusätzlicher Lehr- und Seminarangebote=vwv-3-2-1-1}, if (event.value != "JJJJ-MM") {
{Fachspezifische Studienprojekte=vwv-3-2-1-2}, var date = new Date(event.value);
{Hochschuldidaktische Fort- und Weiterbildungsmaßnahmen=vwv-3-2-1-3}, if (date == "Invalid Date") {
{Verbesserung/Ausbau von Serviceeinrichtungen sowie Infrastruktur=vwv-3-2-2-1}, app.alert("Ungueltiges Datum: " + event.value + ". Bitte geben Sie ein gueltiges Datum im Format JJJJ-MM ein.");
{Lehr- und Lernmaterialien=vwv-3-2-2-2}, event.rc = false;
{Durchführung von Exkursionen=vwv-3-2-2-3}, } else {
{Finanzierung von infrastrukturellen Begleit- und Anpassungsmaßnahmen=vwv-3-2-2-4}, event.value = date.toISOString().slice(0, 7);
{Verbesserung der Beratungsangebote für Studierende=vwv-3-2-3-1}, }
{Studium Generale und fachübergreifende Lehrangebote=vwv-3-2-3-2}, if (this.getField("pa-end-date").value != "JJJJ-MM") {
{Sonstige Maßnahmen im Interesse der Studierendenschaft=vwv-3-2-3-3} var endDate = new Date(this.getField("pa-end-date").value);
}\vspace{-1em} if (date >= endDate) {
} app.alert("Das Startdatum muss vor dem Enddatum liegen.");
event.rc = false;
}
}
}
}}
% \Submit{Absenden} % Input Validation: End Date
} \newcommand{\validateEndDate}{\detokenize{
if (event.value != "JJJJ-MM") {
var date = new Date(event.value);
if (date == "Invalid Date") {
app.alert("Ungueltiges Datum: " + event.value + ". Bitte geben Sie ein gueltiges Datum im Format JJJJ-MM ein.");
event.rc = false;
} else {
event.value = date.toISOString().slice(0, 7);
}
if (this.getField("pa-start-date").value != "JJJJ-MM") {
var startDate = new Date(this.getField("pa-start-date").value);
if (startDate >= date) {
app.alert("Das Enddatum muss nach dem Startdatum liegen.");
event.rc = false;
}
}
}
}}
\paPage{QSM Projektbeschreibung}{ \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\FormSection{Projektbeschreibung}{% \textbf{Antragssumme (insg.)} & & \hspace{\fill} \CustomTextFieldDefault{pa-requested-amount-euro-sum}{}{Antragssumme (\euro)}{width=6em,align=2,default={0,00},validate=\validateCurrency}~\euro \\
\vspace{0.5em} \textbf{Projektzeitraum (von, bis)} & & \hspace{\fill} \CustomTextFieldDefault{pa-start-date}{}{von}{width=0.4\linewidth,default=JJJJ-MM,align=1,validate=\validateStartDate} \CustomTextFieldDefault{pa-end-date}{}{bis}{width=0.4\linewidth,default=JJJJ-MM,align=1,validate=\validateEndDate}{\BeginAccSupp{ActualText=}\color{white}~\euro\EndAccSupp{}} \\
\begin{minipage}{1.05\textwidth} \end{tabular}
\setstretch{1.0}\color{black}\dinfont\small }
Bitte beschreiben Sie hier das Projekt, die Ziele und die geplanten Maßnahmen.
\vspace{1em}
\end{minipage}
% Textfeld für die Projektbeschreibung \FormSection{Art der Maßnahme}{
\TextField[ \vspace{0.5em}
name=pa-project-description, \begin{minipage}{1.05\textwidth}
multiline, \setstretch{1.0}\color{black}\dinfont\small
width=1.055\textwidth, Sofern die Maßnahme eine bekannte Art der Finanzierung nach VWV darstellt, kann diese zur besseren Einordnung angegeben werden.
height=26\baselineskip, \vspace{1em}
bordercolor=black, \end{minipage}
backgroundcolor=white,
charsize=12pt,
align=0,
readonly=\isReadOnlyVariant
]{}\vspace{-1.5em}
}
}
% Seite für Kostenaufstellung % Drop-down menu
\iffalse \CustomChoiceMenuDefault{pa-qsm-financing}{}{width=1.05\textwidth,default=-}{
Tabelle mit: {Finanzierung zusätzlicher Lehr- und Seminarangebote=vwv-3-2-1-1},
- Index (hardcoded) {Fachspezifische Studienprojekte=vwv-3-2-1-2},
- Bezeichnung {Hochschuldidaktische Fort- und Weiterbildungsmaßnahmen=vwv-3-2-1-3},
- Kosten (Euro) {Verbesserung/Ausbau von Serviceeinrichtungen sowie Infrastruktur=vwv-3-2-2-1},
{Lehr- und Lernmaterialien=vwv-3-2-2-2},
{Durchführung von Exkursionen=vwv-3-2-2-3},
{Finanzierung von infrastrukturellen Begleit- und Anpassungsmaßnahmen=vwv-3-2-2-4},
{Verbesserung der Beratungsangebote für Studierende=vwv-3-2-3-1},
{Studium Generale und fachübergreifende Lehrangebote=vwv-3-2-3-2},
{Sonstige Maßnahmen im Interesse der Studierendenschaft=vwv-3-2-3-3}
}\vspace{-1em}
}
Hinweis, dass pro Position ein Beiblatt Vergleichsangebote eingereicht werden muss. % \Submit{Absenden}
\fi }
\paPage{QSM Kostenaufstellung}{
\FormSection{Kostenaufstellung}{%
\vspace{0.5em}
\begin{minipage}{1.05\textwidth}
\setstretch{1.0}\color{black}\dinfont\small
Bitte tragen Sie hier die Kosten für das Projekt ein.
Pro Position muss ein Beiblatt Vergleichsangebote eingereicht werden.
\vspace{1em}
\end{minipage}
% JS-Code to update cell on blur of any number field \paPage{QSM Projektbeschreibung}{
\newcommand{\updateField}{\detokenize{ \FormSection{Projektbeschreibung}{%
var total = 0; \vspace{0.5em}
for (var i = 1; i <= 24; i++) { \begin{minipage}{1.05\textwidth}
var amountField = this.getField("pa-cost-" + i + "-amount-euro"); \setstretch{1.0}\color{black}\dinfont\small
if (amountField) { Bitte beschreiben Sie hier das Projekt, die Ziele und die geplanten Maßnahmen.
var value = parseFloat(amountField.value) || 0; \vspace{1em}
total += value; \end{minipage}
}
}
this.getField("pa-requested-amount-euro").value = total.toFixed(2);
}}
\newcommand{\validateField}{\detokenize{ % Textfeld für die Projektbeschreibung
% Validate that the field is a float; Gets `event` and `app` as arguments \TextField[
if (event.value && (isNaN(event.value.replace(",", ".")) || parseFloat(event.value) < 0)) { name=pa-project-description,
app.alert("Ungueltiger Betrag: " + event.value + ". Bitte geben Sie eine gueltige Zahl ein."); multiline,
event.rc = false; width=1.055\textwidth,
} else { height=26\baselineskip,
\updateField bordercolor=black,
} backgroundcolor=white,
}} charsize=12pt,
align=0,
readonly=\isReadOnlyVariant
]{}\vspace{-1.5em}
}
}
% Tabelle für die Kostenaufstellung % Seite für Kostenaufstellung
\begin{tabular}{@{}p{0.02\textwidth}p{0.82\textwidth}p{0.16\textwidth}@{}} \iffalse
% Index Tabelle mit:
\textbf{\#} & \multicolumn{1}{c}{\textbf{Bezeichnung}} & \multicolumn{1}{c}{\textbf{Kosten (\euro)}} \\ - Index (hardcoded)
% Insg. 24 Positionen - Bezeichnung
1 & \CustomTextFieldDefault{pa-cost-1-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-1-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField,validate=\validateField} \\ - Kosten (Euro)
2 & \CustomTextFieldDefault{pa-cost-2-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-2-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
3 & \CustomTextFieldDefault{pa-cost-3-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-3-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
4 & \CustomTextFieldDefault{pa-cost-4-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-4-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
5 & \CustomTextFieldDefault{pa-cost-5-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-5-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
6 & \CustomTextFieldDefault{pa-cost-6-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-6-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
7 & \CustomTextFieldDefault{pa-cost-7-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-7-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
8 & \CustomTextFieldDefault{pa-cost-8-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-8-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
9 & \CustomTextFieldDefault{pa-cost-9-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-9-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
10 & \CustomTextFieldDefault{pa-cost-10-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-10-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
11 & \CustomTextFieldDefault{pa-cost-11-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-11-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
12 & \CustomTextFieldDefault{pa-cost-12-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-12-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
13 & \CustomTextFieldDefault{pa-cost-13-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-13-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
14 & \CustomTextFieldDefault{pa-cost-14-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-14-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
15 & \CustomTextFieldDefault{pa-cost-15-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-15-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
16 & \CustomTextFieldDefault{pa-cost-16-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-16-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
17 & \CustomTextFieldDefault{pa-cost-17-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-17-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
18 & \CustomTextFieldDefault{pa-cost-18-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-18-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
19 & \CustomTextFieldDefault{pa-cost-19-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-19-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
20 & \CustomTextFieldDefault{pa-cost-20-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-20-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
21 & \CustomTextFieldDefault{pa-cost-21-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-21-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
22 & \CustomTextFieldDefault{pa-cost-22-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-22-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
23 & \CustomTextFieldDefault{pa-cost-23-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-23-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
24 & \CustomTextFieldDefault{pa-cost-24-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-24-amount-euro}{}{Kosten}{width=6em,align=2,default=0.00,onchange=\updateField,onblur=\updateField} \\
\textbf{$\Sigma$} & & \CustomTextFieldDefault{pa-requested-amount-euro}{}{Summe}{width=6em,align=2,default=0.00} \\
\end{tabular}
}
}
\paPage{QSM Checklisten}{ Hinweis, dass pro Position ein Beiblatt Vergleichsangebote eingereicht werden muss.
\FormSection{Checkliste: QS-Mittel}{ \fi
\vspace{0.5em} \paPage{QSM Kostenaufstellung}{
\begin{minipage}{1.05\textwidth} \FormSection{Kostenaufstellung}{%
\setstretch{1.0}\color{black}\dinfont \vspace{0.5em}
Durch QS-Mittel finanzierte Projekte müssen der \href{https://www.landesrecht-bw.de/bsbw/document/VVBW-VVBW000034426}{Verwaltungsvorschrift des Landes} über die Verwendung selbiger entsprechen. \begin{minipage}{1.05\textwidth}
Dieses Beiblatt dient der Sicherstellung, dass die Anforderungen erfüllt werden. \setstretch{1.0}\color{black}\dinfont\small
\vspace{1em} Hier bitte alle Kosten im Rahmen des Projektes eintragen. Pro Position ist ein Beiblatt "Vergleichsangebote" anzuhängen.
\end{minipage} \vspace{1em}
\end{minipage}
%% Tabelle; Checkboxen auf rechter Seite, Text links % JS-Code to update cell on blur of any number field
\begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}} \newcommand{\updateSum}{\detokenize{
% Der Antrag beinhaltet keine zeitlich unbefristeten Stellenfinanzierungen var total = 0;
\textbf{Die Maßnahme beinhaltet keine zeitlich unbefristeten Stellenfinanzierungen} & \raisebox{-1pt}{\CheckBox[ for (var i = 1; i <= 24; i++) {
name=pa-qsm-stellenfinanzierungen, var amountField = this.getField("pa-cost-" + i + "-amount-euro");
width=1em, if (amountField) {
height=1em var amount = String(amountField.value ?? "0").replaceAll(".", "").replaceAll(",", ".");
]{}} \\ var value = parseFloat(amount) || 0;
% Die Maßnahme kommt den Studierenden zugute (vgl. VWV) total += value;
\textbf{Die Maßnahme kommt den Studierenden zugute (vgl. VWV)} & \raisebox{-1pt}{\CheckBox[ amountField.value = value.toLocaleString("de-DE", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
name=pa-qsm-studierende, }
width=1em, }
height=1em this.getField("pa-requested-amount-euro-sum").value = total.toLocaleString("de-DE", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
]{}} \\ }}
% Es findet keine individuelle Förderung von Studierenden statt
\textbf{Es findet keine individuelle Förderung von Studierenden statt} & \raisebox{-1pt}{\CheckBox[
name=pa-qsm-individuell,
width=1em,
height=1em
]{}} \\
\end{tabular}
}
\FormSection{Checkliste: Exkursionen}{ \newcommand{\validateAndUpdateSum}{
%% Tabelle; Checkboxen auf rechter Seite, Text links \validateCurrency
\begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}} \updateSum
% Der Antrag beinhaltet keine zeitlich unbefristeten Stellenfinanzierungen }
\textbf{Die Exkursion wurde von der Fakultät genehmigt} & \raisebox{-1pt}{\CheckBox[
name=pa-qsm-exkursion-genehmigt,
width=1em,
height=1em
]{}} \\
% Die Maßnahme kommt den Studierenden zugute (vgl. VWV)
\textbf{Die Exkursion wird maßgeblich von der Fakultät bezuschusst} & \raisebox{-1pt}{\CheckBox[
name=pa-qsm-exkursion-bezuschusst,
width=1em,
height=1em
]{}}
\end{tabular}
}
% Bekannte Arten der Finanzierung nach VWV; Sofern die Maßnahme eine bekannte Art der Finanzierung nach VWV darstellt, kann diese zur besseren Einordnung angegeben werden. % Tabelle für die Kostenaufstellung
% Diese sind: \begin{tabular}{@{}p{0.02\textwidth}p{0.82\textwidth}p{0.16\textwidth}@{}}
% (Stufe 1) % Index
% - Finanzierung zusätzlicher, auch fachübergreifender Lehr- und Seminarangebote \textbf{\#} & \multicolumn{1}{c}{\textbf{Bezeichnung}} & \multicolumn{1}{c}{\textbf{Kosten (\euro)}} \\
% - Fachspezifische Studienprojekte % Insg. 24 Positionen
% - Hochschuldidaktische Fort- und Weiterbildungsmaßnahmen 1 & \CustomTextFieldDefault{pa-cost-1-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-1-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% (Stufe 2) 2 & \CustomTextFieldDefault{pa-cost-2-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-2-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Verbesserung sowie Ausbau der Angebote von Serviceeinrichtungen der Hochschule sowie der lehr- und lernbezogenen Infrastruktur 3 & \CustomTextFieldDefault{pa-cost-3-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-3-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Lehr- und Lernmaterialien 4 & \CustomTextFieldDefault{pa-cost-4-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-4-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Durchführung von Exkursionen im Pflicht- und Wahlpflichtbereich sowie Exkursionen zur Vertiefung des Lehrinhalts 5 & \CustomTextFieldDefault{pa-cost-5-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-5-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Finanzierung von infrastrukturellen Begleit- und Anpassungsmaßnahmen 6 & \CustomTextFieldDefault{pa-cost-6-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-6-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% (Stufe 3) 7 & \CustomTextFieldDefault{pa-cost-7-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-7-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Verbesserung der Beratungsangebote für Studierende 8 & \CustomTextFieldDefault{pa-cost-8-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-8-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Studium Generale, fachübergreifende Lehrangebote 9 & \CustomTextFieldDefault{pa-cost-9-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-9-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% - Sonstige Maßnahmen, die mittelbar der Verbesserung der Qualität von Studium und Lehre dienen und die Vielfalt der Studierendenschaft und Studienangebote widerspiegeln, hochschulübergreifende Projekte 10 & \CustomTextFieldDefault{pa-cost-10-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-10-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% 11 & \CustomTextFieldDefault{pa-cost-11-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-11-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
% Falls keine zutrifft, muss eine Begründung, warum die Maßnahme trotzdem förderungswürdig ist, angegeben werden. 12 & \CustomTextFieldDefault{pa-cost-12-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-12-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
13 & \CustomTextFieldDefault{pa-cost-13-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-13-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
14 & \CustomTextFieldDefault{pa-cost-14-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-14-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
15 & \CustomTextFieldDefault{pa-cost-15-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-15-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
16 & \CustomTextFieldDefault{pa-cost-16-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-16-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
17 & \CustomTextFieldDefault{pa-cost-17-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-17-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
18 & \CustomTextFieldDefault{pa-cost-18-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-18-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
19 & \CustomTextFieldDefault{pa-cost-19-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-19-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
20 & \CustomTextFieldDefault{pa-cost-20-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-20-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
21 & \CustomTextFieldDefault{pa-cost-21-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-21-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
22 & \CustomTextFieldDefault{pa-cost-22-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-22-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
23 & \CustomTextFieldDefault{pa-cost-23-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-23-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
24 & \CustomTextFieldDefault{pa-cost-24-name}{}{Bezeichnung}{width=\linewidth} & \CustomTextFieldDefault{pa-cost-24-amount-euro}{}{Kosten}{width=6em,align=2,default={0,00},onblur=\updateSum,validate=\validateAndUpdateSum} \\
\textbf{$\Sigma$} & & \CustomTextFieldDefault{pa-requested-amount-euro-sum}{}{Summe}{width=6em,align=2,default={0,00},validate=\validateCurrency} \\
\end{tabular}
}
}
\FormSection{Checkliste: Anhänge}{ \paPage{QSM Checklisten}{
\vspace{0.5em} \FormSection{Checkliste: QS-Mittel}{
\begin{minipage}{1.05\textwidth} \vspace{0.5em}
\setstretch{1.0}\color{black}\dinfont \begin{minipage}{1.05\textwidth}
Hier bitte alle mit dem Dokument eingereichten Dokumente ankreuzen: \setstretch{1.0}\color{black}\dinfont
\vspace{1em} Durch QS-Mittel finanzierte Projekte müssen der \href{https://www.landesrecht-bw.de/bsbw/document/VVBW-VVBW000034426}{Verwaltungsvorschrift des Landes} über die Verwendung selbiger entsprechen.
\end{minipage} Dieses Beiblatt dient der Sicherstellung, dass die Anforderungen erfüllt werden.
\vspace{1em}
\end{minipage}
\begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}} %% Tabelle; Checkboxen auf rechter Seite, Text links
\textbf{Beiblatt Vergleichsangebote} & \raisebox{-1pt}{\CheckBox[ \begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}}
name=pa-anh-vergleichsangebote, % Der Antrag beinhaltet keine zeitlich unbefristeten Stellenfinanzierungen
width=1em, \textbf{Die Maßnahme beinhaltet keine zeitlich unbefristeten Stellenfinanzierungen} & \raisebox{-1pt}{\CheckBox[
height=1em name=pa-qsm-stellenfinanzierungen,
]{}} \\ width=1em,
Jeweils ein Formular pro Position siehe Kostenaufstellung & \\ height=1em
\textbf{Genehmigter Exkursionsantrag der Fakultät} & \raisebox{-1pt}{\CheckBox[ ]{}} \\
name=pa-anh-fakultaet, % Die Maßnahme kommt den Studierenden zugute (vgl. VWV)
width=1em, \textbf{Die Maßnahme kommt den Studierenden zugute (vgl. VWV)} & \raisebox{-1pt}{\CheckBox[
height=1em name=pa-qsm-studierende,
]{}} \\ width=1em,
Nur bei Exkursionen kann je nach Fakultät unterschiedlich sein & height=1em
\end{tabular} ]{}} \\
} % Es findet keine individuelle Förderung von Studierenden statt
\textbf{Es findet keine individuelle Förderung von Studierenden statt} & \raisebox{-1pt}{\CheckBox[
name=pa-qsm-individuell,
width=1em,
height=1em
]{}} \\
\end{tabular}
}
% \Submit{Absenden} \FormSection{Checkliste: Exkursionen}{
} %% Tabelle; Checkboxen auf rechter Seite, Text links
\begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}}
% Der Antrag beinhaltet keine zeitlich unbefristeten Stellenfinanzierungen
\textbf{Die Exkursion wurde von der Fakultät genehmigt} & \raisebox{-1pt}{\CheckBox[
name=pa-qsm-exkursion-genehmigt,
width=1em,
height=1em
]{}} \\
% Die Maßnahme kommt den Studierenden zugute (vgl. VWV)
\textbf{Die Exkursion wird maßgeblich von der Fakultät bezuschusst} & \raisebox{-1pt}{\CheckBox[
name=pa-qsm-exkursion-bezuschusst,
width=1em,
height=1em
]{}}
\end{tabular}
}
\paPage{Vergleichsangebote}{ % Bekannte Arten der Finanzierung nach VWV; Sofern die Maßnahme eine bekannte Art der Finanzierung nach VWV darstellt, kann diese zur besseren Einordnung angegeben werden.
% Auswahl der Position in der Kostenaufstellung, für die Vergleichsangebote eingereicht werden; Bezeichnung des benötigten Angebots % Diese sind:
\vspace{-2em} % (Stufe 1)
\FormSection{}{% % - Finanzierung zusätzlicher, auch fachübergreifender Lehr- und Seminarangebote
% Nebeneinander: Links Position, rechts Bezeichnung; Tabellenzelle; Ohne Überschrift; Ohne Bezeichner (Inhalt des Drop-downs enthält "Position #") % - Fachspezifische Studienprojekte
\begin{tabular}{@{}p{0.1\textwidth}p{0.92\textwidth}@{}} % - Hochschuldidaktische Fort- und Weiterbildungsmaßnahmen
\textbf{Position} & \textbf{Bezeichnung} \\ % (Stufe 2)
\CustomChoiceMenuDefault{pa-offer-position}{}{width=\linewidth,default=-}{ % - Verbesserung sowie Ausbau der Angebote von Serviceeinrichtungen der Hochschule sowie der lehr- und lernbezogenen Infrastruktur
-=-, % - Lehr- und Lernmaterialien
Pos. 1=1, % - Durchführung von Exkursionen im Pflicht- und Wahlpflichtbereich sowie Exkursionen zur Vertiefung des Lehrinhalts
Pos. 2=2, % - Finanzierung von infrastrukturellen Begleit- und Anpassungsmaßnahmen
Pos. 3=3, % (Stufe 3)
Pos. 4=4, % - Verbesserung der Beratungsangebote für Studierende
Pos. 5=5, % - Studium Generale, fachübergreifende Lehrangebote
Pos. 6=6, % - Sonstige Maßnahmen, die mittelbar der Verbesserung der Qualität von Studium und Lehre dienen und die Vielfalt der Studierendenschaft und Studienangebote widerspiegeln, hochschulübergreifende Projekte
Pos. 7=7, %
Pos. 8=8, % Falls keine zutrifft, muss eine Begründung, warum die Maßnahme trotzdem förderungswürdig ist, angegeben werden.
Pos. 9=9,
Pos. 10=10, \FormSection{Checkliste: Anhänge}{
Pos. 11=11, \vspace{0.5em}
Pos. 12=12, \begin{minipage}{1.05\textwidth}
Pos. 13=13, \setstretch{1.0}\color{black}\dinfont
Pos. 14=14, Hier bitte alle mit dem Dokument eingereichten Dokumente ankreuzen:
Pos. 15=15, \vspace{1em}
Pos. 16=16, \end{minipage}
Pos. 17=17,
Pos. 18=18, \begin{tabular}{@{}p{\textwidth}p{0.05\textwidth}@{}}
Pos. 19=19, \textbf{Beiblatt Vergleichsangebote} & \raisebox{-1pt}{\CheckBox[
Pos. 20=20, name=pa-anh-vergleichsangebote,
Pos. 21=21, width=1em,
Pos. 22=22, height=1em
Pos. 23=23, ]{}} \\
Pos. 24=24 Jeweils ein Formular pro Position siehe Kostenaufstellung & \\
} & \CustomTextFieldDefault{pa-offer-name}{}{Bezeichnung}{width=\linewidth} \\ \textbf{Genehmigter Exkursionsantrag der Fakultät} & \raisebox{-1pt}{\CheckBox[
\end{tabular} name=pa-anh-fakultaet,
} width=1em,
height=1em
]{}} \\
Nur bei Exkursionen kann je nach Fakultät unterschiedlich sein &
\end{tabular}
}
% \Submit{Absenden}
}
\paPage{Vergleichsangebote}{
% Auswahl der Position in der Kostenaufstellung, für die Vergleichsangebote eingereicht werden; Bezeichnung des benötigten Angebots
\vspace{-2em}
\FormSection{}{%
% Nebeneinander: Links Position, rechts Bezeichnung; Tabellenzelle; Ohne Überschrift; Ohne Bezeichner (Inhalt des Drop-downs enthält "Position #")
\begin{tabular}{@{}p{0.1\textwidth}p{0.92\textwidth}@{}}
\textbf{Position} & \textbf{Bezeichnung} \\
\CustomChoiceMenuDefault{pa-offer-position}{}{width=\linewidth,default=-}{
-=-,
Pos. 1=1,
Pos. 2=2,
Pos. 3=3,
Pos. 4=4,
Pos. 5=5,
Pos. 6=6,
Pos. 7=7,
Pos. 8=8,
Pos. 9=9,
Pos. 10=10,
Pos. 11=11,
Pos. 12=12,
Pos. 13=13,
Pos. 14=14,
Pos. 15=15,
Pos. 16=16,
Pos. 17=17,
Pos. 18=18,
Pos. 19=19,
Pos. 20=20,
Pos. 21=21,
Pos. 22=22,
Pos. 23=23,
Pos. 24=24
} & \CustomTextFieldDefault{pa-offer-name}{}{Bezeichnung}{width=\linewidth} \\
\end{tabular}
}
\FormSection{Angebot 1 (bevorzugt)}{% \FormSection{Angebot 1 (bevorzugt)}{%
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\textbf{Bezeichnung} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{Bezeichnung} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomTextFieldDefault{pa-offer-1-provider}{}{Anbieter}{width=\linewidth} \CustomTextFieldDefault{pa-offer-1-provider}{}{Anbieter}{width=\linewidth}
} \\ } \\
\textbf{Angebotssumme} & & \hspace{\fill} \CustomTextFieldDefault{pa-offer-1-amount-euro}{}{Angebotssumme (\euro)}{width=6em,align=2,default=0.00}~\euro \\ \textbf{Angebotssumme} & & \hspace{\fill} \CustomTextFieldDefault{pa-offer-1-amount-euro}{}{Angebotssumme (\euro)}{width=6em,align=2,default={0,00},validate=\validateCurrency}~\euro \\
\end{tabular} \end{tabular}
\vspace{0.5em}\\ \vspace{0.5em}\\
\textbf{Kommentar / Begründung:}\vspace{0.5em}\\ \textbf{Kommentar / Begründung:}\vspace{0.5em}\\
\TextField[ \TextField[
name=pa-offer-1-comment, name=pa-offer-1-comment,
multiline, multiline,
width=1.055\textwidth, width=1.055\textwidth,
height=3\baselineskip, height=3\baselineskip,
bordercolor=black, bordercolor=black,
backgroundcolor=white, backgroundcolor=white,
charsize=12pt, charsize=12pt,
align=0, align=0,
readonly=\isReadOnlyVariant readonly=\isReadOnlyVariant
]{}\vspace{-1.5em} ]{}\vspace{-1.5em}
} }
\FormSection{Angebot 2}{% \FormSection{Angebot 2}{%
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\textbf{Bezeichnung} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{Bezeichnung} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomTextFieldDefault{pa-offer-2-provider}{}{Anbieter}{width=\linewidth} \CustomTextFieldDefault{pa-offer-2-provider}{}{Anbieter}{width=\linewidth}
} \\ } \\
\textbf{Angebotssumme} & & \hspace{\fill} \CustomTextFieldDefault{pa-offer-2-amount-euro}{}{Angebotssumme (\euro)}{width=6em,align=2,default=0.00}~\euro \\ \textbf{Angebotssumme} & & \hspace{\fill} \CustomTextFieldDefault{pa-offer-2-amount-euro}{}{Angebotssumme (\euro)}{width=6em,align=2,default={0,00},validate=\validateCurrency}~\euro \\
\end{tabular} \end{tabular}
\vspace{0.5em}\\ \vspace{0.5em}\\
\textbf{Kommentar:}\vspace{0.5em}\\ \textbf{Kommentar:}\vspace{0.5em}\\
\TextField[ \TextField[
name=pa-offer-2-comment, name=pa-offer-2-comment,
multiline, multiline,
width=1.055\textwidth, width=1.055\textwidth,
height=2\baselineskip, height=2\baselineskip,
bordercolor=black, bordercolor=black,
backgroundcolor=white, backgroundcolor=white,
charsize=12pt, charsize=12pt,
align=0, align=0,
readonly=\isReadOnlyVariant readonly=\isReadOnlyVariant
]{}\vspace{-1.5em} ]{}\vspace{-1.5em}
} }
\FormSection{Angebot 3}{% \FormSection{Angebot 3}{%
\begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}} \begin{tabular}{@{}p{0.3\textwidth}p{0.35\textwidth}p{0.35\textwidth}@{}}
\textbf{Bezeichnung} & \multicolumn{2}{p{0.73\textwidth}}{ \textbf{Bezeichnung} & \multicolumn{2}{p{0.73\textwidth}}{
\CustomTextFieldDefault{pa-offer-3-provider}{}{Anbieter}{width=\linewidth} \CustomTextFieldDefault{pa-offer-3-provider}{}{Anbieter}{width=\linewidth}
} \\ } \\
\textbf{Angebotssumme} & & \hspace{\fill} \CustomTextFieldDefault{pa-offer-3-amount-euro}{}{Angebotssumme (\euro)}{width=6em,align=2,default=0.00}~\euro \\ \textbf{Angebotssumme} & & \hspace{\fill} \CustomTextFieldDefault{pa-offer-3-amount-euro}{}{Angebotssumme (\euro)}{width=6em,align=2,default={0,00},validate=\validateCurrency}~\euro \\
\end{tabular} \end{tabular}
\vspace{0.5em}\\ \vspace{0.5em}\\
\textbf{Kommentar:}\vspace{0.5em}\\ \textbf{Kommentar:}\vspace{0.5em}\\
\TextField[ \TextField[
name=pa-offer-3-comment, name=pa-offer-3-comment,
multiline, multiline,
width=1.055\textwidth, width=1.055\textwidth,
height=2\baselineskip, height=2\baselineskip,
bordercolor=black, bordercolor=black,
backgroundcolor=white, backgroundcolor=white,
charsize=12pt, charsize=12pt,
align=0, align=0,
readonly=\isReadOnlyVariant readonly=\isReadOnlyVariant
]{}\vspace{-1.5em} ]{}\vspace{-1.5em}
} }
} }
\end{Form} \end{Form}

View File

@ -5,179 +5,198 @@
\newcommand{\isReadOnlyVariant}{false} \newcommand{\isReadOnlyVariant}{false}
\DeclareRobustCommand{\CustomTextField}[7]{\raisebox{#3}[#4][#5]{\TextField[ \DeclareRobustCommand{\CustomTextField}[7]{\raisebox{#3}[#4][#5]{\TextField[
print, print,
name=#1, name=#1,
width=1.7cm, width=1.7cm,
color=black, color=black,
backgroundcolor=white, backgroundcolor=white,
bordercolor=white, bordercolor=white,
value=#2, value=#2,
align=1, align=1,
format = { var f = this.getField('pa-id'); readonly=\isReadOnlyVariant,
f.textFont = 'NotoSans-Regular'; % On Hover show the altname as Tooltip (#6)
}, altname={#6},
readonly=\isReadOnlyVariant, onmouseover={if (event.target.display == display.hidden) event.target.display = display.visible;},
% On Hover show the altname as Tooltip (#6) #7
altname={#6}, ]{}}}
onmouseover={if (event.target.display == display.hidden) event.target.display = display.visible;},
#7
]{}}}
\DeclareRobustCommand{\CustomChoiceMenu}[7]{\raisebox{#3}[#4][#5]{\ChoiceMenu[ \DeclareRobustCommand{\CustomChoiceMenu}[7]{\raisebox{#3}[#4][#5]{\ChoiceMenu[
name=#1, name=#1,
color=black, color=black,
backgroundcolor=white, backgroundcolor=white,
value=#2, value=#2,
align=1, align=1,
combo, combo,
print, print,
readonly=\isReadOnlyVariant, readonly=\isReadOnlyVariant,
#6 #6
]{}{#7}}} ]{}{#7}}}
\DeclareRobustCommand{\CustomTextFieldThuge}[4]{\CustomTextField{#1}{#2}{-5pt}{0pt}{0pt}{#3}{ \DeclareRobustCommand{\CustomTextFieldThuge}[4]{\CustomTextField{#1}{#2}{-5pt}{0pt}{0pt}{#3}{
charsize=16pt, charsize=16pt,
height=1em, height=1em,
width=3.6cm, width=3.6cm,
readonly=true, backgroundcolor=black!5!white,
bordercolor=black, borderwidth=2pt,
backgroundcolor=black!5!white, color=black,
borderwidth=2pt, #4
color=black, }}
#4
}}
\DeclareRobustCommand{\CustomTextFieldDefault}[4]{\CustomTextField{#1}{#2}{-4pt}{2pt}{2pt}{#3}{ \DeclareRobustCommand{\CustomTextFieldDefault}[4]{\CustomTextField{#1}{#2}{-4pt}{2pt}{2pt}{#3}{
charsize=12pt, charsize=12pt,
height=1.4em, height=1.4em,
width=5cm, width=5cm,
bordercolor=gray, bordercolor=black,
align=0, align=0,
#4 #4
}} }}
\DeclareRobustCommand{\CustomChoiceMenuDefault}[4]{\CustomChoiceMenu{#1}{#2}{-4pt}{2pt}{2pt}{ \DeclareRobustCommand{\CustomChoiceMenuDefault}[4]{\CustomChoiceMenu{#1}{#2}{-4pt}{2pt}{2pt}{
charsize=12pt, charsize=12pt,
height=1.4em, height=1.4em,
width=5cm, width=5cm,
bordercolor=black, bordercolor=black,
align=0, align=0,
#3 #3
}{#4}} }{#4}}
% Command für einen Abschnitt graue Box rund um den Abschnitt; Abschnittsname in der oberen linken Ecke % Command für einen Abschnitt graue Box rund um den Abschnitt; Abschnittsname in der oberen linken Ecke
% #1: Abschnittsname % #1: Abschnittsname
% #2: Abschnittsinhalt % #2: Abschnittsinhalt
\DeclareRobustCommand{\FormSection}[2]{ \DeclareRobustCommand{\FormSection}[2]{
\color{black} \color{black}
{\hspace{-1em}\small\textbf{#1}}\vspace{0.2em} {\hspace{-1em}\small\textbf{#1}}\vspace{0.2em}
% Create Box using mdframed % Create Box using mdframed
\begin{mdframed}[ \begin{mdframed}[
backgroundcolor=white, backgroundcolor=white,
hidealllines=true, hidealllines=true,
skipabove=0, skipabove=0,
skipbelow=0.7\baselineskip, skipbelow=0.7\baselineskip,
splitbottomskip=2pt, splitbottomskip=2pt,
splittopskip=4pt, splittopskip=4pt,
roundcorner=0pt, roundcorner=0pt,
topline=true, topline=true,
bottomline=true, bottomline=true,
leftline=true, leftline=true,
rightline=true, rightline=true,
linecolor=black linecolor=black
] ]
\begin{minipage}[t]{0.95\textwidth} \begin{minipage}[t]{0.95\textwidth}
\color{black}#2 \color{black}#2
\end{minipage} \end{minipage}
\end{mdframed} \end{mdframed}
} }
\newcommand{\paPage}[2]{ \newcommand{\paPage}[2]{
\newpage \newpage
\setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}} \setlength{\imageHeight}{2cm*\real{\mainLogoScale}*\real{\logosScale}}
\begin{tikzpicture}[overlay, remember picture] \begin{tikzpicture}[overlay, remember picture]
\node[anchor=north west, inner sep=0pt, xshift=0.85cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) { \node[anchor=north west, inner sep=0pt, xshift=0.85cm, yshift=-1.5cm, opacity=0] (logo0) at (current page.north west) {
\includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png} \includegraphics[height=\imageHeight]{\imagesPath/DUMMY_FOOT.png}
}; };
\foreach \i in {1,...,\value{logoCounter}} { \foreach \i in {1,...,\value{logoCounter}} {
% Calculate name for i-1 % Calculate name for i-1
\pgfmathtruncatemacro{\prev}{\i-1} \pgfmathtruncatemacro{\prev}{\i-1}
\node[anchor=west, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.east) { \node[anchor=west, inner sep=0pt, xshift=-0.1cm, opacity=0.3] (logo\i) at (logo\prev.east) {
\makeatletter \makeatletter
\testarray{LogosScales}(\i) \testarray{LogosScales}(\i)
\setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}} \setlength{\imageHeight}{1.5cm*\real{\temp@macro}*\real{\logosScale}}
\testarray{LogosExtensions}(\i) \testarray{LogosExtensions}(\i)
\let\extension\temp@macro \let\extension\temp@macro
\testarray{LogosOpacities}(\i) \testarray{LogosOpacities}(\i)
\let\opacity\temp@macro \let\opacity\temp@macro
\testarray{LogosPaths}(\i) \testarray{LogosPaths}(\i)
\ifthenelse{\equal{\extension}{svg}}{ \ifthenelse{\equal{\extension}{svg}}{
\begin{tikzpicture} \begin{tikzpicture}
\node[opacity=\opacity] { \node[opacity=\opacity] {
\includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension} \includesvg[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
}; };
\end{tikzpicture} \end{tikzpicture}
}{ }{
\begin{tikzpicture} \begin{tikzpicture}
\node[opacity=\opacity] { \node[opacity=\opacity] {
\includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension} \includegraphics[height=\imageHeight]{\classPath/Assets/Images/\temp@macro.\extension}
}; };
\end{tikzpicture} \end{tikzpicture}
} }
\makeatother \makeatother
}; };
} }
% Address of the Student Parliament on the right: % Address of the Student Parliament on the right:
% Verfasste Studierendenschaft ▪ Hochschule Reutlingen ▪ Alteburgstraße 150 ▪ 72762 Reutlingen stupa.reutlingen.university ▪ T. +49 (0)7121 271-1099 ▪ asta@reutlingen-university.de % Verfasste Studierendenschaft ▪ Hochschule Reutlingen ▪ Alteburgstraße 150 ▪ 72762 Reutlingen stupa.reutlingen.university ▪ T. +49 (0)7121 271-1099 ▪ asta@reutlingen-university.de
\node[anchor=north east, inner sep=0pt, xshift=-0.85cm, yshift=-2cm, opacity=0.7] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) { \node[anchor=north east, inner sep=0pt, xshift=-0.85cm, yshift=-2cm, opacity=0.7] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) {
\hspace*{\fill}\begin{minipage}{0.3\textwidth} \hspace*{\fill}\begin{minipage}{0.3\textwidth}
\color{black} \color{black}
\blenderfont \blenderfont
\footnotesize \footnotesize
\textbf{Verfasste Studierendenschaft} \\ \textbf{Verfasste Studierendenschaft} \\
\setstretch{1.0} \setstretch{1.0}
Hochschule Reutlingen \\ Hochschule Reutlingen \\
Alteburgstraße 150 \\ Alteburgstraße 150 \\
72762 Reutlingen \\ 72762 Reutlingen \\
\href{https://stupa.reutlingen.university}{stupa.reutlingen.university} \\ \href{https://stupa.reutlingen.university}{stupa.reutlingen.university} \\
T. \href{tel:+4971212711099}{+49 (0)7121 271-1099} \\ T. \href{tel:+4971212711099}{+49 (0)7121 271-1099} \\
\href{mailto:asta@reutlingen-university.de}{asta@reutlingen-university.de} \href{mailto:asta@reutlingen-university.de}{asta@reutlingen-university.de}
\end{minipage} \end{minipage}
}; };
% %
\node[anchor=north east, inner sep=0pt, xshift=-2cm, yshift=-5.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) { \node[anchor=north east, inner sep=0pt, xshift=-2cm, yshift=-5.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+1) at (current page.north east) {
\huge \huge
\iffalse \iffalse
\CustomTextFieldThuge{pa-id}{}{Jahr/Antragsnummer}{width=3.8cm} \CustomTextFieldThuge{pa-id}{}{Jahr/Antragsnummer}{width=3.8cm}
\CustomTextFieldThuge{pa-key}{}{}{ \CustomTextFieldThuge{pa-key}{}{}{
name=pa-key, name=pa-key,
width=0.1pt, width=0.1pt,
readonly=true, readonly=true,
bordercolor=white, bordercolor=white,
backgroundcolor=white, backgroundcolor=white,
maxlen=16 maxlen=16
} }
\fi \fi
}; };
\end{tikzpicture}
\vskip 5em \node[anchor=north, inner sep=0pt, xshift=0cm, yshift=-0.5cm, opacity=0.3] (logo\the\numexpr\value{logoCounter}+2) at (current page.north) {
\ifnum1=\value{page}
\CustomTextFieldThuge{warning-not-supported}{}{}{
default={Warning: JavaScript is not supported! Please a supported Editor (e.g. Chrome, Firefox, Safari, Edge)},
width=21cm,
height=0.75cm,
borderwidth=0pt,
backgroundcolor=yellow,
readonly,
align=1,
charsize=12pt,
color=red,
format={\detokenize{
console.println(this);
var f = this.getField('warning-not-supported');
f.fillColor = ['T'];
f.textColor = ['T'];
f.disabled = true;
f.display = display.hidden;
}}
}
\fi
};
\end{tikzpicture}
% title \vskip 5em
\begin{flushleft}
{
\noindent
\color{black}\textbf{
\blenderfont\huge\hspace*{-2.5pt}Projektantrag: #1
}\\\vspace*{-0.5em}
{
\blenderfont Antrag auf finanzielle Förderung durch das STUPA
}\\
}
\color{black}
\vspace{-.8em}
\rule{\textwidth}{0.5mm}
\end{flushleft}
#2 % title
\begin{flushleft}
{
\noindent
\color{black}\textbf{
\blenderfont\huge\hspace*{-2.5pt}Projektantrag: #1
}\\\vspace*{-0.5em}
{
\blenderfont Antrag auf finanzielle Förderung durch das STUPA
}\\
}
\color{black}
\vspace{-.8em}
\rule{\textwidth}{0.5mm}
\end{flushleft}
#2
} }