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

Production Order

@include('main.print_head')

PRODUCTION ORDER

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}} {{$item->quantity}}
Raw Materials @php $rmtotal = 0; @endphp @foreach($rowmaterials[$item->item_id] as $raw) @php $price = $raw->quantity * $item->quantity * $raw->unit_price; $rmtotal += $price; @endphp @endforeach
Item Code Description Quantity Cost/Unit Total
{{$raw->item_code}} {{$raw->description}} {{$raw->quantity*$item->quantity}} {{number_format($raw->unit_price,2)}} {{number_format($price,2)}}
Total:{{number_format($rmtotal,2)}}
Total Quantity: {{$qtytotal}}
@include('layouts.right_sidebar')
@stop {{-- page level scripts --}} @section('footer_scripts') @stop