@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.Production')}}
{{ $data->mill->name }}

#{{ $data->invoice_no }}

{{__('file.Date')}}: {{ date('d-M-Y',strtotime($data->date)) }}
@foreach($data->productionRawProductList as $raw) @endforeach
{{$raw->warehouse->name}} {{$raw->product->product_name}} {{$raw->product->unit->unit_name.'('.$raw->product->unit->unit_code.')'}} {{$raw->qty}} {{$raw->scale}} {{$raw->pro_qty}} {{$raw->use_qty}} {{$raw->use_scale}} {{$raw->use_pro_qty}}
@foreach($data->productionExpenseList as $expense) @endforeach
{{$loop->index + 1}} {{$expense->expenseItem->name}} {{$expense->expense_cost}}
@forelse($data->productionSaleList as $sale) @foreach($sale->productionSaleProductList as $item) @endforeach @empty @endforelse
{{$item->product->product_name}} {{$item->product->category->category_name}} {{$item->product->unit->unit_name.'('.$item->product->unit->unit_code.')'}} {{$item->scale}} {{$item->qty}} {{$item->useWarehouse->name}} {{$item->useProduct->product_name}} {{$item->useProduct->unit->unit_name.'('.$item->useProduct->unit->unit_code.')'}} {{$item->use_qty}}
@foreach($data->productionProductList as $product) @endforeach
{{$product->warehouse->name}} {{$product->product->product_name}} {{$product->product->category->category_name}} {{$product->product->unit->unit_name.'('.$product->product->unit->unit_code.')'}} {{$product->scale}} {{$product->qty}} {{$product->useWarehouse->name}} {{$product->useProduct->product_name}} {{$product->useProduct->unit->unit_name.'('.$product->useProduct->unit->unit_code.')'}} {{$product->use_qty}}

{{ $data->created_by }}
{{ date('d-M-Y h:i:s A',strtotime($data->created_at)) }}

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

@endsection @push('scripts') @endpush