@extends('admin.layouts.master') @section('content')
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) }}
Order ID | BW Price | BW Cost | Margin | Profit | Assigned To | View Order | @foreach ($orders as $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 }} |