implement customer comment in frontend

This commit is contained in:
Schneider Roland
2023-03-09 17:44:43 +01:00
parent 31edf22e0e
commit 8d98f510d1
3 changed files with 63 additions and 37 deletions

View File

@@ -236,4 +236,22 @@ if (isset($model->customer)) {
}
if (isset($model->customer)) {
if ( isset($model->customer->comment )) {
$commentClass = "alert alert-danger";
echo Html::beginTag("div", ['class' => $commentClass, "role" => "alert"]);
echo Html::beginTag("div");
echo "Megjegyzés:";
echo Html::endTag("div");
echo Html::beginTag("strong", []);
echo $model->customer->comment;
echo Html::endTag("strong");
echo Html::endTag("div");
}
}
?>