@extends('admin.layouts.master') @section('content')
The invoive total does not match the calculated cost of the items
Invoice total: £{{ (float) $totalcost }}
Calculated total: £{{ (float) $cumilativeprice}}
Discrepency: £{{ ($cumilativeprice - $totalcost) }}
The following invoice numbers cannont be found
Order ID | @foreach($notfound as $item)
---|
BW{{ $item['orderno'] }} |
The following invoice numbers have not been exported
Order ID | @foreach($notexported as $item)
---|
BW{{ $item }} |
The following invoice numbers have a price discrepancy
Order ID | BW Calculated Cost | Invoiced Amount | Discrepency | @foreach($wrongprice as $item)
---|---|---|---|
BW{{ $item['orderno'] }} | £{{ $item['bwprice'] }} | £{{ $item['supplierprice'] }} | £{{ number_format(($item['supplierprice']-$item['bwprice']), 2) }} |
The following invoice numbers have already been marked as paid
Order ID | Previous Paid Invoice ID | @foreach($paidorders as $item)
---|---|
BW{{ $item['orderno'] }} | {{ $item['paidinv'] }} |
Continue anyway and mark all as paid?
{!! 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) }} CancelDownload PDF @foreach ($orders as $order) {{ Form::hidden('orderids[]', $order->ID) }} @endforeach {!! Form::close() !!}