Пример #1
0
 function getProductRows()
 {
     $return_array = array();
     if ($this->id != "") {
         $quoteLine = new QuoteLine();
         $return_array = $quoteLine->get_full_list("id", "quoteid='" . $this->id . "'");
     }
     return $return_array;
 }
 /**
  * Remove the specified quote from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     if (!Sentry::getUser()) {
         return Redirect::route('sessions.create');
     }
     QuoteLine::destroy($id);
     return Redirect::back();
 }