diff --git a/resources/views/expenses/bills/show.blade.php b/resources/views/expenses/bills/show.blade.php index 57b78fd71..9355e93be 100644 --- a/resources/views/expenses/bills/show.blade.php +++ b/resources/views/expenses/bills/show.blade.php @@ -334,7 +334,7 @@ html += ' {!! Form::label('paid_at', trans('general.date'), ['class' => 'control-label']) !!}'; html += '
'; html += '
'; - html += ' {!! Form::text('paid_at', \Date::now()->toDateString(), ['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '']) !!}'; + html += ' {!! Form::text('paid_at', \Date::now()->toDateString(), ['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '', 'autocomplete' => 'off']) !!}'; html += '
'; html += ' '; html += '
'; @@ -391,7 +391,9 @@ $('#paid_at').datepicker({ format: 'yyyy-mm-dd', - autoclose: true + weekStart: 1, + autoclose: true, + language: '{{ language()->getShortCode() }}' }); $("#account_id").select2({ diff --git a/resources/views/incomes/invoices/show.blade.php b/resources/views/incomes/invoices/show.blade.php index a99ff9fb0..f4e0ea9d6 100644 --- a/resources/views/incomes/invoices/show.blade.php +++ b/resources/views/incomes/invoices/show.blade.php @@ -347,7 +347,7 @@ html += ' {!! Form::label('paid_at', trans('general.date'), ['class' => 'control-label']) !!}'; html += '
'; html += '
'; - html += ' {!! Form::text('paid_at', \Carbon\Carbon::now()->toDateString(), ['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '']) !!}'; + html += ' {!! Form::text('paid_at', \Carbon\Carbon::now()->toDateString(), ['id' => 'paid_at', 'class' => 'form-control', 'required' => 'required', 'data-inputmask' => '\'alias\': \'yyyy-mm-dd\'', 'data-mask' => '', 'autocomplete' => 'off']) !!}'; html += '
'; html += '
'; html += '
'; @@ -404,7 +404,9 @@ $('#paid_at').datepicker({ format: 'yyyy-mm-dd', - autoclose: true + weekStart: 1, + autoclose: true, + language: '{{ language()->getShortCode() }}' }); $("#account_id").select2({