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

Stock Opening

@if(isset($warehouse_id)) @if(isset($no_items) && $no_items)

No items found for the selected warehouse. Register All Items for this Warehouse

@csrf
@else
@csrf @php $serial = 1; @endphp @foreach($items->unique('item.id') as $item) @endforeach
SL Item Name
{{ $serial++ }} {{ $item->item->name }} @if($item->item->variations->isNotEmpty()) @foreach($item->item->variations as $variation) @endforeach
SKU Attributes Quantity Rate(cost) Amount(cost)
{{ $variation->sku }} @foreach($variation->variationAttributes as $attribute) {{ $attribute->attributeValue->value }}@if(!$loop->last), @endif @endforeach
@else
SKU Quantity Rate(cost) Amount(cost)
{{ $item->item->unique_code }}
@endif
@endif @endif
@endsection