@extends('backend.layout.main') @section('content')
{{ Form::open(['route' => ['report.monthlyPurchaseByWarehouse', $year], 'method' => 'post', 'id' => 'report-form']) }}

{{trans('file.Monthly Purchase Report')}}   

@foreach($total_discount as $key => $discount) @endforeach
{{trans('file.Previous')}} {{$year}} {{trans('file.Next')}}
January February March April May June July August September October November December
@if($discount > 0) {{trans("file.Product Discount")}}
{{$discount}}

@endif @if($order_discount[$key] > 0) {{trans("file.Order Discount")}}
{{$order_discount[$key]}}

@endif @if($total_tax[$key] > 0) {{trans("file.Product Tax")}}
{{$total_tax[$key]}}

@endif @if($order_tax[$key] > 0) {{trans("file.Order Tax")}}
{{$order_tax[$key]}}

@endif @if($shipping_cost[$key] > 0) {{trans("file.Shipping Cost")}}
{{$shipping_cost[$key]}}

@endif @if($grand_total[$key] > 0) {{trans("file.grand total")}}
{{$grand_total[$key]}}
@endif
@endsection @push('scripts') @endpush