@extends('adminlte::page') @section('title', 'Pedidos - ' . config('app.name') ) @section('content_header')

Pedidos

@stop @section('content')
@include('layouts.errors-and-messages') @if($orders)

Pedidos

{{-- @include('layouts.search', ['route' => route('admin.pedidos.index')]) --}} @foreach ($orders as $order) @endforeach
Número Data Cliente Entrega Total Status
{{ $order->id }} {{ date('M d, Y h:i a', strtotime($order->created_at)) }} {{ $order->customer->name }} @if($order->entrega) Em {{ $order->entrega->data_entrega}}, no período da {{ $order->entrega->horario_entrega }}, Entregar para {{ $order->entrega->entrega_para }}. @if($order->entrega->assinatura !== 'anonimo')
Assinado: {{ $order->entrega->assinatura }} @endif @endif
{{ config('cart.currency_symbol') }} {{ $order->total }}

{{ $order->status->name }}

@endif
@endsection @section('js') @endsection