@extends('layouts.admin') @section('header-content') @endsection @section('content')
@if(!empty($expense)) @if(count($expense->Images->toarray())>0) @foreach($expense->Images->toarray() as $key=>$value) @else @endif @endforeach @else @endif @endif
Expense Detail @if($expense->payment_type=="Cheque")
{!! csrf_field() !!}
@endif
User @if(isset($expense->user->firstname)){{$expense->user->firstname.' '.$expense->user->lastname}} @endif Expense Type @if(isset($expense->expense->name)){{$expense->expense->name}} @endif
Date {{$expense->date}} Amount {{$expense->amount}}
Saller Name {{$expense->saller_name}} Saller Phone # {{$expense->saller_phone_no}}
Remarks {{$expense->remarks}}
Expense Images
@if(isset($value['image']) && !empty($value['image']))
@endif @if(($key+1)%4==0)
No Images
@endsection