@extends('layouts.master') @section('style') @stop @section('content') @if (Session::get('success'))
Process Success.
{{ Session::get('success')}}
@endif @if (Session::get('error'))
{{ Session::get('error')}}
@endif

Expense List

@php if($year!=''){ $year = $year; }else{ $year = date('Y'); } if($mn!=''){ $month = $mn; }else{ $month = date('M'); } @endphp

@if(count($expences)>0)
@foreach($expences as $expence) @endforeach
Name Amount Date Description Action
{{$expence->name}} {{$expence->amount}} {{date_format(date_create($expence->date), 'd/m/Y')}} {{$expence->description}}   
@endif

@stop @section('script') @stop