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]) ?>
= $form->field($model, 'is_new')->checkbox() ?>
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') ?>
= $form->field($model, 'dolibarr_socid') ?>
= $form->field($model, 'dolibarr_product_id') ?>
= Html::submitButton($model->isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-success']) ?>