mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-13 10:09:27 +00:00
trims the student information so that the value is falsy in javascript
This commit is contained in:
@@ -639,7 +639,7 @@ class Profil extends Auth_Controller
|
||||
$res->mittel = $betriebsmittelperson_res;
|
||||
$res->matrikelnummer = $matr_res->matr_nr;
|
||||
foreach($student_res as $key => $value){
|
||||
$res->$key = $value;
|
||||
$res->$key = trim($value);
|
||||
}
|
||||
$res->zuttritsgruppen = $zutrittsgruppe_res;
|
||||
|
||||
|
||||
@@ -366,9 +366,9 @@ export default {
|
||||
<div class="row">
|
||||
<div v-for="(wert,bez) in specialData" class="col-md-6 col-sm-12 ">
|
||||
|
||||
|
||||
|
||||
<div class=" form-floating mb-2">
|
||||
|
||||
|
||||
<input readonly class="form-control form-control-plaintext border-bottom" :id="'floating'+bez" :value="wert?wert:'-'">
|
||||
<label :for="'floating'+bez">{{bez}}</label>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user