@extends('layouts.adminLayout.admin_design') @section('content')

Ordenes

@if(Session::has('flash_message_error'))
{!! session('flash_message_error') !!}
@endif @if(Session::has('flash_message_success'))
{!! session('flash_message_success') !!}
@endif

Ver Ordenes
@foreach($orders as $order) @endforeach
Id Orden Fecha Pedido Nombre Cliente Correo Electrónico Productos Ordenados Valor Orden Estado Forma de Pago Acciones
{{ $order->id }} {{ $order->created_at }} {{ $order->name }} {{ $order->user_email }} @foreach ($order->orders as $pro) {{ $pro->product_code }} {{ " - "}} ({{ $pro->product_qty }})
@endforeach
{{ $order->grand_total }} {{ $order->order_status }} {{ $order->payment_method }} Ver Detalle

@if (($order->order_status == "Enviada") || ($order->order_status == "Entregada") || ($order->order_status == "Pagada")) Ver Factura

Ver PDF @endif
@endsection