@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') @endsection @section('content') {!! Form::open(array('route' => 'sales.orders','method' => 'POST', 'class' => 'form-inline margin-bottom-0','id' => 'myform')) !!}
@if (count($orders) > 0){!! __('Invoice') !!} | {!! __('Customer') !!} | {!! __('Region') !!} | {!! __('Date of request') !!} | {!! __('Total') !!} | |
---|---|---|---|---|---|
{{ $loop->index + 1 }} | {!! $order->order_number !!} | {!! @$order->user->name !!} | {!! @Optional($order->destination)->title !!} | {{ $order->created_at->format('Y-m-d') }} | {!! $order->delivery+$order->price !!} {!! __('EGP') !!} |
{!! __('Total invoices') !!} | {!! number_format($orders->sum('price')+$orders->sum('delivery')) !!} {!! __('EGP') !!} |
{!! __('No Results') !!}