Ignore:
Timestamp:
02/10/24 17:58:54 (11 months ago)
Author:
bube-ristovska <ristovska725@…>
Branches:
main
Children:
92df8cd
Parents:
6dec591
Message:

Bug with embg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Controllers/OfficerController.php

    r6dec591 rd9c4096  
    77use Illuminate\Http\Request;
    88use Illuminate\Support\Facades\DB;
     9use Illuminate\Support\Facades\Session;
    910
    1011class OfficerController extends Controller
     
    1213    function employees()
    1314    {
     15        if(Session::get('pe_id') == null) {
     16            return view('login');
     17        }
    1418        $results = DB::select('select * from policeman join people on policeman.pe_id = people.pe_id;');
    1519        return view('employees', [
Note: See TracChangeset for help on using the changeset viewer.