@extends('admin.layouts.master') @section('content') {!! Form::open(array('files' => true, 'route' => config('quickadmin.route').'.supplierupload', 'id' => 'form-with-validation', 'class' => 'form-vertical')) !!}
[x] | Order Date | Order ID | BW Price | BW Cost | Margin | Profit | Paid | Assigned To | View Order | @foreach ($orders as $order)
---|---|---|---|---|---|---|---|---|---|
{{ $date->format('d-m-Y H:i') }} | {{ $order->ID }} | £{{ $saleprice }} | £{{ $order->meta->_supplier_price }} | {{ number_format((float) $margin, 1) }}% | £{{ ( $saleprice - $cost) }} | @if(isset($order->meta->_supplier_paid )) {{ $order->meta->_supplier_paid }} @endif | {{ $order->meta->assigned_to }} | {!! link_to_route(config('quickadmin.route').'.orders.view', 'View', array($order->ID), array('class' => 'btn btn-xs')) !!} |