@extends('layouts.site') @section('global_variables') @php // Sprawdzamy zakres uprawnień do danych //$function_id = 20; $function_id = session()->get('function_id'); $get_permision = new my_GetPermission(); $permision_range = $get_permision->my_range($function_id); $permision_functions = $get_permision->my_function_values($function_id); $permision_functions_for_range = $get_permision->my_function_values_for_range($function_id); $active_rekord_id = session()->get('active_record_'.$function_id); $return_to = my_Return('return_to'); $return_to_before = my_Return('return_to_before'); $return_to_after_delete = $return_to_before;//Route::current()->getName(); //Request::getPathInfo(); // dd($permision_range); // dd($permision_functions); // dd($permision_functions_for_range); // val. 1 - wpisy własne // val. 2 - wpisy komórki organizacyjnej // val. 3 - wpisy wszystkie w organizacji @endphp @endsection @php $i = 1; if($users->status == 1 ){ $status = "Aktywny"; }else{ $status = "Zablokowany"; } if($users->rola_admin == 1 ){ $admin = "Tak"; }else{ $admin = "Nie"; } if($users->pracownik_id > 0){ $pracownik_przypisany = "Tak"; }else{ $pracownik_przypisany = "Nie"; } $sw062_role_user_app_count = DB::table('sw062_role_user_app') ->where('user_id',$users->id) ->whereNotNull('rola_id') ->count(); @endphp @section('title','Strona Startowa') @section('content')