{{-- extend layout --}} @extends('layouts.contentLayoutMaster') {{-- page title --}} @section('title','Ordenes de compra') {{-- vendor styles --}} @section('vendor-style') @endsection {{-- page styles --}} @section('page-style') @endsection {{-- page content --}} @section('content')
Filtrar keyboard_arrow_down
{{-- --}} @forelse ($purchaseOrders as $purchase) {{-- --}} @empty @endforelse
Fecha de CreaciónProductosValor Unit Cantidad Proveedor Total Estado Acción
{{ date('d-m-Y H:i a', strtotime($purchase->creationDate)) }}{{ count($purchase->products) }}$ {{number_format($purchase->products[0]->price,0,',','.')}} {{ $purchase->products[0]->amount }} @foreach ($suppliers as $supplier) @if($supplier->uuidKey === $purchase->supplierUuidKey) {{ $supplier->name }} @break @endif @endforeach $ {{number_format($purchase->totalToPay,0,',','.')}} {{ ($purchase->state == 0) ? 'Pendiente' : (($purchase->state == 1) ? 'Cancelada' : 'Entregada') }}
{{ $acum }} pendiente
@endsection {{-- vendor scripts --}} @section('vendor-script') @endsection {{-- page scripts --}} @section('page-script') @endsection