@extends('layouts.main') @section('content')

لیستی کاڵاکان

نوێکردنەوەی وێنەکان {{count($p_problems)}} کێشەی تێدایە {{count($p_notes)}} تێبینی @if($user->role==1) زیادکردنی کاڵا @endif {{-- --}}
@if($settings_product_image==1) @endif {{-- --}} @csrf @foreach($products as $product) stop?'class=row_red':''}}> @if($settings_product_image==1) @endif {{-- ت --}} @endforeach @if($user->role==1) @endif
#
کۆد
وێنە
ناوی کاڵا
براند
دابینکەر
بڕی.ک
نرخی فرۆشتن
نرخی جملە
بڕ @if(@$sort_by_qty == 'desc') @elseif(@$sort_by_qty == 'asc') @else @endif
زیادکراوە لە
نوێکراوە
دابینەکەر
کارەکان
{{$product->id}} {{$product->code}}@if($image != "") @endif{{$product->name}}
{{$product->brand}} @if(@$user->role==1)
@endif
{{$product->supplier}} {{$product->pak_qty}} {{@number_format($product->s_price) }} {{($product->type==1 ?'دانە':'')}} {{@number_format($product->w_price) }} {{-- پێشبینی: {{$product->old_qty - abs($product->qty)}} --}} {!!qty_normalise(App\Helper\Store::qty_multi($product),$product->pak_qty)!!}{{@$product->sell_items_count_selled->total_qty}}{{date("Y-m-d",strtotime($product->created_at))}} @if($product->created_at!=@$product->history_last->created_at) {{@date("Y-m-d",strtotime($product->history_last->created_at))}} @endif
@if($user->role==1) @endif @if($user->role==1) @if($product->stop) @else @endif @endif @if($user->role==1) @endif
{{$products->appends(array('q' => @$_GET['q'],'type' => @$_GET['type'], 'sort_by_qty' => @$_GET['sort_by_qty'], 'sort_by' => @$_GET['sort_by'], 'sort_dir' => @$_GET['sort_dir'], 'supplier'=>@$_GET['supplier']))->links()}}
@endsection