@extends('layouts.master') @section('css') @include('admin.stock-items.create-modal-css') @endsection @section('title') Purchase Request @endsection @section('content') @isset($order) @method('put') @else @endisset @csrf @isset($order) Edit Purchase Request @else Add Purchase Request @endisset Order Date Tax Type @isset($order) IntraState InterState (IGST) @else IntraState InterState (IGST) @endisset Party (Cr) Select ledger @isset($order) {{ $order->creditLedger->name }} @endisset Stock Location Choose stock location Remarks {{ isset($order) ? $order->remarks : '' }} Report Go Back Add Items Item Stock MRP Qty Unit Price Price(Inc GST) Gross Value Disc% Taxable Value Tax Total Remarks @isset($orderItems) @php $tabIndex = 0; @endphp @if (count($orderItems) > 0) @foreach ($orderItems as $key => $orderItem) @php $key = $key + 1; @endphp Select item {{ $orderItem->stockItem->name }} --- @foreach ($orderItem->units as $unit) unit_id == $unit->id ? 'selected' : '' }}> {{ $unit->symbol }} @endforeach {{-- unit_id == $orderItem->unit->id ? 'selected' : '') : '' }}> {{ $orderItem->unit->symbol }} --}} @php $tabIndex = $tabIndex + 7; @endphp @endforeach @endif @endisset {{ isset($orderItems) ? $orderItems->sum('total') : '0.00' }} Discount : Freight/Etc : Round Off : {{ isset($order) ? $order->round_off : '0.00' }} Grand Total : {{ isset($order) ? $order->amount : '0.00' }} Add Submit * Stock is based on the base unit of the item {{-- Print Modal --}}