false
]); ?>
= $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() ?>
getSolver()->getConfig('option_export_evoliz')): ?>
= $form->field($model, 'evoliz_code')->textInput() ?>
= $form->field($model, 'newsletter')->checkbox() ?>
getExportManager()->isEnabled(ExportManager::SHOPPING_CART_LABELS_PDF)): ?>
= $form->field($model, 'exclude_export_shopping_cart_labels')->checkbox(); ?>
0): ?>
= $form->field($model, 'points_sale')->checkboxlist(
ArrayHelper::map($pointsSaleArray, 'id', function ($pointSale) use ($model) {
$commentUserPointSale = isset($pointSale->userPointSale[0]) ? $pointSale->userPointSale[0]->comment : '';
$html = Html::encode($pointSale->name);
if ($pointSale->restricted_access) {
$html .= '
';
}
return $html;
}), [
'encode' => false
]);
?>
0): ?>
= $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']) ?>
Email de bienvenue
= Html::submitButton("Envoyer l'email de bienvenue", ['class' => 'btn btn-primary', 'name' => 'submit_mail_welcome', 'value' => 1]) ?>
Mot de passe
= Html::submitButton('Envoyer un nouveau mot de passe', ['class' => 'btn btn-primary', 'name' => 'submit_new_password', 'value' => 1]) ?>
0): ?>
Facturation
= $pointSale->name ?>