payments && count($model->payments) > 0): ?>
Moyen de paiement |
Date transaction |
Montant |
payments as $payment): ?>
= $paymentManager->getStrMeanPayment($payment); ?> |
= $payment->date_transaction ? date('d/m/Y', strtotime($payment->date_transaction)) : '' ?> |
= Price::format($payment->amount); ?> |
isDocumentInvoice($model) && ! $invoiceModule->isInvoicePaid($model)): ?>
= $form->field($payment, 'mean_payment')->dropDownList(MeanPayment::getAll()); ?>
= $form->field($payment, 'date_transaction')->textInput([
'class' => 'datepicker form-control'
]); ?>
= $form->field($payment, 'amount', [
'template' => '{label}
{input}
{hint}',
])->textInput(); ?>
= Html::submitButton('Ajouter', ['class' => 'btn btn-primary']) ?>