{!! Form::select('department_id', GetDepartments(), null, ["data-placeholder"=>"اختر القسم" ,"class"=>"select2 form-control name-sel" ]) !!}
@if (!isset($item_type))
{{-- {!! Form::select('item_type', getItemTypes(), null, ["data-placeholder"=>"اختر نوع المعاملة" ,"class"=>"select2 form-control name-sel" ]) !!} --}} @if (request()->has('type')) {!! Form::select('item_type', getItemTypes(), request()->get('type'), ["class"=>"select2 form-control name-sel" ]) !!} @else {!! Form::select('item_type', getItemTypes(), null, ["class"=>"select2 form-control name-sel" ]) !!} @endif
@endif
{!! Form::text('title', null, ["class"=>"form-control" ,"placeholder"=>"الموضوع"]) !!}
{!! Form::select('entity_id', GetEntities(), null, ["data-placeholder"=>"اختر الجهه" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::select('periority_id', getPeriorities(), null, ["data-placeholder"=>"اختر درجة الاهميه" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::text('reciept_name', null, ["class"=>"form-control" ,"placeholder"=>"اسم المستلم"]) !!}
{!! Form::select('is_follow', FalseTrue(), null, ["data-placeholder"=>"" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::select('secret_degree', getSecretDegrees(), null, ["data-placeholder"=>"اختر درجة السرية" ,"class"=>"select2 form-control hide-search" ]) !!}
{!! Form::text('secret_no', null, ["class"=>"form-control" ,"placeholder"=>""]) !!}
{!! Form::number('files_count', null, ["class"=>"form-control" ,"placeholder"=>""]) !!}
{!! Form::select('fast_degree', FastDegrees(), null, ["data-placeholder"=>"اختر اعجليه المعامله" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::textarea('description', null, ["class"=>"form-control", 'rows'=>"3" ,"placeholder"=>""]) !!}
{!! Form::textarea('notes', null, ["class"=>"form-control", 'rows'=>"3" ,"placeholder"=>"ادخل الملاحظات"]) !!}
@include('dashboard.items.assignment_section')
الغاء
@if (isset($row))
@endif
@if (isset($row)) @include('dashboard.items.files.table',['rows' => $row->Files()->get()]) @endif

سجل المعاملات

@if (isset($row)) @include('dashboard.items.tables.logs',['rows' => $row->Log()->get()]) @endif

سجل الاحالات

@if (isset($row))
@endif
@if (isset($row)) @include('dashboard.items.assignments.table',['rows' => $row->Assignment()->get()]) @endif

التوجيهات

@if (isset($row))
@endif
@if (isset($row)) @include('dashboard.items.guideline.table',['rows' => $row->GuideLine()->get()]) @endif

التنبيهات

@if (isset($row))
@endif
@if (isset($row)) @include('dashboard.items.reminder.table',['rows' => $row->Reminder()->get()]) @endif

العلاقات

@if (isset($row))
@endif
@if (isset($row)) @include('dashboard.items.related.table',['rows' => \App\Models\Item::whereIn('id',$row->Relation()->pluck('related_id')->toArray())->get()]) @endif