fix invoice payment

This commit is contained in:
ludo
2023-11-25 19:33:41 +01:00
parent 34f0b2796f
commit 82b864768e
10 changed files with 127 additions and 149 deletions

View File

@@ -4,7 +4,7 @@
'label' => 'Règlement',
'name' => 'payment_type',
'list' => $payment_types ?? [],
'value' => $invoice_payment['payment_type'],
'value' => $invoice_payment['payment_type'] ?? null,
'class' => 'select2',
])
</div>
@@ -12,15 +12,7 @@
@include('components.form.input', [
'label' => 'Montant',
'name' => 'amount',
'value' => $invoice_payment['amount'],
'value' => $invoice_payment['amount'] ?? null,
])
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="float-right mt-3">
@include('components.form.buttons.button-save')
</div>
</div>
</div>