app/Http/Controllers/FrontFinanceiroController.php
/**
     * Remove the specified resource from storage.
     *
     * @param  int  $id
     * @return \Illuminate\Http\RedirectResponse
     */
Remove the specified resource from storage.
@param  int  $id
@return \Illuminate\Http\RedirectResponse
Remove the specified resource from storage . @param int $id @return \ Illuminate \ Http \ RedirectResponse
public function destroy($id)
    {
        $fatura = FinanceiroModel::findOrFail($id);
        $tm = $fatura->id_aluno;
        $fatura->delete();
        flash('Fatura Excluida com Sucesso');
        return redirect()->route('financeiro.show', $tm);
    }
public function destroy ( $ id ) { $ fatura = FinanceiroModel :: findOrFail ( $ id ) ; $ tm = $ fatura -> id_aluno ; $ fatura -> delete ( ) ; flash ( 'Fatura Excluida com Sucesso' ) ; return redirect ( ) -> route ( 'financeiro.show' , $ tm ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .