app/Http/Controllers/Admin/paycalendarController.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()
    {
        $paycalendar = PayCalendar::all();
        $staff = Staff::all();
        return view('Admin.Payroll.PayCalendar.add',compact('paycalendar','staff'));
    }
public function create ( ) { $ paycalendar = PayCalendar :: all ( ) ; $ staff = Staff :: all ( ) ; return view ( 'Admin.Payroll.PayCalendar.add' , compact ( 'paycalendar' , 'staff' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .