@extends('master') @section('breadcrumb') @stop @section('content')

Filtrar por estado

Todas {{ $all_orders->count() }} @foreach(Arr::except(order_status(), ['0']) as $orderstatus => $okey) {{ $okey }} {{ $all_orders->where('status', $orderstatus)->count() }} @endforeach
@if(is_null(Auth::user()->shop_id))

Comercios

Todos los restaurantes @foreach($shops as $lshop) {{ $lshop->name }} @endforeach
@endif

Ir a orden

{!! Form::open(['url' => '/order/find']) !!}
{!! Form::text('onumber', null, ['required']) !!}
{!! Form::submit('Buscar', ['class' => 'btn btn-success mtop16']) !!} {!! Form::close() !!}

Lista de ordenes @if($shop != "all")de {{ $ashop->name }}@endif

@foreach($orders as $order) @endforeach
# Comercio Información Repartidor
{{ $order->onumber }} {{ $order->getShop->name }}
{{ order_status($order->status) }} @if($order->status == "1") {{ $order->created_at }} @endif @if($order->status == "2") desde {{ $order->processing_at }} @endif @if($order->status == "3") {{ $order->processing_at }} @endif @if($order->status == "4") desde {{ order_status($order->status) }} {{ $order->processing_at }} @endif @if($order->status == "5") {{ $order->processing_at }} @endif @if(!is_null($order->payment_method)) | {{ getPaymentMethods($order->payment_method) }} @endif
Orden: {{ getOrderType($order->otype) }} @if($order->delivery_man_id != null) {{ $order->getDeliveryMan->name.' '.$order->getDeliveryMan->lastname }} @endif Abrir
{!! $orders->render() !!}
@stop