/** * 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'); }
/** * 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'); }