Général

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

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') ?>
isNewRecord ? 'Ajouter' : 'Modifier', ['class' => 'btn btn-success']) ?>