@extends('metronic.base')
@section('extracss')
@endsection
@section('extrajs')
@endsection
@section('titulo')
Productos - internos
@endsection
@section('content')
@include('sessions')
Productos internos
LOS PRODUCTOS INTERNOS SON DE USO LOCAL, ES DECIR NO SON PRODUCTOS A LA VENTA, Y SON UTILIZADO PARA REALIZAR ORDENES
DE COMPRA
@component('components.table')
@slot('thead')
{{ __('Producto') }} |
{{ __('Categorias') }} |
{{ __('Imagen') }} |
{{ __('Acciones') }} |
{{ __('ID') }} |
@endslot
@slot('tfoot')
|
|
|
|
|
@endslot
@endcomponent
{{-- @if (count($data) > 0)
# |
Producto |
Categorias |
Imagen |
Editar |
Eliminar |
@foreach ($data as $key => $item)
{{ $key + 1 }} |
{{ $item->producto }} |
@foreach ($item->categorias as $categoria)
{{ $categoria->categoria }}
@endforeach
|
@php
$url = 'default.png';
if ($item->imagen != null) {
$url = $item->imagen;
}
@endphp
|
|
|
@endforeach
@else
¡Opps! Parece que no tienes ninguna producto registrado.
@endif --}}
@endsection