fixed wrong routes.
This commit is contained in:
		| @@ -5,7 +5,7 @@ | ||||
| @section('content') | ||||
|     <div class="card"> | ||||
|         {!! Form::open([ | ||||
|             'route' => 'reconciliations.store', | ||||
|             'route' => 'reconciliations.create', | ||||
|             'id' => 'reconciliation', | ||||
|             '@submit.prevent' => 'onSubmit', | ||||
|             '@keydown' => 'form.errors.clear($event.target.name)', | ||||
| @@ -40,7 +40,7 @@ | ||||
|         </div> | ||||
|  | ||||
|         {!! Form::open([ | ||||
|             'route' => 'reconciliations.store', | ||||
|             'route' => 'reconciliations.create', | ||||
|             'role' => 'form', | ||||
|             'class' => 'form-loading-button', | ||||
|             'id' => 'form-reconciliations', | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <div class="modal-body"> | ||||
|     {!! Form::open([ | ||||
|         'route' => 'modals.bills.bill.transactions.store', $bill->id, | ||||
|         'route' => ['modals.bills.bill.transactions.store', $bill->id], | ||||
|         'id' => 'transaction', | ||||
|         '@submit.prevent' => 'onSubmit', | ||||
|         '@keydown' => 'transaction_form.errors.clear($event.target.name)', | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <div class="modal-body pb-0"> | ||||
|     {!! Form::open([ | ||||
|         'route' => 'modals.invoices.invoice.transactions.store', $invoice->id, | ||||
|         'route' => ['modals.invoices.invoice.transactions.store', $invoice->id], | ||||
|         'id' => 'transaction', | ||||
|         '@submit.prevent' => 'onSubmit', | ||||
|         '@keydown' => 'transaction_form.errors.clear($event.target.name)', | ||||
|   | ||||
| @@ -171,7 +171,7 @@ | ||||
|                             @if ($enable) | ||||
|                                 <a href="{{ route('apps.app.disable', $module->slug) }}" class="btn btn-block btn-warning">{{ trans('modules.button.disable') }}</a> | ||||
|                             @else | ||||
|                                 <a href="{{ route('app.app.enable', $module->slug) }}" class="btn btn-block btn-success">{{ trans('modules.button.enable') }}</a> | ||||
|                                 <a href="{{ route('apps.app.enable', $module->slug) }}" class="btn btn-block btn-success">{{ trans('modules.button.enable') }}</a> | ||||
|                             @endif | ||||
|                         @endpermission | ||||
|                     @else | ||||
|   | ||||
| @@ -478,7 +478,7 @@ | ||||
|                                     @stack('button_pay_start') | ||||
|                                         @if($invoice->status != 'paid') | ||||
|                                             @permission('update-sales-invoices') | ||||
|                                                 <a class="dropdown-item" href="{{ route('invoices.pay', $invoice->id) }}">{{ trans('invoices.mark_paid') }}</a> | ||||
|                                                 <a class="dropdown-item" href="{{ route('invoices.paid', $invoice->id) }}">{{ trans('invoices.mark_paid') }}</a> | ||||
|                                             @endpermission | ||||
|  | ||||
|                                             @if(empty($invoice->paid) || ($invoice->paid != $invoice->amount)) | ||||
| @@ -509,7 +509,7 @@ | ||||
|                                     @stack('button_email_end') | ||||
|  | ||||
|                                     @stack('button_pdf_start') | ||||
|                                         <a class="dropdown-item" href="{{ route('invoices.pdf'i, $invoice->id) }}">{{ trans('invoices.download_pdf') }}</a> | ||||
|                                         <a class="dropdown-item" href="{{ route('invoices.pdf', $invoice->id) }}">{{ trans('invoices.download_pdf') }}</a> | ||||
|                                     @stack('button_pdf_end') | ||||
|  | ||||
|                                     @stack('button_delete_start') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user