implement customer comment in frontend
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user