@extends('admin.layouts.master') @section('content')
{{ trans('quickadmin::templates.templates-customView_index-list') }}

The following orders have been checked and validated. Please continue with payment of invoice {{ $ecoInvoiceNo }}.

{!! Form::open(array('files' => true, 'route' => config('quickadmin.route').'.suppliermarkpaid', 'id' => 'form-with-validation', 'class' => 'form-horizontal')) !!} {!! Form::submit( 'Mark all as Paid', array('class' => 'btn btn-primary')) !!} {{ Form::hidden('SupplierInvNo', $ecoInvoiceNo) }}

The invoice total are as follows
Invoice total: £{{ (float) $totalcost }}
Calculated total: £{{ (float) $cumilativeprice}}
Discrepency: £{{ number_format($cumilativeprice - $totalcost, 2) }}

@foreach ($orders as $order)
Notice: Undefined variable: order in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/supplierreconciling/confirm.blade.php on line 35

Notice: Trying to get property 'meta' of non-object in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/supplierreconciling/confirm.blade.php on line 35

Notice: Trying to get property '_order_total' of non-object in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/supplierreconciling/confirm.blade.php on line 35

Notice: Undefined variable: order in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/supplierreconciling/confirm.blade.php on line 36

Notice: Trying to get property 'meta' of non-object in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/supplierreconciling/confirm.blade.php on line 36

Notice: Trying to get property '_supplier_price' of non-object in /home/admin2bannerworl/public_html/admin2.bannerworld.co.uk/resources/views/admin/supplierreconciling/confirm.blade.php on line 36
@endforeach
Order ID BW Price BW Cost Margin Profit Assigned To View Order
{{ $order->ID }} {{ Form::hidden('orderids[]', $order->ID) }} £{{ $order->meta->_order_total }} £{{ $order->meta->_supplier_price }} 0% £{{ ( $saleprice - $cost) }} {{ $order->meta->assigned_to }} {{ $order->meta->assigned_to }}
{!! Form::close() !!}
@endsection