Change all url to route
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
@section('content')
|
||||
<div class="card">
|
||||
{!! Form::open([
|
||||
'url' => 'banking/reconciliations/create',
|
||||
'route' => 'reconciliations.store',
|
||||
'id' => 'reconciliation',
|
||||
'@submit.prevent' => 'onSubmit',
|
||||
'@keydown' => 'form.errors.clear($event.target.name)',
|
||||
@ -40,7 +40,7 @@
|
||||
</div>
|
||||
|
||||
{!! Form::open([
|
||||
'url' => 'banking/reconciliations/create',
|
||||
'route' => 'reconciliations.store',
|
||||
'role' => 'form',
|
||||
'class' => 'form-loading-button',
|
||||
'id' => 'form-reconciliations',
|
||||
|
@ -5,11 +5,11 @@
|
||||
@section('content')
|
||||
<div class="card">
|
||||
{!! Form::model($reconciliation, [
|
||||
'method' => 'PATCH',
|
||||
'url' => ['banking/reconciliations', $reconciliation->id],
|
||||
'role' => 'form',
|
||||
'id' => 'form-reconciliations',
|
||||
'class' => 'form-loading-button mb-0'
|
||||
'method' => 'PATCH',
|
||||
'route' => ['reconciliations.update', $reconciliation->id],
|
||||
'role' => 'form',
|
||||
'id' => 'form-reconciliations',
|
||||
'class' => 'form-loading-button mb-0'
|
||||
]) !!}
|
||||
|
||||
<div class="card-header border-0">
|
||||
|
Reference in New Issue
Block a user