コード例 #1
0
 /**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update(EditFiscalRegimenRequest $request, $id)
 {
     $currency = Currency::findOrFail($id);
     $currency->fill($request->all());
     $currency->save();
     return redirect()->route('settings.currency.index');
 }
コード例 #2
0
 /**
  * Update the specified resource in storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function update(EditFiscalRegimenRequest $request, $id)
 {
     $fiscal = FiscalRegimen::findOrFail($id);
     $fiscal->fill($request->all());
     $fiscal->save();
     return redirect()->route('settings.fiscalRegimen.index');
 }