@extends('operations.layout.mainlayout') @section('content')

Account Manager Sales Forecast

Account Manager Performance

TOTAL TARGET {{ number_format($totals['target'], 0) }}
TOTAL SALES {{ number_format($totals['sales'], 0) }}
TOTAL FORECAST {{ number_format($totals['forecast'], 0) }}
TOTAL BALANCE {{ number_format($totals['balance'], 0) }}
Total Cost {{ number_format($totals['cost_price'], 0)}}
P&L {{ number_format($totals['sales']-$totals['cost_price'], 0) }}
@foreach($data as $row) @endforeach
Account Manager Target Amount Sales Amount Client Count Cost Price P&L Forecast Amount Balance Amount
{{ $row['username'] }} {{ number_format($row['target_amount'], 0) }} {{ number_format($row['sales_amount'], 0) }} {{ number_format($row['patient_count'], 0) }} {{ number_format($row['cost_price'], 0) }} {{ number_format($row['sales_amount']-$row['cost_price'], 0) }} {{ number_format($row['forecast_amount'], 0) }} {{ number_format($row['balance_amount'], 0) }}
Total {{ number_format($totals['target'], 0) }} {{ number_format($totals['sales'], 0) }} {{ number_format($totals['patients'], 0) }} {{ number_format($totals['cost_price'], 0) }} {{ number_format($totals['sales']-$totals['cost_price'], 0) }} {{ number_format($totals['forecast'], 0) }} {{ number_format($totals['balance'], 0) }}
@endsection @section('footer-scripts') @endsection