Général
= $form->field($model, 'name') ?>
= $form->field($model, 'type')->textInput(['placeholder' => 'Boulangerie, brasserie, ferme ...']); ?>
= $form->field($model, 'postcode') ?>
= $form->field($model, 'city') ?>
= $form->field($model, 'code')->label('Code d\'accès') ?>
Facturation
= $form->field($model, 'option_billing_type')
->dropDownList(ProducerModel::getBillingTypePopulateDropdown()); ?>
= $form->field($model, 'option_billing_frequency')
->dropDownList(ProducerModel::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']) ?>