@extends('home') @section('title') @lang('site.site_name') @endsection @section('styles') {!! Html::style(Theme::current()->assetPath.'/pages/css/profile.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css') !!} {!! Html::style(Theme::current()->assetPath.'/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css') !!} {!! Html::style(theme_url('css/bootstrap-datepicker.min.css')) !!} @endsection @section('content') {!! Form::open(array('route' => 'sales.orders','method' => 'POST', 'class' => 'form-inline margin-bottom-0','id' => 'myform')) !!}
{!! __('Invoice') !!} | {!! __('Customer') !!} | {!! __('Total') !!} | {!! __('Region') !!} | {!! __('Date') !!} | |
---|---|---|---|---|---|
{{ $loop->index + $orders->firstItem() }} | {!! $order->order_number !!} | {!! @$order->user->name !!} | {!! $order->delivery+$order->price !!} {!! __('EGP') !!} | {!! @$order->destination->title !!} | {{ $order->created_at->format('Y/m/d - h:i') }} {{ __($order->created_at->format('a')) }} |
{!! number_format($orders->sum('price')) !!} {!! __('EGP') !!} | {!! number_format($orders->sum('delivery')) !!} {!! __('EGP') !!} | {!! number_format($orders->sum('price')+$orders->sum('delivery')) !!} {!! __('EGP') !!} | |||
{!! __('Total invoices') !!} {!! $orders->total() !!} | {!! __('Total sales') !!} {!! number_format($total) !!} {!! __('EGP') !!} |