add newsletter
This commit is contained in:
63
backend/views/customer/mail.php
Normal file
63
backend/views/customer/mail.php
Normal file
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\ActiveForm;
|
||||
use common\models\Customer;
|
||||
use common\components\CityNameTypeahead;
|
||||
use common\components\CityZipTypeahead;
|
||||
use common\components\CardNumberTypeahead;
|
||||
use kartik\widgets\DatePicker;
|
||||
use dosamigos\tinymce\TinyMce;
|
||||
use yii\grid\GridView;
|
||||
use yii\base\Widget;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Customer */
|
||||
/* @var $form yii\widgets\ActiveForm */
|
||||
?>
|
||||
|
||||
<h1>Hírlevél küldése</h1>
|
||||
|
||||
<p>
|
||||
Hírlevél küldése minden vendégnek, aki
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
Nincs törölve
|
||||
</li>
|
||||
<li>
|
||||
be van állítva a kér hírlevelet jelölőnégyzet a vendég adatlapján
|
||||
</li>
|
||||
</ul>
|
||||
<div class="customer-form">
|
||||
|
||||
<?php $form = ActiveForm::begin(); ?>
|
||||
|
||||
<?php echo $form->field($model,'subject')?>
|
||||
|
||||
<?= $form->field($model, 'text')->widget(TinyMce::className(), [
|
||||
'options' => ['rows' => 12],
|
||||
// 'language' => 'en',
|
||||
'clientOptions' => [
|
||||
'plugins' => [
|
||||
"advlist autolink lists link charmap print preview anchor",
|
||||
"searchreplace visualblocks code fullscreen",
|
||||
"insertdatetime media table contextmenu paste"
|
||||
],
|
||||
'toolbar' => "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image"
|
||||
]
|
||||
]);?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<?php // echo $form->field($model, 'address')->textInput(['maxlength' => true]) ?>
|
||||
|
||||
<div class="form-group">
|
||||
<?= Html::submitButton( Yii::t('common/customer', 'Küldés') , ['class' => 'btn btn-success' ]) ?>
|
||||
</div>
|
||||
|
||||
<?php ActiveForm::end(); ?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user