app/Http/Controllers/DispatchInstructionController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $dispatchInstruction = DispatchInstruction::all();
		return View::make('dispatchInstruction.index')->with('dispatchInstruction', $dispatchInstruction);
    }
public function index ( ) { $ dispatchInstruction = DispatchInstruction :: all ( ) ; return View :: make ( 'dispatchInstruction.index' ) -> with ( 'dispatchInstruction' , $ dispatchInstruction ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Retrieve all the purchase order // Load the view and pass the retrieved Purchase Order to the view for further processing