Général

field($model, 'slug') ?> field($model, 'name') ?> field($model, 'type')->textInput(['placeholder' => 'Boulangerie, brasserie, ferme ...']); ?> field($model, 'postcode') ?> field($model, 'city') ?> field($model, 'contact_email') ?> field($model, 'latitude') ?> field($model, 'longitude') ?> field($model, 'code')->label('Code d\'accès') ?> field($model, 'admin_comment')->textarea(['rows' => 7]) ?>

Facturation

field($model, 'option_billing_type') ->dropDownList(Producer::getBillingTypePopulateDropdown()); ?> field($model, 'option_billing_frequency') ->dropDownList(Producer::getBillingFrequencyPopulateDropdown()); ?> field($model, 'option_billing_reduction') ->dropDownList([ 0 => 'Non', 1 => 'Oui' ]); ?> field($model, 'option_billing_reduction_percentage') ?> field($model, 'option_billing_permanent_transfer') ->dropDownList([ 0 => 'Non', 1 => 'Oui' ]); ?> field($model, 'option_billing_permanent_transfer_amount') ?> field($model, 'dolibarr_socid') ?> field($model, 'dolibarr_product_id') ?>
isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-success']) ?>