@extends('metronic.base') @section('extracss') @endsection @section('extrajs') @endsection @section('titulo') Productos - proveedor @endsection @section('content') @include('sessions')

Productos por proveedor

Agregar producto a un proveedor
@component('components.table') @slot('thead') {{ __('Codigo') }} {{ __('Producto') }} {{ __('Proveedores') }} {{ __('Imagen') }} {{ __('Editar') }} {{ __('ID') }} @endslot @slot('tfoot') @endslot @endcomponent {{-- @if (count($data) > 0) @foreach ($data as $key => $item) @php $url = 'default.png'; if ($item->productoVenta->imagen != null) { $url = $item->productoVenta->imagen; } @endphp @endforeach
# Producto Codigo Proveedores Imagen Editar
{{ $key + 1 }} {{ $item->productoVenta->producto }} {{ $item->productoVenta->codigo }} @foreach ($item->proveedores($item->productoVenta->id) as $pro) {{ $pro->proveedor->nombreProveedor }} @endforeach
@else
¡Opps! Parece que no tienes ninguna producto registrado.
@endif --}} @endsection