@extends('layouts.app') @section('title', $page_title) @section('content')

{{ $sub_title }}

{{__('file.Back')}}
Logo

{{ config('settings.title') ? config('settings.title') : env('APP_NAME') }}

@if(config('settings.contact_no'))

{{__('file.Contact No')}}.: {{ config('settings.contact_no') }}, @if(config('settings.email')){{__('file.Email')}}: {{ config('settings.email') }}@endif

@endif

{{__('file.Date')}}: {{ date('d-M-Y') }}


{{__('file.Stock')}}

#{{ $products[0]->production->invoice_no }}

#{{ $products[0]->invoice_no }}

{{__('file.Date')}}: {{ date('d-M-Y',strtotime($products[0]->production->date)) }}
@if (!$products->isEmpty()) @foreach ($products as $key => $item) @endforeach @endif
{{__('file.SL')}} {{__('file.Warehouse')}} {{__('file.Product')}} {{__('file.Unit')}} {{__('file.Quantity')}} {{__('file.Scale')}} {{__('file.Production Qty')}}
{{ $key+1 }} {{ $item->warehouse->name }} {{ $item->product->product_name }} {{ $item->product->unit->unit_name.'('.$item->product->unit->unit_code.')' }} {{ $item->qty }} {{ $item->scale }} {{ $item->production_qty }}
@if (!$products->isEmpty()) @foreach ($products as $key => $item) @endforeach @endif
{{__('file.SL')}} {{__('file.Warehouse')}} {{__('file.Product')}} {{__('file.Category')}} {{__('file.Unit')}} {{__('file.Quantity')}}
{{ $key+1 }} {{ $item->useWarehouse->name }} {{ $item->useProduct->product_name }} {{ $item->useProduct->category->category_name }} {{ $item->useProduct->unit->unit_name.'('.$item->useProduct->unit->unit_code.')' }} {{ $item->qty }}
@if (!$products[0]->mergeProductionProductList->isEmpty()) @foreach ($products[0]->mergeProductionProductList as $key => $item) @endforeach @endif
{{__('file.SL')}} {{__('file.Warehouse')}} {{__('file.Product')}} {{__('file.Category')}} {{__('file.Unit')}} {{__('file.Price')}} {{__('file.Quantity')}} {{__('file.Sub Total')}}
{{ $key+1 }} {{ $item->warehouse->name }} {{ $item->product->product_name }} {{ $item->product->category->category_name }} {{ $item->product->unit->unit_name.'('.$item->product->unit->unit_code.')' }} {{ $item->price }} {{ $item->qty }} {{ $item->sub_total }}

{{__('file.Received By')}}

{{ $products[0]->production->created_by }}
{{ date('d-M-Y h:i:s A',strtotime($products[0]->production->created_at)) }}

{{__('file.Generated By')}}

@endsection @push('scripts') @endpush