@extends ('layouts.app') @section ('content')
@include('partials.messages')
Product
POS link
Actual Amount
Theoretical Amount
@foreach($products as $product)
  • {{ isset($product->info->title) ? $product->info->title : '' }} {{ isset($product->info->mass_volume) ? $product->info->mass_volume : '(fix this product) ('. $product->id .' Remove it and add it again)' }} {{ isset($product->info->mass_volume_type->title) ? $product->info->mass_volume_type->title : '' }}
    {{ $product->pos_link }}
    {{ $total }} ({{$product->info->unit->title}}) / ({{$whole}}.{{$decimal}})
    {{ $totaltheo }} ({{$product->info->unit->title}}) / ({{$whole_1}}.{{$decimal_1}})
    @if(isset($totaldiff) && $totaldiff > 0) {{ $totaldiff }} ({{$product->info->unit->title}}) / ({{$whole_2}}.{{$decimal_2}}) @else 0 @endif
    @if(isset($totaldiff) && $totaldiff > 0) {{ number_format( ($totaldiff / $product->info->units) , 2 , '.', '') }} @else 0 @endif
  • @endforeach
    {{ $products->links() }}
    Showing {{ ($items > $products->total()) ? $products->total() : $items }} out of {{ $products->total() }} entries
    @include('modals._deactivate') @stop