{{-- Filter --}}
ទីតាំងអាជីកម្ម: | {{ App\Models\Branch::getByName($request['branch_id']) }} |
ឃ្លាំង: | {{ $request['warehouse'] == [] ? 'ទាំងអស់' : $request['warehouse']['name'] }} |
ប្រភេទ: | {{ $request['category'] != null ? $request['category']['name'] : '' }} |
ម៉ាក: | {{ $request['brand'] != null ? $request['brand']['name'] : '' }} |
ឯកតា: | {{ $request['unit'] != null ? $request['unit']['name'] : '' }} |
ផលិតផល | SKU | ប្រភេទ | ឃ្លាំង | ស្តុកចូល | ស្តុកចេញ | ស្តុកបច្ចុប្បន្ន | {{--ឃ្លាំង | បើកស្តុក | បញ្ជាទិញ | ការត្រលប់ការទិញ | ផ្ទេរឃ្លាំងចូល | ផ្ទេរឃ្លាំងចេញ | កែស្តុកចូល | កែស្តុកចេញ | កែឯកតាចូល | កែឯកតាចេញ | ការលក់ | ការត្រលប់ការលក់ | ស្តុកបច្ចុប្បន្ន | --}}
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $item->name }} | {{ $item->stock_history[0]->sku }} | {{ $item->stock_history[0]->category_name }} | {{ $item->stock_history[0]->warehouse }} | {{ $item->stock_history[0]->stock_in }} | {{ $item->stock_history[0]->stock_out }} | {{ $item->stock_history[0]->current_stock }} | {{--
@foreach ($item->stock_history as $obj)
{{ $obj->warehouse }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->open_stock }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->purchase_order }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->purchase_return }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->transfer_warehouse_in }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->transfer_warehouse_out }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->adjust_stock_in }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->adjust_stock_out }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->unit_transfer_in }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->unit_transfer_out }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->sale }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->sale_return }}
@endforeach |
@foreach ($item->stock_history as $obj)
{{ $obj->current_stock }}
@endforeach | --}}