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

{{__('db.Monthly Sale Report')}}   

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

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

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

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

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

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