@extends('templates.adminlte') @section('content-header')

Inventario

@endsection @section('content')
@foreach ($clientTypes as $clientType) @endforeach @foreach ($products as $item) @foreach ($clientTypes as $clientType) {{-- Format price $x,xxx.xx --}} @endforeach @endforeach
Nombre Stock Price{{ $clientType->name }}Acciones
{{ $item->name }} {{ $item->caliber != '' ? $item->caliber . "''" : '' }}{{ $item->caliber != '' && $item->shots != '' ? 'x' : '' }}{{ $item->shots != '' ? "$item->shots" : '' }} {{ $item->shape}} {{ $item->pivot->quantity }} ${{ number_format($item->pivot->price, 2) }}${{ number_format($item->pivot->price * $clientType->percentage_price, 2) }}
@csrf @method('DELETE')
@endsection