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

@include('includes.fgs.dc-stock-management')

{{$title}}

@if (Session::get('success'))
{{ Session::get('success') }}
@endif @if (Session::get('error'))
{{ Session::get('error') }}
@endif

@foreach($stock as $stck) @if($stck->quantity > 0) @endif @endforeach
SKU Code Customer Batch Number Qty. UOM Location Mfg. Date Expiry Date Product Type HSN Code
{{ $stck->sku_code }} {{$stck->firm_name}} {{ $stck->batch_no }} {{ $stck->quantity }} Nos {{ $stck->location_name }} {{ date('d-m-Y', strtotime($stck->manufacturing_date)) }} @if($stck->expiry_date == '1970-01-01' || $stck->expiry_date == '0000-00-00' || is_null($stck->expiry_date) || strtotime($stck->expiry_date) === false) NA @else {{ date('d-m-Y', strtotime($stck->expiry_date)) }} @endif {{ $stck->category_name }} {{ $stck->hsn_code }}