@yield('header_styles') @yield('horizontal_header')
@include('main.print_head')
Manufacturing Voucher
Mfg. No: {{$mfgno}}
Date: {{date('d-m-Y',strtotime($details->voucher_date))}}
@foreach($items as $item) @endforeach @php $octotal = 0; @endphp @foreach($ocost as $cost) @php $total += $cost->amount; $octotal += $cost->amount; @endphp @endforeach
SI.# Item Code Description Unit Qty. Unit Price Total
{{$i}} {{$item->item_code}} {{$item->item_name}} {{$item->unit_name}} {{$item->quantity}} {{number_format($uprice,2)}} {{number_format($uprice * $item->quantity,2)}}
Raw Materials @php $rmtotal = 0; @endphp @foreach($rawmat[$item->item_id] as $raw) @php $price = $raw->quantity * $item->quantity * $raw->unit_price; $rmtotal += $price; @endphp @endforeach @php $gtotal += $rmtotal; @endphp
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)}}
Other Costs {{$cost->description}} {{number_format($cost->amount,2)}}

Gross Total:

Other Cost Total:

Net Total:

{{number_format($gtotal,2)}}

{{number_format($octotal,2)}}

{{number_format($gtotal+$octotal,2)}}


Received by:

Approved by:

Prepared by:
{{-- page level scripts --}} @yield('footer_scripts')