renderFile('@common/views/alert_message.php', [
'display' => $adminSettingBag->get('adminAlertMessageDisplay'),
'type' => $adminSettingBag->get('adminAlertMessageType'),
'title' => $adminSettingBag->get('adminAlertMessageTitle'),
'icon' => $adminSettingBag->get('adminAlertMessageIcon'),
'message' => $adminSettingBag->get('adminAlertMessage'),
]) ?>
isUpToDateWithOpendistribVersion($producer) && $producer->option_display_message_new_opendistrib_version): ?>
getResolver()->countSharedPointsSaleRequestsOthers(); ?>
controller->id != 'shared-point-sale'): ?>
Vous avez une demande de partage de point de vente en attente. Voir
'ban', 'danger' => 'ban', 'warning' => 'warning', 'info' => 'info', 'success' => 'check'];
foreach($flashTypeArray as $flashType => $icon) {
if(Yii::$app->session->hasFlash($flashType)) {
echo $this->renderFile('@common/views/alert_message.php', [
'display' => true,
'title' => false,
'type' => $flashType,
'icon' => $icon,
'message' => Yii::$app->session->getFlash($flashType),
]);
}
}
?>
= $content ?>