@extends('layout.layout') @section('content')
@if($forAgencies[0] != null && $forAgencies[0]->g_active == 2) @endif @if($forAgencies[0] != null)
@if(Auth::user()->branch_id == 9000 || Auth::user()->isAsm == 1)
@endif @if((Auth::user()->branch_id == 9000 && $forAgencies[0]['g_active'] == 0) || (Auth::user()->isAsm == 1 && $forAgencies[0]['g_active'] == 0))
@csrf
@csrf
@endif

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

@if ($errors->any()) @foreach ($errors->all() as $error) @endforeach @endif
{{ $forAgencies[0]->branch_name }} - {{ $forAgencies[0]->g_type }}

Deschis la data de: {{ date('Y-m-d', strtotime($forAgencies[0]->inv_created_at)) }}

{{ $forAgencies->appends($_GET)->links() }}
@if((Auth::user()->branch_id == 9000 || Auth::user()->isAsm == 1) && ($forAgencies[0] != null && $forAgencies[0]->g_active == 0)) @endif @foreach ($forAgencies->unique('id') as $key => $elem) @if((Auth::user()->branch_id == 9000 || Auth::user()->isAsm == 1) && ($forAgencies[0] != null && $forAgencies[0]->g_active == 0)) @else - @endif @endif @endforeach
Nr.crt Tip Inventar Deschis la Cod articol Cod bare Nume Titlu Greutate(g) Situatie initialaSituatia initiala actualizata conf ultima revizie Diferenta reala Explicatie Vezi toate reviziile
{{ ($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($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

Filtru adaugat de dumneavoastra nu corespunde inregistrarilor noastre.Produse cu filtru adaugat nu exista !

Mergi inapoi
@endif
@push('js') @endpush @endsection