id) && !$model->date_delete): ?>
Annuler ma commande
€
= Html::submitButton(' Commentaire', ['class' => 'btn btn-default btn-comment', 'data-placement' => 'top', 'data-toggle' => 'tooltip', 'data-original-title' => 'Ajouter un commentaire']) ?>
credit):
$linkCredit = '
' ; ;
?>
getAmount($order, Order::AMOUNT_PAID)): ?>
= Html::checkbox('credit', true, ['label' => 'Utiliser mon Crédit
'.number_format($credit,2).' €']) ?>
= Html::hiddenInput('amount_credit', $credit, ['id' => 'amount-credit']) ?>
= Html::hiddenInput('str_amount_credit', number_format($credit,2).' €', ['id' => 'str-amount-credit']) ?>
Votre compte Crédit est vide = $linkCredit ?>
Le Crédit est désactivé
pour ce point de vente = $linkCredit ?>
= $form->field($model, 'comment')->textarea(['rows' => 3, 'placeholder' => 'Un commentaire ?'])->label(''); ?>
date_delete): $strButtonConfirmOrder = 'Réactiver ma commande' ; else: $strButtonConfirmOrder = 'Valider ma commande' ; endif; ?>
= Html::submitButton(' '.$strButtonConfirmOrder, ['class' => 'btn btn-primary confirm-order']) ?>