@extends('layout.layout') @section('content')
Cate produse sunt in stoc: @if($countOfProducts[2]->total == 0) 0 @else {{ $countOfProducts[2]->total }} @endif
Cate produse lipsesc din stoc: @if($countOfProducts[0]->total == 0) 0 @else {{ $countOfProducts[0]->total }} @endif
Cate produse sunt in plus in stoc: @if($countOfProducts[3]->total == 0) 0 @else {{ $countOfProducts[3]->total }} @endif
Cate produse figureaza ca fiind vandute: @if($countOfProducts[1]->total == 0) 0 @else {{ $countOfProducts[1]->total }} @endif
Deschis la data de: {{ date('Y-m-d', strtotime($forAgencies[0]->inv_created_at)) }}
| Nr.crt | Tip | Inventar | Deschis la | Cod articol | Cod bare | Nume | Titlu | Greutate(g) | Situatie initiala | @if((Auth::user()->branch_id == 9000 || Auth::user()->isAsm == 1) && ($forAgencies[0] != null && $forAgencies[0]->g_active == 0))Situatia initiala actualizata conf ultima revizie | Diferenta reala | Explicatie | Vezi toate reviziile | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ ($forAgencies->firstItem() + $key) }} | {{ $elem->e_type }} | {{ $elem->branch_name }}-{{ $elem->g_type }} | {{ date('Y-m-d', strtotime($elem->g_created_at)) }} | @if(Auth::user()->branch_id != 9000 && $elem->g_active == 2 && $elem->quantity != 0)- @else {{ $elem->e_cod }} @endif | @if(Auth::user()->branch_id != 9000 && $elem->g_active == 2 && $elem->quantity != 0)- @else {{ $elem->e_cod_bare }} @endif | {{ $elem->name }} | {{ $elem->titlu }} | {{ round($elem->greutate,2) }} | @if($elem->quantity == -1) @elseif($elem->quantity == 0) @elseif($elem->quantity == 1) @elseif($elem->quantity == -99) Produs vandut @endif | @if((Auth::user()->branch_id == 9000 || Auth::user()->isAsm == 1) && ($forAgencies[0] != null && $forAgencies[0]->g_active == 0))@if($elem->diferenta_reala == -1 && $elem->diferenta_reala != null) @elseif($elem->diferenta_reala == 0 && $elem->diferenta_reala != null) @elseif($elem->diferenta_reala == 1 && $elem->diferenta_reala != null) @elseif($elem->diferenta_reala == -99 && $elem->diferenta_reala != null) Produs vandut @endif | @if($elem->quantity != 0 && $elem->quantity != -99) @else - @endif | @if($elem->quantity != 0 && $elem->quantity != -99){{ $elem->explicatie }} @else - @endif | @if($elem->quantity != 0 && $elem->quantity != -99) | @else - @endif