@extends('layouts/default') {{-- Page title --}} @section('title') Invoice @parent @stop {{-- page level styles --}} @section('header_styles') @stop {{-- Page content --}} @section('content')

Production Order

PRODUCTION ORDER PLANNING

Account No: {{$details->account_id}}
Customer Name:
Address:

Telephone No: {{$details->phone}}
PRO.No: {{$details->voucher_no}}
Date: {{date('d-m-Y',strtotime($details->voucher_date))}}
LPO No: {{$details->reference_no}}
Ship To: {{$details->description}}
Payment Terms: {!! $details->terms !!}
@foreach($items as $item) @endforeach
Si.# Item Code Description Unit Qty.
{{$i}} {{$item->item_code}} {{$item->item_name}} {{$item->unit_name}}
Raw Materials @php $rmtotal = $j = 0; @endphp @foreach($rowmaterials[$item->item_id] as $raw) @php $price = $raw->quantity * $item->quantity * $raw->unit_price; $rmtotal += $price; $j++; @endphp @endforeach
Item Code Description Qty. Stock Qty. Balance Qty.
{{$raw->item_code}} {{$raw->description}} {{$raw->quantity*$item->quantity}} {{$raw->cur_quantity}} {{$raw->cur_quantity-($raw->quantity*$item->quantity)}}
@include('layouts.right_sidebar')
@stop {{-- page level scripts --}} @section('footer_scripts') @stop