add payment method
This commit is contained in:
@@ -5,6 +5,7 @@ use yii\widgets\ActiveForm;
|
||||
use frontend\components\HtmlHelper;
|
||||
use kartik\widgets\DatePicker;
|
||||
use common\models\Account;
|
||||
use common\models\Transfer;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Ticket */
|
||||
@@ -43,7 +44,9 @@ use common\models\Account;
|
||||
|
||||
<?= $form->field($model, 'id_account')->dropDownList($accountOptions) ?>
|
||||
|
||||
<?php //echo $form->field($model, 'id_discount')->dropDownList($discountOptions) ?>
|
||||
<?php echo $form->field($model,'payment_method')->dropDownList(Transfer::paymentMethods()) ?>
|
||||
|
||||
<?php echo $form->field($model, 'id_discount')->dropDownList($discountOptions) ?>
|
||||
|
||||
<?= $form->field($model, 'start')->widget(DatePicker::classname(), [
|
||||
'pluginOptions' => [
|
||||
|
||||
Reference in New Issue
Block a user