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([ CreditHistory::MEAN_PAYMENT_MONEY => CreditHistory::getStrMeanPaymentBy(CreditHistory::MEAN_PAYMENT_MONEY), CreditHistory::MEAN_PAYMENT_CREDIT_CARD => CreditHistory::getStrMeanPaymentBy(CreditHistory::MEAN_PAYMENT_CREDIT_CARD), CreditHistory::MEAN_PAYMENT_CHEQUE => CreditHistory::getStrMeanPaymentBy(CreditHistory::MEAN_PAYMENT_CHEQUE), CreditHistory::MEAN_PAYMENT_OTHER => CreditHistory::getStrMeanPaymentBy(CreditHistory::MEAN_PAYMENT_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