app/Http/Controllers/Admin/enquiryController.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()
    {
        $enquiry = Enquiry::all();
        $enquirycategory = EnquiryCategory::all();
        $enquirysource = EnquirySource::all();
        $customer = Customer::all();
        return view('Admin.Enquiry.Enquiry.add',compact('enquiry','enquirycategory','enquirysource','customer'));
    }
public function create ( ) { $ enquiry = Enquiry :: all ( ) ; $ enquirycategory = EnquiryCategory :: all ( ) ; $ enquirysource = EnquirySource :: all ( ) ; $ customer = Customer :: all ( ) ; return view ( 'Admin.Enquiry.Enquiry.add' , compact ( 'enquiry' , 'enquirycategory' , 'enquirysource' , 'customer' ) ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .