Général
= $form->field($model, 'slug') ?>
= $form->field($model, 'name') ?>
= $form->field($model, 'type')->textInput(['placeholder' => 'Boulangerie, brasserie, ferme ...']); ?>
= $form->field($model, 'postcode') ?>
= $form->field($model, 'city') ?>
= $form->field($model, 'contact_email') ?>
= $form->field($model, 'latitude') ?>
= $form->field($model, 'longitude') ?>
= $form->field($model, 'code')->label('Code d\'accès') ?>
= $form->field($model, 'admin_comment')->textarea(['rows' => 7]) ?>
Facturation
= $form->field($model, 'option_billing_type')
->dropDownList(Producer::getBillingTypePopulateDropdown()); ?>
= $form->field($model, 'option_billing_frequency')
->dropDownList(Producer::getBillingFrequencyPopulateDropdown()); ?>
= $form->field($model, 'option_billing_reduction')
->dropDownList([
0 => 'Non',
1 => 'Oui'
]); ?>
= $form->field($model, 'option_billing_reduction_percentage') ?>
= $form->field($model, 'option_billing_permanent_transfer')
->dropDownList([
0 => 'Non',
1 => 'Oui'
]); ?>
= $form->field($model, 'option_billing_permanent_transfer_amount') ?>
= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-success']) ?>