@extends('layouts.master') @section('header-title') Supplier Quality - QPRs Charts @endsection @section('content')

QPRs Total Charges Data {{$year}}

Here you can see the charges applied due to QPRs that are not cancelled and are open, only suppliers who had QPRs are displayed.

• Total: Total Charges
• Paid: Charges Paid
• Pend: Charges Pending

@for($i=1; $i<=12; $i++) @endfor @foreach($suppliers as $supp) @foreach($supp->months as $month) @isset ($month->ytd) @else @endisset @endforeach @endforeach {{-- @for($i=1; $i<=12; $i++) @endfor --}}
Supplier January February March April May June July August September October November December YTD
Total Paid PendTotal Paid Pend
{{$supp->name}}{{$month['charges']}} {{$month['paid']}} {{$month['pending']}}{{$month['charges']}} {{$month['paid']}} {{$month['pending']}}
{{$plant_month_charges[$i]}} {{$plant_month_paid[$i]}} {{$plant_month_pending[$i]}}{{$plant_month_charges[13]}} {{$plant_month_paid[13]}} {{$plant_month_pending[13]}}

Chart {{$year}}

@endsection @section('plugin-scripts') @include('scripts.datatablesjs') @endsection @section('app-scripts') @endsection