@if (!isset($item_type))
{!! Form::select('item_type', getItemTypes(), null, ["data-placeholder"=>"اختر نوع المعاملة" ,"class"=>"select2 form-control name-sel" ]) !!}
@endif
@if (isset($item_type))
@else
@endif

بيانات المعاملة

{{--
--}}
{!! Form::select('department_id', GetDepartments(), null, ["data-placeholder"=>"اختر القسم" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::select('entity_id', GetEntities(), null, ["data-placeholder"=>"اختر الجهه" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::select('client_id', GetClients(), null, ["data-placeholder"=>"اختر العميل" ,"class"=>"select2 form-control name-sel"]) !!}
{!! Form::select('importer_id', GetImporters(), null, ["data-placeholder"=>"اختر المورد" ,"class"=>"select2 form-control name-sel"]) !!}
{!! Form::select('periority_id', getPeriorities(), null, ["data-placeholder"=>"اختر درجة الاهميه" ,"class"=>"select2 form-control name-sel" ]) !!}
{!! Form::select('secret_degree', getSecretDegrees(), null, ["data-placeholder"=>"اختر درجة السرية" ,"class"=>"select2 form-control name-sel" ]) !!}
is_follow == '1')? 'checked' : '' !!} class="custom-control-input pdf-up-check" id="customCheck18">
is_notify == '1')? 'checked' : '' !!} class="custom-control-input pdf-up-check" id="customCheck151">
{{--
--}}

المرفقات

@if (isset($row))
@endif
@if (isset($row)) @include('dashboard.items.files.table',['rows' => $row->Files()->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

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

@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
{!! Form::text('title', null, ["class"=>"form-control" ,"placeholder"=>"الموضوع"]) !!}
{!! Form::textarea('description', null, ["class"=>"form-control", 'rows'=>"3" ,"placeholder"=>"الوصف"]) !!}
{!! Form::select('current_emp_id', getUsers(), null, ["data-placeholder"=>" الموظف" ,"class"=>"select2 form-control name-sel" ]) !!}
@if (isset($row))
{!! Form::select('type', getItemTypes(), null, ["data-placeholder"=>"اختر نوع المعاملة" ,"class"=>"select2 form-control name-sel" ,"disabled"=>""]) !!}
@endif
{!! Form::textarea('notes', null, ["class"=>"form-control", 'rows'=>"3" ,"placeholder"=>"ادخل الملاحظات"]) !!}