@extends('layouts.master') @section('css') @endsection @section('title') Stock Entry @endsection @section('content')
@isset($inventoryVoucher)
@method('put') @else @endisset @csrf
@isset($inventoryVoucher) Edit Stock Entry @else Add Stock Entry @endisset
@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
Items
{{--
@if (Auth::user()->company_profile->show_item_code_in_sales) Item Code @endif
Item
@if (Auth::user()->company_profile->enable_batch == 1) Batch @endif
Qty
Unit
Cost
Total
--}}
@isset($destinationInventoryVoucherItems) @if (count($destinationInventoryVoucherItems) > 0) @foreach ($destinationInventoryVoucherItems as $key => $inventoryVoucherItem) @php $key = $key + 1; @endphp
@if (Auth::user()->company_profile->show_item_code_in_sales) @if (Auth::user()->company_profile->show_item_code_in_sales)
@endif @endif
@if (Auth::user()->company_profile->enable_batch == 1)
@endif
@endforeach @endif @endisset
@endsection @section('script') @endsection