Projekt

Allgemein

Profil

Aktionen

Unterstützung #100

geschlossen

Verschiedene Admin aktionen

Von David Mock vor etwa 11 Jahren hinzugefügt. Vor etwa 11 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Kategorie:
Front-End
Zielversion:
Beginn:
17.03.2013
Abgabedatum:
% erledigt:

100%

Geschätzter Aufwand:

Beschreibung

Appointment create -> Lehrer-ID und ParentChildID ist zu kompliziert meinen Empfinden nach.
ParentChild create -> BenutzerID ist ambigious und zu kompliziert, Button Liste der Schüler muss noch raus.
ParentChild view -> überall nur Nummern drin.
ParentChild update -> selber Spaß.
user view -> überall roter Knopf irgendwie nur auf View Seite vom Admin ?

Aktionen #1

Von David Mock vor etwa 11 Jahren aktualisiert

#100 WOOOOOT YAAAAY!

Aktionen #2

Von David Mock vor etwa 11 Jahren aktualisiert

Appointment create -> Label von Datum stimmt nicht :(
Error Summary noch raus.
Datum wurde die ganze Zeit nicht angenommen bis dann schließlich eine Exception geflogen ist.

CDbCommand konnte das SQL-Statement nicht ausführen: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row:
a foreign key constraint fails (`estdb`.`appointment`, CONSTRAINT `fk_appointment_date1` FOREIGN KEY (`date_id`) REFERENCES `date` (`id`) 
ON DELETE NO ACTION ON UPDATE NO ACTION). The SQL statement executed was: INSERT INTO `appointment` (`time`, `date_id`, `parent_child_id`, `user_id`) 
VALUES (:yp0, :yp1, :yp2, :yp3)


–  /home/est/public_html/est_trunk/protected/controllers/AppointmentController.php(83): CActiveRecord->save()
78         // Uncomment the following line if AJAX validation is needed
79         // $this->performAjaxValidation($model);
80 
81         if (isset($_POST['Appointment'])) {
82             $model->attributes = $_POST['Appointment'];
83             if ($model->save())
84                 $this->redirect(array('view', 'id' => $model->id));
85         }
86 
87         $this->render('create', array(
88             'model' => $model,

Aktionen #3

Von David Mock vor etwa 11 Jahren aktualisiert

  • Status wurde von Neu zu Erledigt geändert
  • % erledigt wurde von 0 zu 100 geändert

Button ist eingebaut.
Für alles andere siehe #113

Aktionen

Auch abrufbar als: Atom PDF