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

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

{{ Form::close() }}
@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($total[$key] > 0) {{trans("file.grand total")}}
{{$total[$key]}}
@endif
@endsection @push('scripts') @endpush