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() ?>
= $form->field($model, 'email_sending_invoicing_documents')
->textInput()
->hint("Utilisé pour l'envoi des documents (devis, bons de livraisons et factures)")
?>
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',
],
]
); ?>
Alerte confiance
= $form->field($model, 'trust_alert')->widget(Toggle::class,
[
'options' => [
'data-id' => $model->id,
'data-on' => 'Oui',
'data-off' => 'Non',
],
]
)->hint('Si activé, le nom du client sera mis en avant dans la liste des commandes'); ?>
= $form->field($model, 'trust_alert_comment')->textarea(['rows' => 7]); ?>
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() ?>