dbfdg @extends('layouts.admin') @section('page-title') {{__('POS Vs Purchase')}} @endsection @section('breadcrumb') @endsection @push('theme-script') @endpush @push('script-page') @endpush @section('action-btn')
@endsection @section('content')
{{ Form::open(array('route' => array('report.pos.vs.purchase'),'method' => 'GET','id'=>'pos_vs_purchase')) }}
{{ Form::label('year', __('Year'),['class'=>'form-label'])}} {{ Form::select('year',$yearList,isset($_GET['year'])?$_GET['year']:'', array('class' => 'form-control select')) }}
{{ Form::close() }}
{{__('Report')}} :
{{__('POS Vs Purchase')}}
{{__('Duration')}} :
{{$filter['startDateRange'].' to '.$filter['endDateRange']}}
@foreach($monthList as $month) @endforeach @foreach($posTotal as $pos) @endforeach @foreach($purchaseTotal as $purchase) @endforeach @foreach($profits as $profit) @endforeach
{{__('Type')}}{{$month}}
{{(__('POS'))}}{{\Auth::user()->priceFormat($pos)}}
{{(__('Purchase'))}}{{\Auth::user()->priceFormat($purchase)}}
{{__('Profit = POS - Purchase')}}
{{(__('Profit'))}}
{{\Auth::user()->priceFormat(str_replace(",", "", $profit))}}
@endsection