fix invoice payment
This commit is contained in:
@@ -1,16 +1 @@
|
||||
@extends('layout.index', [
|
||||
'title' => __('invoices.title'),
|
||||
'subtitle' => __('invoices.create.title'),
|
||||
'breadcrumb' => [__('invoices.title'), __('invoices.create.title')]
|
||||
])
|
||||
|
||||
@include('boilerplate::load.fileinput')
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Form::open(['route' => 'Admin.Shop.Invoices.store', 'id' => 'invoice-form', 'autocomplete' => 'off']) }}
|
||||
@include('Admin.Shop.Invoices.form')
|
||||
@include('components.save')
|
||||
</form>
|
||||
|
||||
@endsection
|
||||
@include('Admin.Shop.InvoicePayments.form')
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user