Ejemplo n.º 1
0
 public function destroyScope($rfq, $id)
 {
     $scope = QuotationScope::find($id)->delete();
     return Redirect::back()->with('materialMessage', 'Successfully deleted scope')->with('alert-class', 'success');
 }
 public function update_job_order_po_scope()
 {
     $id = Input::get('id');
     $input = Input::all();
     foreach ($input['scopes'] as $key => $value) {
         $record = QuotationScope::find($value['id']);
         $record->scope = $value['scope'];
         $record->save();
     }
     return Redirect::to('production/back')->with('message', 'Job order updated successfully');
 }