@extends('layouts.master') @section('css') @endsection @section('title') Physical Stock @endsection @section('content') @isset($inventoryVoucher) @method('put') @else @endisset @csrf @isset($inventoryVoucher) Edit Physical Stock Registration @else Add Physical Stock Registration @endisset @isset($inventoryVoucher) Go Back @endisset Voucher Number @isset($inventoryVoucher) @if (str_contains($inventoryVoucher->voucher_number, '-')) {{ explode('-', $inventoryVoucher->voucher_number)[0] }} @else @endif @else @if ($voucherType->prefix != null) {{ $voucherType->prefix }} @else @endif @endisset Voucher Type Select voucher type Voucher Date Location Choose location @foreach ($stockLocations as $stockLocation) stock_location_id == $stockLocation->id ? 'selected' : '') : '' }}> {{ $stockLocation->name }} @endforeach Remarks {{ isset($inventoryVoucher) ? $inventoryVoucher->remarks : '' }} Note* : Extra consumptions/Buy products are added to be last and Extra consumptions only added after destination items. Items Item Qty Unit Cost @isset($destinationInventoryVoucherItems) @if (count($destinationInventoryVoucherItems) > 0) @foreach ($destinationInventoryVoucherItems as $key => $inventoryVoucherItem) @php $key = $key + 1; @endphp Select item {{ $inventoryVoucherItem->stockItem->name }} unit_id == $inventoryVoucherItem->unit->id ? 'selected' : '') : '' }}> {{ $inventoryVoucherItem->unit->symbol }} @endforeach @endif @endisset Add Submit @endsection @section('script')
Note* : Extra consumptions/Buy products are added to be last and Extra consumptions only added after destination items.