Revenue/ Payment form issue solved.

This commit is contained in:
Cüneyt Şentürk
2020-02-11 18:04:10 +03:00
parent 77d2a7d565
commit c1486f6ee6
5 changed files with 8 additions and 11 deletions

View File

@ -36,7 +36,7 @@
<div class="card-body">
<div class="row">
{{ Form::dateGroup('paid_at', trans('general.date'), 'calendar', ['id' => 'paid_at', 'class' => 'form-control datepicker', 'required' => 'required', 'date-format' => 'Y-m-d', 'autocomplete' => 'off'], Date::parse($payment->paid_at)->toDateString()) }}
{{ Form::dateGroup('paid_at', trans('general.date'), 'calendar', ['id' => 'paid_at', 'required' => 'required', 'date-format' => 'Y-m-d', 'autocomplete' => 'off'], Date::parse($payment->paid_at)->toDateString()) }}
{!! Form::hidden('currency_code', $payment->currency_code, ['id' => 'currency_code', 'class' => 'form-control', 'required' => 'required']) !!}
{!! Form::hidden('currency_rate', null, ['id' => 'currency_rate']) !!}
@ -73,6 +73,7 @@
</div>
</div>
@endpermission
{{ Form::hidden('type', 'expense') }}
{!! Form::close() !!}
</div>