@extends('layouts.appnew') @section('title') My Travel @endsection @section('navs') {!! Form::select('month_type', ['' => 'Month']+AppHelper::lastMonths(), request()->month_type, ['class' => 'form-control1 mr-2', 'onchange'=>'location.href="?month_type="+this.options[this.selectedIndex].value']) !!} @include ('common.search', ['search_url' => null]) @endsection @section('content') @include('common.flash') @include('common.image_viewer')
@foreach ($totals as $type => $total)
{{ $total['total'] }}
{{ $type }}
@endforeach
@foreach ($travel_bills as $travel_bill) @endforeach
Sno {{ $travel_bill->label('type') }} {{ $travel_bill->label('travel_date') }} {{ $travel_bill->label('amount') }} {{ $travel_bill->label('attachment') }}
{{ $sno++ }} {{ $travel_bill->type }} {{ $travel_bill->travel_date }} {{ $travel_bill->amount }} {{ EasyForm::viewImageFile(null, null, $travel_bill->attachment) }}
@endsection