@php
use App\Models\CountryCurrency;
$country_currencies = CountryCurrency::selectRaw('CONCAT(country_name, " - ", code) as concatenated_name,id')
->pluck('concatenated_name', 'id');
@endphp
{!! Form::label('vivape_id', __('Vivape Id')) !!}
{!! Form::text('vivape_id', null, ['class' => 'form-control','placeholder' => 'Vivape Id','required']) !!}
{!! Form::label('validity', __('Validity')) !!}
{!! Form::number('validity', null, ['class' => 'form-control','placeholder' => 'Validity','step'=>'any','required']) !!}
{!! Form::label('validity_type', __('Validity Type')) !!}
{!! Form::text('validity_type', null, ['class' => 'form-control','placeholder' => 'Validity Type','required']) !!}
{!! Form::label('balance', __('Balance')) !!}
{!! Form::number('balance', null, ['class' => 'form-control','placeholder' => 'Balance','step'=>'any','required']) !!}
{!! Form::label('opening_balance', __('Opening Balance')) !!}
{!! Form::number('opening_balance', null, ['class' => 'form-control','placeholder' => 'Opening Balance','step'=>'any','required']) !!}
{!! Form::label('starts_from', __('Starts From')) !!}
{!! Form::date('starts_from', $wallet->starts_from??date('Y-m-d'), ['class' => 'form-control','id'=>'starts_from','required']) !!}
@push('scripts')
@endpush
{!! Form::label('ends_on', __('Ends On')) !!}
{!! Form::date('ends_on', $wallet->ends_on??date('Y-m-d'), ['class' => 'form-control','id'=>'ends_on','required']) !!}
@push('scripts')
@endpush
{!! Form::label('date_of_joining', __('Date Of Joining')) !!}
{!! Form::date('date_of_joining', $wallet->date_of_joining??date('Y-m-d'), ['class' => 'form-control','id'=>'date_of_joining','required']) !!}
@push('scripts')
@endpush
{!! Form::label('user_id', __('User Id')) !!}
{!! Form::select('user_id', $userItems, null, ['class' => 'form-control','placeholder' => 'User Id']) !!}
{!! Form::label('store_id', __('Store Id')) !!}
{!! Form::select('store_id', $storeItems, null, ['class' => 'form-control','placeholder' => 'Store Id']) !!}
{!! Form::label('currency_id', __('Currency Id')) !!}
{!! Form::select('currency_id', $country_currencies, null, ['class' => 'form-control select2m','placeholder' => 'Currency Id']) !!}
{!! Form::label('parent_type_id', __('Parent Type Id')) !!}
{!! Form::select('parent_type_id', $parent_typeItems, null, ['class' => 'form-control','placeholder' => 'Parent Type Id']) !!}
{!! Form::label('parent_category_id', __('Parent Category Id')) !!}
{!! Form::select('parent_category_id', $parent_categoryItems, null, ['class' => 'form-control','placeholder' => 'Parent Category Id']) !!}
{!! Form::label('parent_status_id', __('Parent Status Id')) !!}
{!! Form::select('parent_status_id', $parent_statusItems, null, ['class' => 'form-control','placeholder' => 'Parent Status Id']) !!}
{!! Form::label('referance', __('Referance')) !!}
{!! Form::text('referance', null, ['class' => 'form-control','placeholder' => 'Referance','required']) !!}
{!! Form::label('code', __('Code')) !!}
{!! Form::text('code', null, ['class' => 'form-control','placeholder' => 'Code','required']) !!}
{!! Form::label('title', __('Title')) !!}
{!! Form::text('title', null, ['class' => 'form-control','placeholder' => 'Title','required']) !!}
{!! Form::label('name', __('Name')) !!}
{!! Form::text('name', null, ['class' => 'form-control','placeholder' => 'Name','required']) !!}
{!! Form::label('level', __('Level')) !!}
{!! Form::text('level', null, ['class' => 'form-control','placeholder' => 'Level','required']) !!}
{!! Form::label('index', __('Index')) !!}
{!! Form::text('index', null, ['class' => 'form-control','placeholder' => 'Index','required']) !!}
{!! Form::label('index_min', __('Index Min')) !!}
{!! Form::text('index_min', null, ['class' => 'form-control','placeholder' => 'Index Min','required']) !!}
{!! Form::label('index_max', __('Index Max')) !!}
{!! Form::text('index_max', null, ['class' => 'form-control','placeholder' => 'Index Max','required']) !!}
{!! Form::label('status', __('Status')) !!}
{!! Form::text('status', null, ['class' => 'form-control','placeholder' => 'Status','required']) !!}
{!! Form::label('type', __('Type')) !!}
{!! Form::text('type', null, ['class' => 'form-control','placeholder' => 'Type','required']) !!}
{!! Form::label('category', __('Category')) !!}
{!! Form::text('category', null, ['class' => 'form-control','placeholder' => 'Category','required']) !!}
{!! Form::label('ranking', __('Ranking')) !!}
{!! Form::text('ranking', null, ['class' => 'form-control','placeholder' => 'Ranking','required']) !!}
{!! Form::label('priority', __('Priority')) !!}
{!! Form::text('priority', null, ['class' => 'form-control','placeholder' => 'Priority','required']) !!}
{!! Form::label('details', __('Details')) !!}
{!! Form::textarea('details', null, ['class' => 'form-control','placeholder' => 'Details','rows'=>'2','required']) !!}
{!! Form::label('note', __('Note')) !!}
{!! Form::textarea('note', null, ['class' => 'form-control','placeholder' => 'Note','rows'=>'2','required']) !!}
{!! Form::label('description', __('Description')) !!}
{!! Form::textarea('description', null, ['class' => 'form-control','placeholder' => 'Description','rows'=>'2','required']) !!}
{!! Form::label('paremeters', __('Paremeters')) !!}
{!! Form::textarea('paremeters', null, ['class' => 'form-control','placeholder' => 'Paremeters','rows'=>'2','required']) !!}
@isset($wallet)
@endisset
{!! Form::label('attachment', __('Attachment')) !!}
{!! Form::file('attachment') !!}
{!! Form::label('created_by', __('Created By')) !!}
{!! Form::select('created_by', $userItems, null, ['class' => 'form-control','placeholder' => 'Created By']) !!}
{!! Form::label('updated_by', __('Updated By')) !!}
{!! Form::select('updated_by', $userItems, null, ['class' => 'form-control','placeholder' => 'Updated By']) !!}
{{-- @include('includes.ckeditor') --}}