setTitle('Créditer '.Html::encode($user->lastname.' '.$user->name).'', 'Créditer '.Html::encode($user->lastname.' '.$user->name)) ; $this->addBreadcrumb(['label' => 'Utilisateurs', 'url' => ['index']]) ; $this->addBreadcrumb(['label' => Html::encode($user->lastname.' '.$user->name)]) ; $this->addBreadcrumb('Créditer') ; ?>
Producer::getId() ]); if(!$producer->credit) { echo '
Attention, la fonctionnalité Crédit est désactivée dans vos paramètres.' . ' Pensez à l\'activer si vous souhaitez qu\'elle soit visible de vos utilisateurs.
' ; } ?>

Crédit obligatoire credit_active ? 'Désactiver' : 'Activer', ['user/state-credit', 'idUser' => $user->id,'state' => !$userProducer->credit_active], ['class' => 'btn btn-default btn-xs']); ?>

credit_active): ?>
Activé
Désactivé

Crédit / débit

field($creditForm, 'type')->dropDownList([ CreditHistory::TYPE_CREDIT => 'Crédit', CreditHistory::TYPE_DEBIT => 'Débit', ]) ?> field($creditForm, 'amount')->textInput() ?> field($creditForm, 'mean_payment')->dropDownList([ MeanPayment::MONEY => MeanPayment::getStrBy(MeanPayment::MONEY), MeanPayment::CREDIT_CARD => MeanPayment::getStrBy(MeanPayment::CREDIT_CARD), MeanPayment::CHEQUE => MeanPayment::getStrBy(MeanPayment::CHEQUE), MeanPayment::TRANSFER => MeanPayment::getStrBy(MeanPayment::TRANSFER), MeanPayment::OTHER => MeanPayment::getStrBy(MeanPayment::OTHER), ]) ?> field($creditForm, 'comment')->textarea() ?> field($creditForm, 'send_mail')->checkbox() ?>
'btn btn-primary']) ?>

Historique getCredit($producer->id), 2); ?> €

Date Utilisateur Type - Débit + Crédit Paiement Commentaire
getDate(true) ; ?> strUserAction()); ?> getStrWording(); ?> isTypeDebit()): ?> - getAmount(true); ?> isTypeCredit()): ?> + getAmount(true); ?> getStrMeanPayment() ?> comment)): ?> comment) ; ?>
Aucun résultat