app/Http/Controllers/Admin/documentmanagementController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $documentmanagement = DocumentManagement::all();
        $staff = Staff::all();
        $bank =BankAccount::all();
        return view('Admin.EmployeeManagement.DocumentManagement.add', compact('documentmanagement','staff','bank'));
    }
public function create ( ) { $ documentmanagement = DocumentManagement :: all ( ) ; $ staff = Staff :: all ( ) ; $ bank = BankAccount :: all ( ) ; return view ( 'Admin.EmployeeManagement.DocumentManagement.add' , compact ( 'documentmanagement' , 'staff' , 'bank' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .