<table id="example" class="table table-striped table-bordered" style="width:100%">

<thead>
	<tr>
		<th class="align-text-top" width="30%">Title</th>
		<th class="align-text-top text-center ">Total Sale</th>
		<th class="align-text-top text-center ">Quantity</th>
		<th class="align-text-top text-center ">Month</th>
		<th class="align-text-top text-center">Year</th>
	</tr>
</thead>
<tbody>
@if(count($revenue_report) >0)
@foreach($revenue_report as $value)
	
	<tr>
		<td >{{ $value->title }}</td>
		<td class="text-center">{{ number_format($value->totalsale,2) }}</td>
		<td class="text-center">{{ $value->Quantity }}</td>
		<td class="text-center">{{ $value->month }}</td>
		<td class="text-center">{{ $value->year }}</td>
		
	</tr>
@endforeach   
@else
	<tr>
		<td colspan="5" align="center" >No record found</td>
	</tr>

@endif
</tbody>		
</table>	
@if(count($revenue_report) >0)	
<center>{{$revenue_report->appends(request()->input())->links()}}</center>
@endif
