@extends('layouts.admin') @section('page-title') {{__('POS Vs Purchase')}} @endsection @section('breadcrumb')
| {{__('Type')}} | @foreach($monthList as $month){{$month}} | @endforeach|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{(__('POS'))}} | @foreach($posTotal as $pos){{\Auth::user()->priceFormat($pos)}} | @endforeach|||||||||||
| {{(__('Purchase'))}} | @foreach($purchaseTotal as $purchase){{\Auth::user()->priceFormat($purchase)}} | @endforeach|||||||||||
| {{__('Profit = POS - Purchase')}} | ||||||||||||
{{(__('Profit'))}} |
@foreach($profits as $profit)
{{\Auth::user()->priceFormat(str_replace(",", "", $profit))}} | @endforeach|||||||||||