Général
= $form->field($model, 'type')
->dropDownList($userModule->getTypeChoicesArray(), [
'v-model' => 'type'
]); ?>
= $form->field($model, 'name_legal_person', ['options' => ['v-show' => "type == 'legal-person'"]])->textInput() ?>
= $form->field($model, 'lastname')->textInput() ?>
= $form->field($model, 'name')->textInput() ?>
= $form->field($model, 'phone')->textInput() ?>
= $form->field($model, 'email')->textInput() ?>
email): ?>
= $form->field($model, 'send_mail_welcome')->checkbox() ?>
= $form->field($model, 'address')->textarea() ?>
0): ?>
0): ?>
Groupes
= $form->field($model, 'user_groups')->checkboxlist(
ArrayHelper::map($userGroupsArray, 'id', function ($userGroup) use ($model) {
return Html::encode($userGroup->name);
}), [
'encode' => false
]);
?>
field($model, 'product_price_percent')
->dropDownList( ProductPrice::percentValues(), [])->hint('Pourcentage appliqué aux prix de chaque produit pour cet utilisateur.');*/ ?>
= Html::a('Retour', ['user/index'], ['class' => 'btn btn-default']) ?>
= Html::submitButton($model->isNewRecord ? 'Créer' : 'Modifier', ['class' => 'btn btn-primary']) ?>
Bulletin d'information
= $form->field($model, 'newsletter')->widget(Toggle::class,
[
'options' => [
'data-id' => $model->id,
'data-on' => 'Oui',
'data-off' => 'Non',
],
]
); ?>
getExportManager()->isEnabled(ExportManager::SHOPPING_CART_LABELS_PDF)
|| $producerModule->getSolver()->getConfig('option_export_evoliz')): ?>
Exports
getExportManager()->isEnabled(ExportManager::SHOPPING_CART_LABELS_PDF)): ?>
= $form->field($model, 'exclude_export_shopping_cart_labels')->checkbox(); ?>
getSolver()->getConfig('option_export_evoliz')): ?>
= $form->field($model, 'evoliz_code')->textInput() ?>