@extends('layouts.default') @section('header-links') @include('accounts.reports.management.selector') @endsection @section('title', isset($title)?$title:'') @section('content')
{!! Form::open(['method' => 'POST', 'url' => '/reports/management/invoioce-payment', 'class' => 'form-horizontal', 'id'=>'form1']) !!}
{!! Form::label('year', 'Select Year', ['class' => 'col-sm-3 control-label']) !!}
{!! Form::selectYear('year', date('Y') - 6,date('Y'),$year, ['class' => 'selectpicker', 'required' => 'required', 'onchange'=>'formSubmit();','data-live-search'=>'true', 'style'=>'width: 100%;']) !!} {{ $errors->first('year') }}
{!! Form::close() !!}
@php $months = config('custom_config.months_names'); @endphp @foreach($months as $month) @endforeach @foreach($months as $month) @endforeach @foreach($invoices as $invoice) @foreach($months as $k=> $month) @if($k == Date::parse($invoice->due_at)->format("n")) {{-- --}} @else @endif @endforeach @endforeach
Consultant Name{{ $month .' - '. $year }}
Date Invoice Amount
{{ $invoice->customer_name }} {{ Date::parse($invoice->due_at)->format($date_format) }} {{ $invoice->invoice_number }} @money($invoice->amount,'USD',true) {{ Date::parse($invoice->due_at)->format($date_format) }} {{ $invoice->invoice_number }} @money($invoice->amount,'USD',true)-
@push('scripts') @endpush @endsection