@extends('layouts.app') @section('title') {{'Requisition Details'}} @endsection @section('content') @include('layouts.numbertowords')
Requisition Details Back to Requisition List

@if ($orders_list[0]->status == 1 && $orders_list[0]->count_status >0 && Auth::user()->parent_id == "0") Order @endif @if ($orders_list[0]->status == 0 && Auth::user()->parent_id == "0") Confirm @endif

@if (Session::has('msg'))
{{ Session::get('msg') }}
@endif
@include('layouts.head')

Local Purchase Requisition



WPL Requisition No : WPL/R-0{{ $orders_list[0]->id }}
Requisition Date : {{date('d-m-Y', strtotime($orders_list[0]->txn_date)) }}
Supplier Name : {{ $orders_list[0]->supplier_id }} - {{ $orders_list[0]->name }}
Contact Person : {{ $orders_list[0]->person_name }}
Address : {{ $orders_list[0]->address }}
Mobile No. : {{ $orders_list[0]->mobile }}
@php $i=0; $torder_quantity = 0; $torder_free = 0; $torder_qty_free = 0; $t_six_month_sales = 0; $t_stock = 0; $grand_total = 0; @endphp @foreach($orders_list as $row) @php $i++; $txn_date = $row->txn_date; $free = $row->free; $total_quantity = $row->quantity * $row->dp_price + $free; $total_price = $row->quantity * $row->dp_price; $stock = $row->product_received - $row->product_sales + $row->product_in - $row->product_out + $row->product_return; $torder_free += $free; $t_stock += $stock; $torder_qty_free += $total_quantity; $grand_total += $total_price; $torder_quantity += $row->quantity; $t_six_month_sales += $row->six_month_sales; $sub_total = $total_price ; @endphp @endforeach
S.L. ID Item Name Unit Present Stock Qty Last 6 Months Consumption Indent Qty Purchase Price Last Purchase Rate Sub Total
{{ $i }} {{ $row->product_id }} {{ $row->product_name }} {{ $row->pack_type }} {{ $stock }} {{ number_format($row->six_month_sales) }} {{ $row->quantity }} {{ number_format($row->dp_price,2) }} {{ number_format($row->last_dp_price,2) }} {{ number_format($sub_total,2) }}
Total = {!! number_format($t_stock) !!} {!! number_format($t_six_month_sales) !!} {!! number_format($torder_quantity) !!} {{ number_format($grand_total,2) }}
IN WORDS : {!! numberTowords($grand_total) !!}
.
For,
.
.
.
Authorized Signatory
@endsection