add editable giro pay date

This commit is contained in:
2016-04-03 09:05:39 +02:00
parent bd5406f8be
commit 2647ca6aa6
8 changed files with 96 additions and 9 deletions

View File

@@ -112,7 +112,7 @@ class TicketInstallmentRequestController extends Controller
{
$model = new GiroKotegForm();
if ($model->load(Yii::$app->request->post()) ) {
if ($model->load(Yii::$app->request->post()) && $model->validate() ) {
$model->createKoteg();
return $this->redirect(['ugiro/view', 'id' => $model->koteg->id_ugiro]);
}